Home
last modified time | relevance | path

Searched refs:bds (Results 1 – 4 of 4) sorted by relevance

/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/
Dhash.c696 cfs_hash_multi_bd_lock(struct cfs_hash *hs, struct cfs_hash_bd *bds, in cfs_hash_multi_bd_lock() argument
707 cfs_hash_for_each_bd(bds, n, i) { in cfs_hash_multi_bd_lock()
708 if (prev == bds[i].bd_bucket) in cfs_hash_multi_bd_lock()
712 prev->hsb_index < bds[i].bd_bucket->hsb_index); in cfs_hash_multi_bd_lock()
713 cfs_hash_bd_lock(hs, &bds[i], excl); in cfs_hash_multi_bd_lock()
714 prev = bds[i].bd_bucket; in cfs_hash_multi_bd_lock()
719 cfs_hash_multi_bd_unlock(struct cfs_hash *hs, struct cfs_hash_bd *bds, in cfs_hash_multi_bd_unlock() argument
725 cfs_hash_for_each_bd(bds, n, i) { in cfs_hash_multi_bd_unlock()
726 if (prev != bds[i].bd_bucket) { in cfs_hash_multi_bd_unlock()
727 cfs_hash_bd_unlock(hs, &bds[i], excl); in cfs_hash_multi_bd_unlock()
[all …]
/linux-4.1.27/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_hash.h646 void cfs_hash_dual_bd_get(struct cfs_hash *hs, const void *key, struct cfs_hash_bd *bds);
647 void cfs_hash_dual_bd_lock(struct cfs_hash *hs, struct cfs_hash_bd *bds, int excl);
648 void cfs_hash_dual_bd_unlock(struct cfs_hash *hs, struct cfs_hash_bd *bds, int excl);
651 struct cfs_hash_bd *bds, int excl) in cfs_hash_dual_bd_get_and_lock() argument
653 cfs_hash_dual_bd_get(hs, key, bds); in cfs_hash_dual_bd_get_and_lock()
654 cfs_hash_dual_bd_lock(hs, bds, excl); in cfs_hash_dual_bd_get_and_lock()
658 struct cfs_hash_bd *bds,
661 struct cfs_hash_bd *bds,
666 struct cfs_hash_bd *bds,
737 struct cfs_hash_bd bds[2]; in cfs_hash_bucket_validate() local
[all …]
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x.h756 #define NEXT_CNT_PER_TX_PKT(bds) \ argument
757 (((bds) + MAX_TX_DESC_CNT - 1) / \
Dbnx2x_hsi.h4506 union eth_tx_bd_types bds[13]; member