/linux-4.1.27/arch/mips/netlogic/xlr/ |
D | fmn-config.c | 50 int bkt; in print_credit_config() local 54 for (bkt = 0; bkt < 16; bkt++) in print_credit_config() 56 xlr_board_fmn_config.bucket_size[(bkt * 8) + 0], in print_credit_config() 57 xlr_board_fmn_config.bucket_size[(bkt * 8) + 1], in print_credit_config() 58 xlr_board_fmn_config.bucket_size[(bkt * 8) + 2], in print_credit_config() 59 xlr_board_fmn_config.bucket_size[(bkt * 8) + 3], in print_credit_config() 60 xlr_board_fmn_config.bucket_size[(bkt * 8) + 4], in print_credit_config() 61 xlr_board_fmn_config.bucket_size[(bkt * 8) + 5], in print_credit_config() 62 xlr_board_fmn_config.bucket_size[(bkt * 8) + 6], in print_credit_config() 63 xlr_board_fmn_config.bucket_size[(bkt * 8) + 7]); in print_credit_config() [all …]
|
/linux-4.1.27/include/linux/ |
D | hashtable.h | 121 #define hash_for_each(name, bkt, obj, member) \ argument 122 for ((bkt) = 0, obj = NULL; obj == NULL && (bkt) < HASH_SIZE(name);\ 123 (bkt)++)\ 124 hlist_for_each_entry(obj, &name[bkt], member) 133 #define hash_for_each_rcu(name, bkt, obj, member) \ argument 134 for ((bkt) = 0, obj = NULL; obj == NULL && (bkt) < HASH_SIZE(name);\ 135 (bkt)++)\ 136 hlist_for_each_entry_rcu(obj, &name[bkt], member) 147 #define hash_for_each_safe(name, bkt, tmp, obj, member) \ argument 148 for ((bkt) = 0, obj = NULL; obj == NULL && (bkt) < HASH_SIZE(name);\ [all …]
|
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/ |
D | lu_object.c | 70 struct lu_site_bkt_data *bkt; in lu_object_put() local 102 bkt = cfs_hash_bd_extra_get(site->ls_obj_hash, &bd); in lu_object_put() 111 wake_up_all(&bkt->lsb_marche_funebre); in lu_object_put() 116 LASSERT(bkt->lsb_busy > 0); in lu_object_put() 117 bkt->lsb_busy--; in lu_object_put() 129 list_add_tail(&top->loh_lru, &bkt->lsb_lru); in lu_object_put() 266 struct lu_site_bkt_data *bkt; in lu_object_free() local 274 bkt = lu_site_bkt_from_fid(site, &o->lo_header->loh_fid); in lu_object_free() 303 if (waitqueue_active(&bkt->lsb_marche_funebre)) in lu_object_free() 304 wake_up_all(&bkt->lsb_marche_funebre); in lu_object_free() [all …]
|
/linux-4.1.27/net/ipv4/ |
D | cipso_ipv4.c | 322 u32 bkt; in cipso_v4_cache_check() local 331 bkt = hash & (CIPSO_V4_CACHE_BUCKETS - 1); in cipso_v4_cache_check() 332 spin_lock_bh(&cipso_v4_cache[bkt].lock); in cipso_v4_cache_check() 333 list_for_each_entry(entry, &cipso_v4_cache[bkt].list, list) { in cipso_v4_cache_check() 343 spin_unlock_bh(&cipso_v4_cache[bkt].lock); in cipso_v4_cache_check() 358 spin_unlock_bh(&cipso_v4_cache[bkt].lock); in cipso_v4_cache_check() 363 spin_unlock_bh(&cipso_v4_cache[bkt].lock); in cipso_v4_cache_check() 385 u32 bkt; in cipso_v4_cache_add() local 408 bkt = entry->hash & (CIPSO_V4_CACHE_BUCKETS - 1); in cipso_v4_cache_add() 409 spin_lock_bh(&cipso_v4_cache[bkt].lock); in cipso_v4_cache_add() [all …]
|
/linux-4.1.27/net/sched/ |
D | cls_route.c | 58 struct route4_bucket *bkt; member 335 b = f->bkt; in route4_delete() 458 f->bkt = b; in route4_set_parms() 514 f->bkt = fold->bkt; in route4_change() 524 fp = &f->bkt->ht[h]; in route4_change()
|
/linux-4.1.27/net/netlabel/ |
D | netlabel_domainhash.c | 142 u32 bkt; in netlbl_domhsh_search() local 147 bkt = netlbl_domhsh_hash(domain); in netlbl_domhsh_search() 148 bkt_list = &netlbl_domhsh_rcu_deref(netlbl_domhsh)->tbl[bkt]; in netlbl_domhsh_search() 395 u32 bkt = netlbl_domhsh_hash(entry->domain); in netlbl_domhsh_add() local 397 &rcu_dereference(netlbl_domhsh)->tbl[bkt]); in netlbl_domhsh_add()
|
D | netlabel_unlabeled.c | 224 u32 bkt; in netlbl_unlhsh_search_iface() local 228 bkt = netlbl_unlhsh_hash(ifindex); in netlbl_unlhsh_search_iface() 229 bkt_list = &netlbl_unlhsh_rcu_deref(netlbl_unlhsh)->tbl[bkt]; in netlbl_unlhsh_search_iface() 333 u32 bkt; in netlbl_unlhsh_add_iface() local 347 bkt = netlbl_unlhsh_hash(ifindex); in netlbl_unlhsh_add_iface() 351 &netlbl_unlhsh_rcu_deref(netlbl_unlhsh)->tbl[bkt]); in netlbl_unlhsh_add_iface()
|
/linux-4.1.27/drivers/staging/lustre/lustre/lov/ |
D | lov_object.c | 297 struct lu_site_bkt_data *bkt; in lov_subobject_kill() local 305 bkt = lu_site_bkt_from_fid(site, &sub->co_lu.lo_header->loh_fid); in lov_subobject_kill() 317 add_wait_queue(&bkt->lsb_marche_funebre, waiter); in lov_subobject_kill() 333 remove_wait_queue(&bkt->lsb_marche_funebre, waiter); in lov_subobject_kill()
|
/linux-4.1.27/drivers/staging/lustre/lustre/lclient/ |
D | lcommon_cl.c | 1164 struct lu_site_bkt_data *bkt; in cl_object_put_last() local 1166 bkt = lu_site_bkt_from_fid(site, &header->loh_fid); in cl_object_put_last() 1169 add_wait_queue(&bkt->lsb_marche_funebre, &waiter); in cl_object_put_last() 1179 remove_wait_queue(&bkt->lsb_marche_funebre, &waiter); in cl_object_put_last()
|
/linux-4.1.27/drivers/net/ethernet/rocker/ |
D | rocker.c | 2266 int bkt; in rocker_free_tbls() local 2269 hash_for_each_safe(rocker->flow_tbl, bkt, tmp, flow_entry, entry) in rocker_free_tbls() 2274 hash_for_each_safe(rocker->group_tbl, bkt, tmp, group_entry, entry) in rocker_free_tbls() 2279 hash_for_each_safe(rocker->fdb_tbl, bkt, tmp, fdb_entry, entry) in rocker_free_tbls() 2284 hash_for_each_safe(rocker->internal_vlan_tbl, bkt, in rocker_free_tbls() 2290 hash_for_each_safe(rocker->neigh_tbl, bkt, tmp, neigh_entry, entry) in rocker_free_tbls() 3509 int bkt; in rocker_port_fdb_flush() local 3518 hash_for_each_safe(rocker->fdb_tbl, bkt, tmp, found, entry) { in rocker_port_fdb_flush() 4115 int bkt; in rocker_port_fdb_dump() local 4122 hash_for_each_safe(rocker->fdb_tbl, bkt, tmp, found, entry) { in rocker_port_fdb_dump()
|
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/ |
D | hash.c | 972 int bkt; in cfs_hash_dep_print() local 978 bkt = hs->hs_dep_bkt; in cfs_hash_dep_print() 984 hs->hs_name, bits, dep, bkt, off); in cfs_hash_dep_print()
|
/linux-4.1.27/kernel/ |
D | workqueue.c | 4255 int bkt; in show_pwq() local 4263 hash_for_each(pool->busy_hash, bkt, worker, hentry) { in show_pwq() 4273 hash_for_each(pool->busy_hash, bkt, worker, hentry) { in show_pwq()
|
/linux-4.1.27/drivers/staging/netlogic/ |
D | xlr_net.c | 125 static void xlr_net_fmn_handler(int bkt, int src_stnid, int size, in xlr_net_fmn_handler() argument
|