/linux-4.4.14/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.4.14/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.4.14/drivers/staging/lustre/lustre/obdclass/ |
D | lu_object.c | 71 struct lu_site_bkt_data *bkt; in lu_object_put() local 103 bkt = cfs_hash_bd_extra_get(site->ls_obj_hash, &bd); in lu_object_put() 112 wake_up_all(&bkt->lsb_marche_funebre); in lu_object_put() 128 list_add_tail(&top->loh_lru, &bkt->lsb_lru); in lu_object_put() 129 bkt->lsb_lru_len++; in lu_object_put() 132 o, site->ls_obj_hash, bkt, bkt->lsb_lru_len); in lu_object_put() 176 struct lu_site_bkt_data *bkt; in lu_object_unhash() local 179 bkt = cfs_hash_bd_extra_get(obj_hash, &bd); in lu_object_unhash() 180 bkt->lsb_lru_len--; in lu_object_unhash() 266 struct lu_site_bkt_data *bkt; in lu_object_free() local [all …]
|
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/drivers/staging/lustre/lustre/lclient/ |
D | lcommon_cl.c | 1083 struct lu_site_bkt_data *bkt; in cl_object_put_last() local 1085 bkt = lu_site_bkt_from_fid(site, &header->loh_fid); in cl_object_put_last() 1088 add_wait_queue(&bkt->lsb_marche_funebre, &waiter); in cl_object_put_last() 1098 remove_wait_queue(&bkt->lsb_marche_funebre, &waiter); in cl_object_put_last()
|
/linux-4.4.14/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_events.c | 861 int bkt; in lookup_events_by_type_and_signal() local 866 hash_for_each(p->events, bkt, ev, events) in lookup_events_by_type_and_signal()
|
/linux-4.4.14/drivers/net/ethernet/rocker/ |
D | rocker.c | 2381 int bkt; in rocker_free_tbls() local 2384 hash_for_each_safe(rocker->flow_tbl, bkt, tmp, flow_entry, entry) in rocker_free_tbls() 2389 hash_for_each_safe(rocker->group_tbl, bkt, tmp, group_entry, entry) in rocker_free_tbls() 2394 hash_for_each_safe(rocker->fdb_tbl, bkt, tmp, fdb_entry, entry) in rocker_free_tbls() 2399 hash_for_each_safe(rocker->internal_vlan_tbl, bkt, in rocker_free_tbls() 2405 hash_for_each_safe(rocker->neigh_tbl, bkt, tmp, neigh_entry, entry) in rocker_free_tbls() 3671 int bkt; in rocker_port_fdb_flush() local 3682 hash_for_each_safe(rocker->fdb_tbl, bkt, tmp, found, entry) { in rocker_port_fdb_flush() 3713 int bkt; in rocker_fdb_cleanup() local 3717 hash_for_each_safe(rocker->fdb_tbl, bkt, tmp, entry, entry) { in rocker_fdb_cleanup() [all …]
|
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/ |
D | hash.c | 981 int bkt; in cfs_hash_dep_print() local 987 bkt = hs->hs_dep_bkt; in cfs_hash_dep_print() 993 hs->hs_name, bits, dep, bkt, off); in cfs_hash_dep_print()
|
/linux-4.4.14/kernel/ |
D | workqueue.c | 4235 int bkt; in show_pwq() local 4243 hash_for_each(pool->busy_hash, bkt, worker, hentry) { in show_pwq() 4253 hash_for_each(pool->busy_hash, bkt, worker, hentry) { in show_pwq()
|
/linux-4.4.14/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
|