Home
last modified time | relevance | path

Searched refs:bh1 (Results 1 – 13 of 13) sorted by relevance

/linux/fs/qnx6/
A Dsuper_mmi.c38 struct buffer_head *bh1, *bh2 = NULL; in qnx6_mmi_fill_super() local
46 bh1 = sb_bread(s, 0); in qnx6_mmi_fill_super()
47 if (!bh1) { in qnx6_mmi_fill_super()
51 sb1 = (struct qnx6_mmi_super_block *)bh1->b_data; in qnx6_mmi_fill_super()
77 brelse(bh1); in qnx6_mmi_fill_super()
78 bh1 = sb_bread(s, 0); in qnx6_mmi_fill_super()
79 if (!bh1) in qnx6_mmi_fill_super()
118 sbi->sb_buf = bh1; in qnx6_mmi_fill_super()
132 brelse(bh1); in qnx6_mmi_fill_super()
144 if (bh1 != NULL) in qnx6_mmi_fill_super()
[all …]
A Dinode.c298 struct buffer_head *bh1 = NULL, *bh2 = NULL; in qnx6_fill_super() local
335 bh1 = qnx6_check_first_superblock(s, in qnx6_fill_super()
337 if (!bh1) { in qnx6_fill_super()
340 if (!bh1) { in qnx6_fill_super()
347 sb1 = (struct qnx6_super_block *)bh1->b_data; in qnx6_fill_super()
366 brelse(bh1); in qnx6_fill_super()
368 if (!bh1) in qnx6_fill_super()
404 sbi->sb_buf = bh1; in qnx6_fill_super()
412 brelse(bh1); in qnx6_fill_super()
473 if (bh1) in qnx6_fill_super()
[all …]
/linux/fs/sysv/
A Dsuper.c50 struct buffer_head *bh1 = sbi->s_bh1; in detected_xenix() local
55 if (bh1 != bh2) in detected_xenix()
82 struct buffer_head *bh1 = sbi->s_bh1; in detected_sysv4() local
85 if (bh1 == bh2) in detected_sysv4()
110 struct buffer_head *bh1 = sbi->s_bh1; in detected_sysv2() local
113 if (bh1 == bh2) in detected_sysv2()
391 bh1 = sb_bread(sb, blocknr); in sysv_fill_super()
395 bh1 = bh; in sysv_fill_super()
407 if (bh && bh1) { in sysv_fill_super()
408 sbi->s_bh1 = bh1; in sysv_fill_super()
[all …]
/linux/fs/hpfs/
A Danode.c68 struct buffer_head *bh, *bh1, *bh2; in hpfs_add_sector_to_btree() local
126 if (!(anode = hpfs_alloc_anode(s, a, &na, &bh1))) { in hpfs_add_sector_to_btree()
147 brelse(bh1); in hpfs_add_sector_to_btree()
153 bh = bh1; in hpfs_add_sector_to_btree()
247 if ((unode = hpfs_map_anode(s, le32_to_cpu(ranode->u.internal[n].down), &bh1))) { in hpfs_add_sector_to_btree()
250 mark_buffer_dirty(bh1); in hpfs_add_sector_to_btree()
251 brelse(bh1); in hpfs_add_sector_to_btree()
A Dea.c321 struct buffer_head *bh1, *bh2; in hpfs_set_ea() local
323 if (!(b1 = hpfs_map_sector(s, le32_to_cpu(fnode->ea_secno) + i, &bh1, len - i - 1))) { in hpfs_set_ea()
328 brelse(bh1); in hpfs_set_ea()
333 brelse(bh1); in hpfs_set_ea()
A Dsuper.c539 struct buffer_head *bh0, *bh1, *bh2; in hpfs_fill_super() local
590 if (!(superblock = hpfs_map_sector(s, 16, &bh1, 1))) goto bail2; in hpfs_fill_super()
705 brelse(bh1); in hpfs_fill_super()
746 bail3: brelse(bh1); in hpfs_fill_super()
/linux/tools/testing/selftests/net/
A Dtoeplitz.c223 if (!(block->hdr.bh1.block_status & TP_STATUS_USER)) in recv_block()
227 frame += block->hdr.bh1.offset_to_first_pkt; in recv_block()
229 for (i = 0; i < block->hdr.bh1.num_pkts; i++) { in recv_block()
234 block->hdr.bh1.block_status = TP_STATUS_KERNEL; in recv_block()
/linux/fs/ocfs2/
A Drefcounttree.h116 struct buffer_head **bh1,
A Dnamei.c86 struct buffer_head **bh1,
1111 struct buffer_head **bh1, in ocfs2_double_lock() argument
1125 if (*bh1) in ocfs2_double_lock()
1126 *bh1 = NULL; in ocfs2_double_lock()
1151 swap(bh2, bh1); in ocfs2_double_lock()
1165 status = ocfs2_inode_lock_nested(inode1, bh1, 1, in ocfs2_double_lock()
A Drefcounttree.c4722 struct buffer_head *bh1 = NULL; in ocfs2_reflink_inodes_lock() local
4758 status = ocfs2_inode_lock_nested(inode1, &bh1, 1, in ocfs2_reflink_inodes_lock()
4776 bh2 = bh1; in ocfs2_reflink_inodes_lock()
4784 swap(bh1, bh2); in ocfs2_reflink_inodes_lock()
4785 *bh_s = bh1; in ocfs2_reflink_inodes_lock()
4796 brelse(bh1); in ocfs2_reflink_inodes_lock()
/linux/include/uapi/linux/
A Dif_packet.h240 struct tpacket_hdr_v1 bh1; member
/linux/fs/ntfs3/
A Dfsntfs.c847 struct buffer_head *bh1, *bh2; in ntfs_update_mftmirr() local
849 bh1 = sb_bread(sb, block1++); in ntfs_update_mftmirr()
850 if (!bh1) { in ntfs_update_mftmirr()
857 put_bh(bh1); in ntfs_update_mftmirr()
866 memcpy(bh2->b_data, bh1->b_data, blocksize); in ntfs_update_mftmirr()
871 put_bh(bh1); in ntfs_update_mftmirr()
872 bh1 = NULL; in ntfs_update_mftmirr()
/linux/net/packet/
A Daf_packet.c182 #define BLOCK_STATUS(x) ((x)->hdr.bh1.block_status)
183 #define BLOCK_NUM_PKTS(x) ((x)->hdr.bh1.num_pkts)
184 #define BLOCK_O2FP(x) ((x)->hdr.bh1.offset_to_first_pkt)
185 #define BLOCK_LEN(x) ((x)->hdr.bh1.blk_len)
186 #define BLOCK_SNUM(x) ((x)->hdr.bh1.seq_num)
801 struct tpacket_hdr_v1 *h1 = &pbd1->hdr.bh1; in prb_close_block()
852 struct tpacket_hdr_v1 *h1 = &pbd1->hdr.bh1; in prb_open_block()

Completed in 46 milliseconds