Home
last modified time | relevance | path

Searched refs:bd2 (Results 1 – 5 of 5) sorted by relevance

/linux-4.1.27/fs/gfs2/
Dlops.c425 struct gfs2_bufdata *bd1 = NULL, *bd2; in gfs2_before_commit() local
433 bd1 = bd2 = list_prepare_entry(bd1, blist, bd_list); in gfs2_before_commit()
462 list_for_each_entry_continue(bd2, blist, bd_list) { in gfs2_before_commit()
463 get_bh(bd2->bd_bh); in gfs2_before_commit()
465 lock_buffer(bd2->bd_bh); in gfs2_before_commit()
467 if (buffer_escaped(bd2->bd_bh)) { in gfs2_before_commit()
471 kaddr = kmap_atomic(bd2->bd_bh->b_page); in gfs2_before_commit()
472 memcpy(ptr, kaddr + bh_offset(bd2->bd_bh), in gfs2_before_commit()
473 bd2->bd_bh->b_size); in gfs2_before_commit()
476 clear_buffer_escaped(bd2->bd_bh); in gfs2_before_commit()
[all …]
/linux-4.1.27/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_hash.h598 cfs_hash_bd_compare(struct cfs_hash_bd *bd1, struct cfs_hash_bd *bd2) in cfs_hash_bd_compare() argument
600 if (bd1->bd_bucket->hsb_index != bd2->bd_bucket->hsb_index) in cfs_hash_bd_compare()
601 return bd1->bd_bucket->hsb_index - bd2->bd_bucket->hsb_index; in cfs_hash_bd_compare()
603 if (bd1->bd_offset != bd2->bd_offset) in cfs_hash_bd_compare()
604 return bd1->bd_offset - bd2->bd_offset; in cfs_hash_bd_compare()
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/
Dhash.c798 cfs_hash_bd_order(struct cfs_hash_bd *bd1, struct cfs_hash_bd *bd2) in cfs_hash_bd_order() argument
802 if (bd2->bd_bucket == NULL) in cfs_hash_bd_order()
806 *bd1 = *bd2; in cfs_hash_bd_order()
807 bd2->bd_bucket = NULL; in cfs_hash_bd_order()
811 rc = cfs_hash_bd_compare(bd1, bd2); in cfs_hash_bd_order()
813 bd2->bd_bucket = NULL; in cfs_hash_bd_order()
818 tmp = *bd2; in cfs_hash_bd_order()
819 *bd2 = *bd1; in cfs_hash_bd_order()
/linux-4.1.27/arch/x86/platform/uv/
Dtlb_uv.c1698 struct bau_desc *bd2; in activation_descriptor_init() local
1724 for (i = 0, bd2 = bau_desc; i < (ADP_SZ * ITEMS_PER_DESC); i++, bd2++) { in activation_descriptor_init()
1725 memset(bd2, 0, sizeof(struct bau_desc)); in activation_descriptor_init()
1727 uv1_hdr = &bd2->header.uv1_hdr; in activation_descriptor_init()
1750 uv2_3_hdr = &bd2->header.uv2_3_hdr; in activation_descriptor_init()
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Dlu_object.c316 struct cfs_hash_bd bd2; in lu_site_purge() local
346 cfs_hash_bd_get(s->ls_obj_hash, &h->loh_fid, &bd2); in lu_site_purge()
347 LASSERT(bd.bd_bucket == bd2.bd_bucket); in lu_site_purge()
350 &bd2, &h->loh_hash); in lu_site_purge()