Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/
Dhash.c705 cfs_hash_multi_bd_lock(struct cfs_hash *hs, struct cfs_hash_bd *bds, in cfs_hash_multi_bd_lock() argument
716 cfs_hash_for_each_bd(bds, n, i) { in cfs_hash_multi_bd_lock()
717 if (prev == bds[i].bd_bucket) in cfs_hash_multi_bd_lock()
721 prev->hsb_index < bds[i].bd_bucket->hsb_index); in cfs_hash_multi_bd_lock()
722 cfs_hash_bd_lock(hs, &bds[i], excl); in cfs_hash_multi_bd_lock()
723 prev = bds[i].bd_bucket; in cfs_hash_multi_bd_lock()
728 cfs_hash_multi_bd_unlock(struct cfs_hash *hs, struct cfs_hash_bd *bds, in cfs_hash_multi_bd_unlock() argument
734 cfs_hash_for_each_bd(bds, n, i) { in cfs_hash_multi_bd_unlock()
735 if (prev != bds[i].bd_bucket) { in cfs_hash_multi_bd_unlock()
736 cfs_hash_bd_unlock(hs, &bds[i], excl); in cfs_hash_multi_bd_unlock()
[all …]
/linux-4.4.14/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_hash.h657 struct cfs_hash_bd *bds);
658 void cfs_hash_dual_bd_lock(struct cfs_hash *hs, struct cfs_hash_bd *bds,
660 void cfs_hash_dual_bd_unlock(struct cfs_hash *hs, struct cfs_hash_bd *bds,
665 struct cfs_hash_bd *bds, int excl) in cfs_hash_dual_bd_get_and_lock() argument
667 cfs_hash_dual_bd_get(hs, key, bds); in cfs_hash_dual_bd_get_and_lock()
668 cfs_hash_dual_bd_lock(hs, bds, excl); in cfs_hash_dual_bd_get_and_lock()
672 cfs_hash_dual_bd_lookup_locked(struct cfs_hash *hs, struct cfs_hash_bd *bds,
675 cfs_hash_dual_bd_findadd_locked(struct cfs_hash *hs, struct cfs_hash_bd *bds,
679 cfs_hash_dual_bd_finddel_locked(struct cfs_hash *hs, struct cfs_hash_bd *bds,
761 struct cfs_hash_bd bds[2]; in cfs_hash_bucket_validate() local
[all …]
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x.h767 #define NEXT_CNT_PER_TX_PKT(bds) \ argument
768 (((bds) + MAX_TX_DESC_CNT - 1) / \
Dbnx2x_hsi.h4633 union eth_tx_bd_types bds[13]; member