Home
last modified time | relevance | path

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

/linux-4.4.14/fs/gfs2/
Dlops.c418 struct gfs2_bufdata *bd1 = NULL, *bd2; in gfs2_before_commit() local
426 bd1 = bd2 = list_prepare_entry(bd1, blist, bd_list); in gfs2_before_commit()
455 list_for_each_entry_continue(bd2, blist, bd_list) { in gfs2_before_commit()
456 get_bh(bd2->bd_bh); in gfs2_before_commit()
458 lock_buffer(bd2->bd_bh); in gfs2_before_commit()
460 if (buffer_escaped(bd2->bd_bh)) { in gfs2_before_commit()
464 kaddr = kmap_atomic(bd2->bd_bh->b_page); in gfs2_before_commit()
465 memcpy(ptr, kaddr + bh_offset(bd2->bd_bh), in gfs2_before_commit()
466 bd2->bd_bh->b_size); in gfs2_before_commit()
469 clear_buffer_escaped(bd2->bd_bh); in gfs2_before_commit()
[all …]
/linux-4.4.14/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_hash.h605 cfs_hash_bd_compare(struct cfs_hash_bd *bd1, struct cfs_hash_bd *bd2) in cfs_hash_bd_compare() argument
607 if (bd1->bd_bucket->hsb_index != bd2->bd_bucket->hsb_index) in cfs_hash_bd_compare()
608 return bd1->bd_bucket->hsb_index - bd2->bd_bucket->hsb_index; in cfs_hash_bd_compare()
610 if (bd1->bd_offset != bd2->bd_offset) in cfs_hash_bd_compare()
611 return bd1->bd_offset - bd2->bd_offset; in cfs_hash_bd_compare()
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/
Dhash.c807 cfs_hash_bd_order(struct cfs_hash_bd *bd1, struct cfs_hash_bd *bd2) in cfs_hash_bd_order() argument
811 if (bd2->bd_bucket == NULL) in cfs_hash_bd_order()
815 *bd1 = *bd2; in cfs_hash_bd_order()
816 bd2->bd_bucket = NULL; in cfs_hash_bd_order()
820 rc = cfs_hash_bd_compare(bd1, bd2); in cfs_hash_bd_order()
822 bd2->bd_bucket = NULL; in cfs_hash_bd_order()
827 tmp = *bd2; in cfs_hash_bd_order()
828 *bd2 = *bd1; in cfs_hash_bd_order()
/linux-4.4.14/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.4.14/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()