/net/mac80211/ |
D | rate.h | 37 static inline void *rate_control_alloc_sta(struct rate_control_ref *ref, in rate_control_alloc_sta() argument 41 return ref->ops->alloc_sta(ref->priv, &sta->sta, gfp); in rate_control_alloc_sta() 46 struct rate_control_ref *ref = sta->rate_ctrl; in rate_control_free_sta() local 50 ref->ops->free_sta(ref->priv, ista, priv_sta); in rate_control_free_sta() 56 struct rate_control_ref *ref = sta->rate_ctrl; in rate_control_add_sta_debugfs() local 57 if (ref && sta->debugfs_dir && ref->ops->add_sta_debugfs) in rate_control_add_sta_debugfs() 58 ref->ops->add_sta_debugfs(ref->priv, sta->rate_ctrl_priv, in rate_control_add_sta_debugfs()
|
D | rate.c | 33 struct rate_control_ref *ref = sta->rate_ctrl; in rate_control_rate_init() local 41 if (!ref) in rate_control_rate_init() 55 ref->ops->rate_init(ref->priv, sband, &chanctx_conf->def, ista, in rate_control_rate_init() 66 struct rate_control_ref *ref = local->rate_ctrl; in rate_control_tx_status() local 70 if (!ref || !test_sta_flag(sta, WLAN_STA_RATE_CONTROL)) in rate_control_tx_status() 74 if (ref->ops->tx_status_ext) in rate_control_tx_status() 75 ref->ops->tx_status_ext(ref->priv, sband, priv_sta, st); in rate_control_tx_status() 77 ref->ops->tx_status(ref->priv, sband, st->sta, priv_sta, st->skb); in rate_control_tx_status() 88 struct rate_control_ref *ref = local->rate_ctrl; in rate_control_rate_update() local 93 if (ref && ref->ops->rate_update) { in rate_control_rate_update() [all …]
|
D | key.h | 164 #define key_mtx_dereference(local, ref) \ argument 165 rcu_dereference_protected(ref, lockdep_is_held(&((local)->key_mtx)))
|
/net/9p/ |
D | trans_xen.c | 62 grant_ref_t ref; member 312 grant_ref_t ref; in xen_9pfs_front_free() local 314 ref = priv->rings[i].intf->ref[j]; in xen_9pfs_front_free() 315 gnttab_end_foreign_access(ref, 0, 0); in xen_9pfs_front_free() 321 gnttab_end_foreign_access(priv->rings[i].ref, 0, 0); in xen_9pfs_front_free() 356 ring->ref = ret; in xen_9pfs_front_alloc_dataring() 368 ring->intf->ref[i] = ret; in xen_9pfs_front_alloc_dataring() 388 gnttab_end_foreign_access(ring->intf->ref[i], 0, 0); in xen_9pfs_front_alloc_dataring() 391 gnttab_end_foreign_access(ring->ref, 0, 0); in xen_9pfs_front_alloc_dataring() 460 priv->rings[i].ref); in xen_9pfs_front_init()
|
/net/sunrpc/ |
D | svcauth.c | 153 struct auth_domain *dom = container_of(kref, struct auth_domain, ref); in auth_domain_release() 162 kref_put_lock(&dom->ref, auth_domain_release, &auth_domain_lock); in auth_domain_put() 178 kref_get(&hp->ref); in auth_domain_lookup() 200 if (!kref_get_unless_zero(&hp->ref)) in auth_domain_find()
|
D | svcauth_unix.c | 76 kref_init(&new->h.ref); in unix_domain_find() 106 struct cache_head *item = container_of(kref, struct cache_head, ref); in ip_map_put() 139 kref_get(&item->m_client->h.ref); in update() 444 struct cache_head *item = container_of(kref, struct cache_head, ref); in unix_gid_put() 721 kref_get(&rqstp->rq_client->ref); in svcauth_unix_set_client()
|
/net/sched/ |
D | ematch.c | 186 u32 ref; in tcf_em_validate() local 188 if (data_len < sizeof(ref)) in tcf_em_validate() 190 ref = *(u32 *) data; in tcf_em_validate() 192 if (ref >= tree_hdr->nmatches) in tcf_em_validate() 198 if (ref <= idx) in tcf_em_validate() 202 em->data = ref; in tcf_em_validate()
|
D | act_api.c | 750 tcf_action_dump_old(struct sk_buff *skb, struct tc_action *a, int bind, int ref) in tcf_action_dump_old() argument 752 return a->ops->dump(skb, a, bind, ref); in tcf_action_dump_old() 756 tcf_action_dump_1(struct sk_buff *skb, struct tc_action *a, int bind, int ref) in tcf_action_dump_1() argument 781 err = tcf_action_dump_old(skb, a, bind, ref); in tcf_action_dump_1() 794 int bind, int ref) in tcf_action_dump() argument 805 err = tcf_action_dump_1(skb, a, bind, ref); in tcf_action_dump() 1063 int ref) in tca_get_fill() argument 1082 if (tcf_action_dump(skb, actions, bind, ref) < 0) in tca_get_fill()
|
D | act_connmark.c | 172 int bind, int ref) in tcf_connmark_dump() argument 178 .refcnt = refcount_read(&ci->tcf_refcnt) - ref, in tcf_connmark_dump()
|
D | act_simple.c | 169 int bind, int ref) in tcf_simp_dump() argument 175 .refcnt = refcount_read(&d->tcf_refcnt) - ref, in tcf_simp_dump()
|
D | act_gact.c | 191 int bind, int ref) in tcf_gact_dump() argument 197 .refcnt = refcount_read(&gact->tcf_refcnt) - ref, in tcf_gact_dump()
|
D | act_skbmod.c | 217 int bind, int ref) in tcf_skbmod_dump() argument 227 opt.refcnt = refcount_read(&d->tcf_refcnt) - ref, in tcf_skbmod_dump()
|
D | act_sample.c | 205 int bind, int ref) in tcf_sample_dump() argument 211 .refcnt = refcount_read(&s->tcf_refcnt) - ref, in tcf_sample_dump()
|
D | act_vlan.c | 254 int bind, int ref) in tcf_vlan_dump() argument 261 .refcnt = refcount_read(&v->tcf_refcnt) - ref, in tcf_vlan_dump()
|
D | act_nat.c | 260 int bind, int ref) in tcf_nat_dump() argument 266 .refcnt = refcount_read(&p->tcf_refcnt) - ref, in tcf_nat_dump()
|
/net/batman-adv/ |
D | originator.c | 181 static void batadv_orig_node_vlan_release(struct kref *ref) in batadv_orig_node_vlan_release() argument 185 orig_vlan = container_of(ref, struct batadv_orig_node_vlan, refcount); in batadv_orig_node_vlan_release() 235 static void batadv_neigh_ifinfo_release(struct kref *ref) in batadv_neigh_ifinfo_release() argument 239 neigh_ifinfo = container_of(ref, struct batadv_neigh_ifinfo, refcount); in batadv_neigh_ifinfo_release() 262 static void batadv_hardif_neigh_release(struct kref *ref) in batadv_hardif_neigh_release() argument 266 hardif_neigh = container_of(ref, struct batadv_hardif_neigh_node, in batadv_hardif_neigh_release() 292 static void batadv_neigh_node_release(struct kref *ref) in batadv_neigh_node_release() argument 298 neigh_node = container_of(ref, struct batadv_neigh_node, refcount); in batadv_neigh_node_release() 854 static void batadv_orig_ifinfo_release(struct kref *ref) in batadv_orig_ifinfo_release() argument 859 orig_ifinfo = container_of(ref, struct batadv_orig_ifinfo, refcount); in batadv_orig_ifinfo_release() [all …]
|
D | tvlv.c | 38 static void batadv_tvlv_handler_release(struct kref *ref) in batadv_tvlv_handler_release() argument 42 tvlv_handler = container_of(ref, struct batadv_tvlv_handler, refcount); in batadv_tvlv_handler_release() 94 static void batadv_tvlv_container_release(struct kref *ref) in batadv_tvlv_container_release() argument 98 tvlv = container_of(ref, struct batadv_tvlv_container, refcount); in batadv_tvlv_container_release()
|
D | hard-interface.h | 106 void batadv_hardif_release(struct kref *ref);
|
/net/netfilter/ |
D | xt_quota2.c | 54 atomic_t ref; member 189 atomic_set(&e->ref, 1); in q2_new_counter() 217 atomic_inc(&e->ref); in q2_get_counter() 288 if (!atomic_dec_and_test(&e->ref)) { in quota_mt2_destroy()
|
/net/ceph/ |
D | string_table.c | 88 void ceph_release_string(struct kref *ref) in ceph_release_string() argument 90 struct ceph_string *cs = container_of(ref, struct ceph_string, kref); in ceph_release_string()
|
/net/netfilter/ipset/ |
D | ip_set_hash_gen.h | 107 atomic_t ref; /* References for resizing */ member 599 if (atomic_dec_and_test(&t->uref) && atomic_read(&t->ref)) { in mtype_gc() 690 atomic_set(&orig->ref, 1); in mtype_resize() 806 atomic_set(&orig->ref, 0); in mtype_resize() 1006 if (atomic_read(&t->ref) && ext->target) { in mtype_add() 1033 if (atomic_dec_and_test(&t->uref) && atomic_read(&t->ref)) { in mtype_add() 1094 if (atomic_read(&t->ref) && ext->target) { in mtype_del() 1146 if (atomic_dec_and_test(&t->uref) && atomic_read(&t->ref)) { in mtype_del() 1306 if (nla_put_net32(skb, IPSET_ATTR_REFERENCES, htonl(set->ref)) || in mtype_head() 1334 if (atomic_dec_and_test(&t->uref) && atomic_read(&t->ref)) { in mtype_uref()
|
/net/mac802154/ |
D | llsec.c | 124 kref_init(&key->ref); in llsec_key_alloc() 162 static void llsec_key_release(struct kref *ref) in llsec_key_release() argument 167 key = container_of(ref, struct mac802154_llsec_key, ref); in llsec_key_release() 179 kref_get(&key->ref); in llsec_key_get() 185 kref_put(&key->ref, llsec_key_release); in llsec_key_put()
|
D | llsec.h | 26 struct kref ref; member
|
/net/bluetooth/hidp/ |
D | core.c | 929 kref_init(&session->ref); in hidp_session_new() 976 kref_get(&session->ref); in hidp_session_get() 980 static void session_free(struct kref *ref) in session_free() argument 982 struct hidp_session *session = container_of(ref, struct hidp_session, in session_free() 983 ref); in session_free() 997 kref_put(&session->ref, session_free); in hidp_session_put()
|
/net/qrtr/ |
D | qrtr.c | 123 struct kref ref; member 145 struct qrtr_node *node = container_of(kref, struct qrtr_node, ref); in __qrtr_node_release() 162 kref_get(&node->ref); in qrtr_node_acquire() 171 kref_put_mutex(&node->ref, __qrtr_node_release, &qrtr_node_lock); in qrtr_node_release() 436 kref_init(&node->ref); in qrtr_endpoint_register()
|