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

/linux-4.4.14/fs/qnx6/
H A Dsuper_mmi.c37 struct buffer_head *bh1, *bh2 = NULL; qnx6_mmi_fill_super() local
45 bh1 = sb_bread(s, 0); qnx6_mmi_fill_super()
46 if (!bh1) { qnx6_mmi_fill_super()
50 sb1 = (struct qnx6_mmi_super_block *)bh1->b_data; qnx6_mmi_fill_super()
61 crc32_be(0, (char *)(bh1->b_data + 8), 504)) { qnx6_mmi_fill_super()
76 brelse(bh1); qnx6_mmi_fill_super()
77 bh1 = sb_bread(s, 0); qnx6_mmi_fill_super()
78 if (!bh1) qnx6_mmi_fill_super()
80 sb1 = (struct qnx6_mmi_super_block *)bh1->b_data; qnx6_mmi_fill_super()
115 memcpy(bh1->b_data, qsb, sizeof(struct qnx6_super_block)); qnx6_mmi_fill_super()
117 sbi->sb_buf = bh1; qnx6_mmi_fill_super()
118 sbi->sb = (struct qnx6_super_block *)bh1->b_data; qnx6_mmi_fill_super()
131 brelse(bh1); qnx6_mmi_fill_super()
143 if (bh1 != NULL) qnx6_mmi_fill_super()
144 brelse(bh1); qnx6_mmi_fill_super()
H A Dinode.c299 struct buffer_head *bh1 = NULL, *bh2 = NULL; qnx6_fill_super() local
336 bh1 = qnx6_check_first_superblock(s, qnx6_fill_super()
338 if (!bh1) { qnx6_fill_super()
340 bh1 = qnx6_check_first_superblock(s, 0, silent); qnx6_fill_super()
341 if (!bh1) { qnx6_fill_super()
348 sb1 = (struct qnx6_super_block *)bh1->b_data; qnx6_fill_super()
356 crc32_be(0, (char *)(bh1->b_data + 8), 504)) { qnx6_fill_super()
367 brelse(bh1); qnx6_fill_super()
368 bh1 = sb_bread(s, bootblock_offset >> s->s_blocksize_bits); qnx6_fill_super()
369 if (!bh1) qnx6_fill_super()
371 sb1 = (struct qnx6_super_block *)bh1->b_data; qnx6_fill_super()
405 sbi->sb_buf = bh1; qnx6_fill_super()
406 sbi->sb = (struct qnx6_super_block *)bh1->b_data; qnx6_fill_super()
413 brelse(bh1); qnx6_fill_super()
472 if (bh1) qnx6_fill_super()
473 brelse(bh1); qnx6_fill_super()
/linux-4.4.14/fs/sysv/
H A Dsuper.c49 struct buffer_head *bh1 = sbi->s_bh1; detected_xenix() local
54 if (bh1 != bh2) detected_xenix()
55 sbd1 = sbd2 = (struct xenix_super_block *) bh1->b_data; detected_xenix()
57 /* block size = 512, so bh1 != bh2 */ detected_xenix()
58 sbd1 = (struct xenix_super_block *) bh1->b_data; detected_xenix()
81 struct buffer_head *bh1 = sbi->s_bh1; detected_sysv4() local
84 if (bh1 == bh2) detected_sysv4()
85 sbd = (struct sysv4_super_block *) (bh1->b_data + BLOCK_SIZE/2); detected_sysv4()
109 struct buffer_head *bh1 = sbi->s_bh1; detected_sysv2() local
112 if (bh1 == bh2) detected_sysv2()
113 sbd = (struct sysv2_super_block *) (bh1->b_data + BLOCK_SIZE/2); detected_sysv2()
137 struct buffer_head *bh1 = sbi->s_bh1; detected_coherent() local
139 sbd = (struct coh_super_block *) bh1->b_data; detected_coherent()
354 struct buffer_head *bh1, *bh = NULL; sysv_fill_super() local
392 bh1 = sb_bread(sb, blocknr); sysv_fill_super()
396 bh1 = bh; sysv_fill_super()
402 bh1 = bh = sb_bread(sb, blocknr); sysv_fill_super()
408 if (bh && bh1) { sysv_fill_super()
409 sbi->s_bh1 = bh1; sysv_fill_super()
415 brelse(bh1); sysv_fill_super()
/linux-4.4.14/fs/hpfs/
H A Danode.c67 struct buffer_head *bh, *bh1, *bh2; hpfs_add_sector_to_btree() local
125 if (!(anode = hpfs_alloc_anode(s, a, &na, &bh1))) { hpfs_add_sector_to_btree()
146 brelse(bh1); hpfs_add_sector_to_btree()
152 bh = bh1; hpfs_add_sector_to_btree()
246 if ((unode = hpfs_map_anode(s, le32_to_cpu(ranode->u.internal[n].down), &bh1))) { hpfs_add_sector_to_btree()
249 mark_buffer_dirty(bh1); hpfs_add_sector_to_btree()
250 brelse(bh1); hpfs_add_sector_to_btree()
H A Dea.c320 struct buffer_head *bh1, *bh2; hpfs_set_ea() local
322 if (!(b1 = hpfs_map_sector(s, le32_to_cpu(fnode->ea_secno) + i, &bh1, len - i - 1))) { hpfs_set_ea()
327 brelse(bh1); hpfs_set_ea()
332 brelse(bh1); hpfs_set_ea()
H A Dsuper.c546 struct buffer_head *bh0, *bh1, *bh2; hpfs_fill_super() local
597 if (!(superblock = hpfs_map_sector(s, 16, &bh1, 1))) goto bail2; hpfs_fill_super()
711 brelse(bh1); hpfs_fill_super()
752 bail3: brelse(bh1); hpfs_fill_super()
/linux-4.4.14/include/uapi/linux/
H A Dif_packet.h236 struct tpacket_hdr_v1 bh1; member in union:tpacket_bd_header_u
/linux-4.4.14/fs/ocfs2/
H A Dnamei.c100 struct buffer_head **bh1,
1114 struct buffer_head **bh1, ocfs2_double_lock()
1128 if (*bh1) ocfs2_double_lock()
1129 *bh1 = NULL; ocfs2_double_lock()
1154 swap(bh2, bh1); ocfs2_double_lock()
1168 status = ocfs2_inode_lock_nested(inode1, bh1, 1, ocfs2_double_lock()
1113 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
/linux-4.4.14/net/packet/
H A Daf_packet.c181 #define BLOCK_STATUS(x) ((x)->hdr.bh1.block_status)
182 #define BLOCK_NUM_PKTS(x) ((x)->hdr.bh1.num_pkts)
183 #define BLOCK_O2FP(x) ((x)->hdr.bh1.offset_to_first_pkt)
184 #define BLOCK_LEN(x) ((x)->hdr.bh1.blk_len)
185 #define BLOCK_SNUM(x) ((x)->hdr.bh1.seq_num)
794 struct tpacket_hdr_v1 *h1 = &pbd1->hdr.bh1; prb_close_block()
845 struct tpacket_hdr_v1 *h1 = &pbd1->hdr.bh1; prb_open_block()

Completed in 492 milliseconds