Home
last modified time | relevance | path

Searched refs:bh1 (Results 1 - 25 of 27) sorted by relevance

12

/kernel/linux/linux-5.10/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.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()
339 bh1 = qnx6_check_first_superblock(s, 0, silent); in qnx6_fill_super()
340 if (!bh1) { in qnx6_fill_super()
347 sb1 = (struct qnx6_super_block *)bh1->b_data; in qnx6_fill_super()
355 crc32_be(0, (char *)(bh1->b_data + 8), 504)) { in qnx6_fill_super()
366 brelse(bh1); in qnx6_fill_super()
367 bh1 = sb_bread(s, bootblock_offset >> s->s_blocksize_bits); in qnx6_fill_super()
368 if (!bh1) in qnx6_fill_super()
[all...]
/kernel/linux/linux-6.6/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.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()
339 bh1 = qnx6_check_first_superblock(s, 0, silent); in qnx6_fill_super()
340 if (!bh1) { in qnx6_fill_super()
347 sb1 = (struct qnx6_super_block *)bh1->b_data; in qnx6_fill_super()
355 crc32_be(0, (char *)(bh1->b_data + 8), 504)) { in qnx6_fill_super()
366 brelse(bh1); in qnx6_fill_super()
367 bh1 = sb_bread(s, bootblock_offset >> s->s_blocksize_bits); in qnx6_fill_super()
368 if (!bh1) in qnx6_fill_super()
[all...]
/kernel/linux/linux-5.10/fs/sysv/
H A Dsuper.c50 struct buffer_head *bh1 = sbi->s_bh1; in detected_xenix() local
55 if (bh1 != bh2) in detected_xenix()
56 sbd1 = sbd2 = (struct xenix_super_block *) bh1->b_data; in detected_xenix()
58 /* block size = 512, so bh1 != bh2 */ in detected_xenix()
59 sbd1 = (struct xenix_super_block *) bh1->b_data; in detected_xenix()
82 struct buffer_head *bh1 = sbi->s_bh1; in detected_sysv4() local
85 if (bh1 == bh2) in detected_sysv4()
86 sbd = (struct sysv4_super_block *) (bh1->b_data + BLOCK_SIZE/2); in detected_sysv4()
110 struct buffer_head *bh1 = sbi->s_bh1; in detected_sysv2() local
113 if (bh1 in detected_sysv2()
138 struct buffer_head *bh1 = sbi->s_bh1; detected_coherent() local
352 struct buffer_head *bh1, *bh = NULL; sysv_fill_super() local
[all...]
/kernel/linux/linux-6.6/fs/sysv/
H A Dsuper.c50 struct buffer_head *bh1 = sbi->s_bh1; in detected_xenix() local
55 if (bh1 != bh2) in detected_xenix()
56 sbd1 = sbd2 = (struct xenix_super_block *) bh1->b_data; in detected_xenix()
58 /* block size = 512, so bh1 != bh2 */ in detected_xenix()
59 sbd1 = (struct xenix_super_block *) bh1->b_data; in detected_xenix()
82 struct buffer_head *bh1 = sbi->s_bh1; in detected_sysv4() local
85 if (bh1 == bh2) in detected_sysv4()
86 sbd = (struct sysv4_super_block *) (bh1->b_data + BLOCK_SIZE/2); in detected_sysv4()
110 struct buffer_head *bh1 = sbi->s_bh1; in detected_sysv2() local
113 if (bh1 in detected_sysv2()
138 struct buffer_head *bh1 = sbi->s_bh1; detected_coherent() local
354 struct buffer_head *bh1, *bh = NULL; sysv_fill_super() local
[all...]
/kernel/linux/linux-5.10/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.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()
/kernel/linux/linux-6.6/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.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()
747 bail3: brelse(bh1); in hpfs_fill_super()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/fs/ocfs2/
H A Drefcounttree.h118 struct buffer_head **bh1,
H A Dnamei.c87 struct buffer_head **bh1,
1107 struct buffer_head **bh1, in ocfs2_double_lock()
1121 if (*bh1) in ocfs2_double_lock()
1122 *bh1 = NULL; in ocfs2_double_lock()
1147 swap(bh2, bh1); in ocfs2_double_lock()
1161 status = ocfs2_inode_lock_nested(inode1, bh1, 1, in ocfs2_double_lock()
1106 ocfs2_double_lock(struct ocfs2_super *osb, struct buffer_head **bh1, struct inode *inode1, struct buffer_head **bh2, struct inode *inode2, int rename) ocfs2_double_lock() argument
/kernel/linux/linux-6.6/fs/ocfs2/
H A Drefcounttree.h116 struct buffer_head **bh1,
H A Dnamei.c86 struct buffer_head **bh1,
1109 struct buffer_head **bh1, in ocfs2_double_lock()
1123 if (*bh1) in ocfs2_double_lock()
1124 *bh1 = NULL; in ocfs2_double_lock()
1149 swap(bh2, bh1); in ocfs2_double_lock()
1163 status = ocfs2_inode_lock_nested(inode1, bh1, 1, in ocfs2_double_lock()
1108 ocfs2_double_lock(struct ocfs2_super *osb, struct buffer_head **bh1, struct inode *inode1, struct buffer_head **bh2, struct inode *inode2, int rename) ocfs2_double_lock() argument
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dif_packet.h182 struct tpacket_hdr_v1 bh1; member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dif_packet.h182 struct tpacket_hdr_v1 bh1; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dif_packet.h172 struct tpacket_hdr_v1 bh1; member
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dif_packet.h240 struct tpacket_hdr_v1 bh1; member
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dif_packet.h243 struct tpacket_hdr_v1 bh1; member
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/net/packet/
H A Daf_packet.c178 #define BLOCK_STATUS(x) ((x)->hdr.bh1.block_status)
179 #define BLOCK_NUM_PKTS(x) ((x)->hdr.bh1.num_pkts)
180 #define BLOCK_O2FP(x) ((x)->hdr.bh1.offset_to_first_pkt)
181 #define BLOCK_LEN(x) ((x)->hdr.bh1.blk_len)
182 #define BLOCK_SNUM(x) ((x)->hdr.bh1.seq_num)
769 struct tpacket_hdr_v1 *h1 = &pbd1->hdr.bh1; in prb_close_block()
820 struct tpacket_hdr_v1 *h1 = &pbd1->hdr.bh1; in prb_open_block()
/kernel/linux/linux-6.6/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)
804 struct tpacket_hdr_v1 *h1 = &pbd1->hdr.bh1; in prb_close_block()
855 struct tpacket_hdr_v1 *h1 = &pbd1->hdr.bh1; in prb_open_block()

Completed in 33 milliseconds

12