Home
last modified time | relevance | path

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

/linux-4.1.27/fs/qnx6/
Dsuper_mmi.c37 struct buffer_head *bh1, *bh2 = NULL; in qnx6_mmi_fill_super() local
45 bh1 = sb_bread(s, 0); in qnx6_mmi_fill_super()
46 if (!bh1) { in qnx6_mmi_fill_super()
50 sb1 = (struct qnx6_mmi_super_block *)bh1->b_data; in qnx6_mmi_fill_super()
61 crc32_be(0, (char *)(bh1->b_data + 8), 504)) { in qnx6_mmi_fill_super()
76 brelse(bh1); in qnx6_mmi_fill_super()
77 bh1 = sb_bread(s, 0); in qnx6_mmi_fill_super()
78 if (!bh1) in qnx6_mmi_fill_super()
80 sb1 = (struct qnx6_mmi_super_block *)bh1->b_data; in qnx6_mmi_fill_super()
115 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-4.1.27/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-4.1.27/fs/hpfs/
Danode.c67 struct buffer_head *bh, *bh1, *bh2; in hpfs_add_sector_to_btree() local
125 if (!(anode = hpfs_alloc_anode(s, a, &na, &bh1))) { in hpfs_add_sector_to_btree()
146 brelse(bh1); in hpfs_add_sector_to_btree()
152 bh = bh1; in hpfs_add_sector_to_btree()
246 if ((unode = hpfs_map_anode(s, le32_to_cpu(ranode->u.internal[n].down), &bh1))) { in hpfs_add_sector_to_btree()
249 mark_buffer_dirty(bh1); in hpfs_add_sector_to_btree()
250 brelse(bh1); in hpfs_add_sector_to_btree()
Dea.c320 struct buffer_head *bh1, *bh2; in hpfs_set_ea() local
322 if (!(b1 = hpfs_map_sector(s, le32_to_cpu(fnode->ea_secno) + i, &bh1, len - i - 1))) { in hpfs_set_ea()
327 brelse(bh1); in hpfs_set_ea()
332 brelse(bh1); in hpfs_set_ea()
Dsuper.c519 struct buffer_head *bh0, *bh1, *bh2; in hpfs_fill_super() local
570 if (!(superblock = hpfs_map_sector(s, 16, &bh1, 1))) goto bail2; in hpfs_fill_super()
693 brelse(bh1); in hpfs_fill_super()
734 bail3: brelse(bh1); in hpfs_fill_super()
/linux-4.1.27/include/uapi/linux/
Dif_packet.h226 struct tpacket_hdr_v1 bh1; member
/linux-4.1.27/fs/ocfs2/
Dnamei.c100 struct buffer_head **bh1,
1090 struct buffer_head **bh1, in ocfs2_double_lock() argument
1106 if (*bh1) in ocfs2_double_lock()
1107 *bh1 = NULL; in ocfs2_double_lock()
1133 bh2 = bh1; in ocfs2_double_lock()
1134 bh1 = tmpbh; in ocfs2_double_lock()
1151 status = ocfs2_inode_lock_nested(inode1, bh1, 1, in ocfs2_double_lock()
/linux-4.1.27/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)
797 struct tpacket_hdr_v1 *h1 = &pbd1->hdr.bh1; in prb_close_block()
848 struct tpacket_hdr_v1 *h1 = &pbd1->hdr.bh1; in prb_open_block()