Home
last modified time | relevance | path

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

/linux/fs/qnx6/
H 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()
62 crc32_be(0, (char *)(bh1->b_data + 8), 504)) { 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()
81 sb1 = (struct qnx6_mmi_super_block *)bh1->b_data; in qnx6_mmi_fill_super()
116 memcpy(bh1 in qnx6_mmi_fill_super()
[all...]
H A Dinode.c293 struct buffer_head *bh1 = NULL, *bh2 = NULL; in qnx6_fill_super() local
328 bh1 = qnx6_check_first_superblock(s, in qnx6_fill_super()
330 if (!bh1) { in qnx6_fill_super()
332 bh1 = qnx6_check_first_superblock(s, 0, silent); in qnx6_fill_super()
333 if (!bh1) { in qnx6_fill_super()
340 sb1 = (struct qnx6_super_block *)bh1->b_data; in qnx6_fill_super()
348 crc32_be(0, (char *)(bh1->b_data + 8), 504)) { in qnx6_fill_super()
359 brelse(bh1); in qnx6_fill_super()
360 bh1 = sb_bread(s, bootblock_offset >> s->s_blocksize_bits); in qnx6_fill_super()
361 if (!bh1) in qnx6_fill_super()
[all...]
/linux/fs/hpfs/
H 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()
H 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()
H A Dsuper.c507 struct buffer_head *bh0, *bh1, *bh2; in hpfs_fill_super() local
532 if (!(superblock = hpfs_map_sector(s, 16, &bh1, 1))) goto bail2; in hpfs_fill_super()
647 brelse(bh1); in hpfs_fill_super()
691 bail3: brelse(bh1); in hpfs_fill_super()
/linux/tools/testing/selftests/net/
H A Dtoeplitz.c225 if (!(block->hdr.bh1.block_status & TP_STATUS_USER)) in recv_block()
229 frame += block->hdr.bh1.offset_to_first_pkt; in recv_block()
231 for (i = 0; i < block->hdr.bh1.num_pkts; i++) { in recv_block()
236 block->hdr.bh1.block_status = TP_STATUS_KERNEL; in recv_block()
/linux/fs/ocfs2/
H A Drefcounttree.h116 struct buffer_head **bh1,
H A Dnamei.c86 struct buffer_head **bh1,
1115 struct buffer_head **bh1, in ocfs2_double_lock() argument
1129 if (*bh1) in ocfs2_double_lock()
1130 *bh1 = NULL; in ocfs2_double_lock()
1155 swap(bh2, bh1); in ocfs2_double_lock()
1169 status = ocfs2_inode_lock_nested(inode1, bh1, 1, in ocfs2_double_lock()
/linux/fs/ntfs3/
H A Dfsntfs.c866 struct buffer_head *bh1, *bh2; in ntfs_update_mftmirr() local
868 bh1 = sb_bread(sb, block1++); in ntfs_update_mftmirr()
869 if (!bh1) in ntfs_update_mftmirr()
874 put_bh(bh1); in ntfs_update_mftmirr()
882 memcpy(bh2->b_data, bh1->b_data, blocksize); in ntfs_update_mftmirr()
887 put_bh(bh1); in ntfs_update_mftmirr()
888 bh1 = NULL; in ntfs_update_mftmirr()
/linux/net/packet/
H A Daf_packet.c183 #define BLOCK_STATUS(x) ((x)->hdr.bh1.block_status)
184 #define BLOCK_NUM_PKTS(x) ((x)->hdr.bh1.num_pkts)
185 #define BLOCK_O2FP(x) ((x)->hdr.bh1.offset_to_first_pkt)
186 #define BLOCK_LEN(x) ((x)->hdr.bh1.blk_len)
187 #define BLOCK_SNUM(x) ((x)->hdr.bh1.seq_num)
845 struct tpacket_hdr_v1 *h1 = &pbd1->hdr.bh1; in prb_close_block()
896 struct tpacket_hdr_v1 *h1 = &pbd1->hdr.bh1; in prb_open_block()