Home
last modified time | relevance | path

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

/Linux-v4.19/fs/qnx6/
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->b_data, qsb, sizeof(struct qnx6_super_block)); in qnx6_mmi_fill_super()
[all …]
Dinode.c299 struct buffer_head *bh1 = NULL, *bh2 = NULL; in qnx6_fill_super() local
336 bh1 = qnx6_check_first_superblock(s, in qnx6_fill_super()
338 if (!bh1) { in qnx6_fill_super()
340 bh1 = qnx6_check_first_superblock(s, 0, silent); in qnx6_fill_super()
341 if (!bh1) { in qnx6_fill_super()
348 sb1 = (struct qnx6_super_block *)bh1->b_data; in qnx6_fill_super()
356 crc32_be(0, (char *)(bh1->b_data + 8), 504)) { in qnx6_fill_super()
367 brelse(bh1); in qnx6_fill_super()
368 bh1 = sb_bread(s, bootblock_offset >> s->s_blocksize_bits); in qnx6_fill_super()
369 if (!bh1) in qnx6_fill_super()
[all …]
/Linux-v4.19/fs/sysv/
Dsuper.c49 struct buffer_head *bh1 = sbi->s_bh1; in detected_xenix() local
54 if (bh1 != bh2) in detected_xenix()
55 sbd1 = sbd2 = (struct xenix_super_block *) bh1->b_data; in detected_xenix()
58 sbd1 = (struct xenix_super_block *) bh1->b_data; in detected_xenix()
81 struct buffer_head *bh1 = sbi->s_bh1; in detected_sysv4() local
84 if (bh1 == bh2) in detected_sysv4()
85 sbd = (struct sysv4_super_block *) (bh1->b_data + BLOCK_SIZE/2); in detected_sysv4()
109 struct buffer_head *bh1 = sbi->s_bh1; in detected_sysv2() local
112 if (bh1 == bh2) in detected_sysv2()
113 sbd = (struct sysv2_super_block *) (bh1->b_data + BLOCK_SIZE/2); in detected_sysv2()
[all …]
/Linux-v4.19/fs/hpfs/
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()
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()
Dsuper.c545 struct buffer_head *bh0, *bh1, *bh2; in hpfs_fill_super() local
596 if (!(superblock = hpfs_map_sector(s, 16, &bh1, 1))) goto bail2; in hpfs_fill_super()
709 brelse(bh1); in hpfs_fill_super()
750 bail3: brelse(bh1); in hpfs_fill_super()
/Linux-v4.19/include/uapi/linux/
Dif_packet.h238 struct tpacket_hdr_v1 bh1; member
/Linux-v4.19/fs/ocfs2/
Dnamei.c101 struct buffer_head **bh1,
1117 struct buffer_head **bh1, in ocfs2_double_lock() argument
1131 if (*bh1) in ocfs2_double_lock()
1132 *bh1 = NULL; in ocfs2_double_lock()
1157 swap(bh2, bh1); in ocfs2_double_lock()
1171 status = ocfs2_inode_lock_nested(inode1, bh1, 1, in ocfs2_double_lock()
Drefcounttree.c4719 struct buffer_head **bh1, in ocfs2_reflink_inodes_lock() argument
4757 if (*bh1) in ocfs2_reflink_inodes_lock()
4758 *bh1 = NULL; in ocfs2_reflink_inodes_lock()
4767 status = ocfs2_inode_lock_nested(inode1, bh1, 1, OI_LS_REFLINK_TARGET); in ocfs2_reflink_inodes_lock()
4784 *bh2 = *bh1; in ocfs2_reflink_inodes_lock()
4794 brelse(*bh1); in ocfs2_reflink_inodes_lock()
4795 *bh1 = NULL; in ocfs2_reflink_inodes_lock()
/Linux-v4.19/net/packet/
Daf_packet.c180 #define BLOCK_STATUS(x) ((x)->hdr.bh1.block_status)
181 #define BLOCK_NUM_PKTS(x) ((x)->hdr.bh1.num_pkts)
182 #define BLOCK_O2FP(x) ((x)->hdr.bh1.offset_to_first_pkt)
183 #define BLOCK_LEN(x) ((x)->hdr.bh1.blk_len)
184 #define BLOCK_SNUM(x) ((x)->hdr.bh1.seq_num)
766 struct tpacket_hdr_v1 *h1 = &pbd1->hdr.bh1; in prb_close_block()
817 struct tpacket_hdr_v1 *h1 = &pbd1->hdr.bh1; in prb_open_block()