Home
last modified time | relevance | path

Searched refs:item (Results 1 – 20 of 20) sorted by relevance

/net/netfilter/
Dnf_conntrack_ecache.c136 const struct nf_ct_event *item) in __nf_conntrack_eventmask_report() argument
138 struct nf_conn *ct = item->ct; in __nf_conntrack_eventmask_report()
139 struct net *net = nf_ct_net(item->ct); in __nf_conntrack_eventmask_report()
154 ret = notify->ct_event(events | missed, item); in __nf_conntrack_eventmask_report()
174 struct nf_ct_event item; in nf_conntrack_eventmask_report() local
185 memset(&item, 0, sizeof(item)); in nf_conntrack_eventmask_report()
187 item.ct = ct; in nf_conntrack_eventmask_report()
188 item.portid = e->portid ? e->portid : portid; in nf_conntrack_eventmask_report()
189 item.report = report; in nf_conntrack_eventmask_report()
194 ret = __nf_conntrack_eventmask_report(e, events, missed, &item); in nf_conntrack_eventmask_report()
[all …]
Dnf_conntrack_h323_main.c902 &setup->fastStart.item[i]); in process_setup()
934 &callproc->fastStart.item[i]); in process_callproceeding()
965 &connect->fastStart.item[i]); in process_connect()
996 &alert->fastStart.item[i]); in process_alerting()
1036 &facility->fastStart.item[i]); in process_facility()
1067 &progress->fastStart.item[i]); in process_progress()
1125 &pdu->h245Control.item[i]); in process_q931()
1376 rrq->callSignalAddress.item, in process_rrq()
1385 rrq->rasAddress.item, in process_rrq()
1417 rcf->callSignalAddress.item, in process_rcf()
[all …]
Dnf_conntrack_netlink.c715 ctnetlink_conntrack_event(unsigned int events, const struct nf_ct_event *item) in ctnetlink_conntrack_event() argument
721 struct nf_conn *ct = item->ct; in ctnetlink_conntrack_event()
741 if (!item->report && !nfnetlink_has_listeners(net, group)) in ctnetlink_conntrack_event()
749 nlh = nfnl_msg_put(skb, item->portid, 0, type, flags, nf_ct_l3num(ct), in ctnetlink_conntrack_event()
833 err = nfnetlink_send(skb, net, item->portid, group, item->report, in ctnetlink_conntrack_event()
3116 ctnetlink_expect_event(unsigned int events, const struct nf_exp_event *item) in ctnetlink_expect_event() argument
3118 struct nf_conntrack_expect *exp = item->exp; in ctnetlink_expect_event()
3135 if (!item->report && !nfnetlink_has_listeners(net, group)) in ctnetlink_expect_event()
3143 nlh = nfnl_msg_put(skb, item->portid, 0, type, flags, in ctnetlink_expect_event()
3152 nfnetlink_send(skb, net, item->portid, group, item->report, GFP_ATOMIC); in ctnetlink_expect_event()
/net/ceph/crush/
Dmapper.c415 int item, int x) in is_out() argument
417 if (item >= weight_max) in is_out()
419 if (weight[item] >= 0x10000) in is_out()
421 if (weight[item] == 0) in is_out()
423 if ((crush_hash32_2(CRUSH_HASH_RJENKINS1, x, item) & 0xffff) in is_out()
424 < weight[item]) in is_out()
473 int item = 0; in crush_choose_firstn() local
509 item = bucket_perm_choose( in crush_choose_firstn()
513 item = crush_bucket_choose( in crush_choose_firstn()
519 if (item >= map->max_devices) { in crush_choose_firstn()
[all …]
/net/tipc/
Dname_distr.c99 struct distr_item *item; in tipc_named_publish() local
116 item = (struct distr_item *)msg_data(buf_msg(skb)); in tipc_named_publish()
117 publ_to_item(item, p); in tipc_named_publish()
129 struct distr_item *item; in tipc_named_withdraw() local
145 item = (struct distr_item *)msg_data(buf_msg(skb)); in tipc_named_withdraw()
146 publ_to_item(item, p); in tipc_named_withdraw()
163 struct distr_item *item = NULL; in named_distribute() local
182 item = (struct distr_item *)msg_data(hdr); in named_distribute()
186 publ_to_item(item, publ); in named_distribute()
187 item++; in named_distribute()
[all …]
/net/sunrpc/
Dsvcauth_unix.c106 struct cache_head *item = container_of(kref, struct cache_head, ref); in ip_map_put() local
107 struct ip_map *im = container_of(item, struct ip_map,h); in ip_map_put()
109 if (test_bit(CACHE_VALID, &item->flags) && in ip_map_put()
110 !test_bit(CACHE_NEGATIVE, &item->flags)) in ip_map_put()
129 struct ip_map *item = container_of(citem, struct ip_map, h); in ip_map_init() local
131 strcpy(new->m_class, item->m_class); in ip_map_init()
132 new->m_addr = item->m_addr; in ip_map_init()
137 struct ip_map *item = container_of(citem, struct ip_map, h); in update() local
139 kref_get(&item->m_client->h.ref); in update()
140 new->m_client = item->m_client; in update()
[all …]
Dcache.c40 static bool cache_defer_req(struct cache_req *req, struct cache_head *item);
41 static void cache_revisit_request(struct cache_head *item);
574 #define DFR_HASH(item) ((((long)item)>>4 ^ (((long)item)>>13)) % DFR_HASHSIZE) argument
592 static void __hash_deferred_req(struct cache_deferred_req *dreq, struct cache_head *item) in __hash_deferred_req() argument
594 int hash = DFR_HASH(item); in __hash_deferred_req()
601 struct cache_head *item, in setup_deferral() argument
605 dreq->item = item; in setup_deferral()
609 __hash_deferred_req(dreq, item); in setup_deferral()
632 static void cache_wait_req(struct cache_req *req, struct cache_head *item) in cache_wait_req() argument
640 setup_deferral(dreq, item, 0); in cache_wait_req()
[all …]
/net/sunrpc/auth_gss/
Dsvcauth_gss.c83 static struct rsi *rsi_lookup(struct cache_detail *cd, struct rsi *item);
108 static inline int rsi_hash(struct rsi *item) in rsi_hash() argument
110 return hash_mem(item->in_handle.data, item->in_handle.len, RSI_HASHBITS) in rsi_hash()
111 ^ hash_mem(item->in_token.data, item->in_token.len, RSI_HASHBITS); in rsi_hash()
116 struct rsi *item = container_of(a, struct rsi, h); in rsi_match() local
118 return netobj_equal(&item->in_handle, &tmp->in_handle) && in rsi_match()
119 netobj_equal(&item->in_token, &tmp->in_token); in rsi_match()
139 struct rsi *item = container_of(citem, struct rsi, h); in rsi_init() local
145 new->in_handle.len = item->in_handle.len; in rsi_init()
146 item->in_handle.len = 0; in rsi_init()
[all …]
/net/sched/
Dcls_api.c366 static void tcf_chain_head_change_item(struct tcf_filter_chain_list_item *item, in tcf_chain_head_change_item() argument
369 if (item->chain_head_change) in tcf_chain_head_change_item()
370 item->chain_head_change(tp_head, item->chain_head_change_priv); in tcf_chain_head_change_item()
376 struct tcf_filter_chain_list_item *item; in tcf_chain0_head_change() local
383 list_for_each_entry(item, &block->chain0.filter_chain_list, list) in tcf_chain0_head_change()
384 tcf_chain_head_change_item(item, tp_head); in tcf_chain0_head_change()
765 struct tcf_filter_chain_list_item *item; in tcf_chain0_head_change_cb_add() local
768 item = kmalloc(sizeof(*item), GFP_KERNEL); in tcf_chain0_head_change_cb_add()
769 if (!item) { in tcf_chain0_head_change_cb_add()
773 item->chain_head_change = ei->chain_head_change; in tcf_chain0_head_change_cb_add()
[all …]
Dact_gate.c472 struct nlattr *item; in dumping_entry() local
474 item = nla_nest_start_noflag(skb, TCA_GATE_ONE_ENTRY); in dumping_entry()
475 if (!item) in dumping_entry()
493 return nla_nest_end(skb, item); in dumping_entry()
496 nla_nest_cancel(skb, item); in dumping_entry()
Dsch_taprio.c1829 struct nlattr *item; in dump_entry() local
1831 item = nla_nest_start_noflag(msg, TCA_TAPRIO_SCHED_ENTRY); in dump_entry()
1832 if (!item) in dump_entry()
1849 return nla_nest_end(msg, item); in dump_entry()
1852 nla_nest_cancel(msg, item); in dump_entry()
/net/ceph/
Dmon_client.c368 le64_to_cpu(monc->subs[i].item.start), in __send_subscribe()
369 monc->subs[i].item.flags); in __send_subscribe()
371 memcpy(p, &monc->subs[i].item, sizeof(monc->subs[i].item)); in __send_subscribe()
372 p += sizeof(monc->subs[i].item); in __send_subscribe()
430 monc->subs[sub].item.start == start && in __ceph_monc_want_map()
431 monc->subs[sub].item.flags == flags) in __ceph_monc_want_map()
434 monc->subs[sub].item.start = start; in __ceph_monc_want_map()
435 monc->subs[sub].item.flags = flags; in __ceph_monc_want_map()
465 if (monc->subs[sub].item.flags & CEPH_SUBSCRIBE_ONETIME) in __ceph_monc_got_map()
468 monc->subs[sub].item.start = cpu_to_le64(epoch + 1); in __ceph_monc_got_map()
Ddebugfs.c153 le64_to_cpu(monc->subs[i].item.start), in monc_show()
154 (monc->subs[i].item.flags & in monc_show()
Dosdmap.c987 INIT_LIST_HEAD(&work->item); in alloc_workspace()
994 WARN_ON(!list_empty(&work->item)); in free_workspace()
1012 list_add(&work->item, &wsm->idle_ws); in add_initial_workspace()
1023 item); in cleanup_workspace_manager()
1024 list_del_init(&work->item); in cleanup_workspace_manager()
1045 item); in get_workspace()
1046 list_del_init(&work->item); in get_workspace()
1090 list_add(&work->item, &wsm->idle_ws); in put_workspace()
Dosd_client.c4946 static int decode_watcher(void **p, void *end, struct ceph_watch_item *item) in decode_watcher() argument
4958 ceph_decode_copy_safe(p, end, &item->name, sizeof(item->name), bad); in decode_watcher()
4959 ceph_decode_64_safe(p, end, item->cookie, bad); in decode_watcher()
4963 ret = ceph_decode_entity_addr(p, end, &item->addr); in decode_watcher()
4971 ENTITY_NAME(item->name), item->cookie, in decode_watcher()
4972 ceph_pr_addr(&item->addr)); in decode_watcher()
/net/bridge/
Dbr_fdb.c740 struct switchdev_notifier_fdb_info item; in br_fdb_replay_one() local
743 item.addr = fdb->key.addr.addr; in br_fdb_replay_one()
744 item.vid = fdb->key.vlan_id; in br_fdb_replay_one()
745 item.added_by_user = test_bit(BR_FDB_ADDED_BY_USER, &fdb->flags); in br_fdb_replay_one()
746 item.offloaded = test_bit(BR_FDB_OFFLOADED, &fdb->flags); in br_fdb_replay_one()
747 item.is_local = test_bit(BR_FDB_LOCAL, &fdb->flags); in br_fdb_replay_one()
748 item.info.dev = (!p || item.is_local) ? br->dev : p->dev; in br_fdb_replay_one()
749 item.info.ctx = ctx; in br_fdb_replay_one()
751 err = nb->notifier_call(nb, action, &item); in br_fdb_replay_one()
/net/bpf/
Dtest_run.c92 struct bpf_prog_array_item item = {.prog = prog}; in bpf_test_run() local
100 item.cgroup_storage[stype] = bpf_cgroup_storage_alloc(prog, stype); in bpf_test_run()
101 if (IS_ERR(item.cgroup_storage[stype])) { in bpf_test_run()
102 item.cgroup_storage[stype] = NULL; in bpf_test_run()
104 bpf_cgroup_storage_free(item.cgroup_storage[stype]); in bpf_test_run()
115 run_ctx.prog_item = &item; in bpf_test_run()
125 bpf_cgroup_storage_free(item.cgroup_storage[stype]); in bpf_test_run()
/net/core/
Ddevlink.c6084 struct devlink_fmsg_item *item, *tmp; in devlink_fmsg_free() local
6086 list_for_each_entry_safe(item, tmp, &fmsg->item_list, list) { in devlink_fmsg_free()
6087 list_del(&item->list); in devlink_fmsg_free()
6088 kfree(item); in devlink_fmsg_free()
6096 struct devlink_fmsg_item *item; in devlink_fmsg_nest_common() local
6098 item = kzalloc(sizeof(*item), GFP_KERNEL); in devlink_fmsg_nest_common()
6099 if (!item) in devlink_fmsg_nest_common()
6102 item->attrtype = attrtype; in devlink_fmsg_nest_common()
6103 list_add_tail(&item->list, &fmsg->item_list); in devlink_fmsg_nest_common()
6138 struct devlink_fmsg_item *item; in devlink_fmsg_put_name() local
[all …]
/net/qrtr/
Daf_qrtr.c134 struct list_head item; member
184 list_del(&node->item); in __qrtr_node_release()
603 list_add(&node->item, &qrtr_all_nodes); in qrtr_endpoint_register()
881 list_for_each_entry(node, &qrtr_all_nodes, item) { in qrtr_bcast_enqueue()
/net/sunrpc/xprtrdma/
Dverbs.c679 unsigned long item) in rpcrdma_sendctx_next() argument
681 return likely(item < buf->rb_sc_last) ? item + 1 : 0; in rpcrdma_sendctx_next()