Home
last modified time | relevance | path

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

/net/tipc/
Dname_distr.c119 struct distr_item *item; in tipc_named_publish() local
130 item = (struct distr_item *)msg_data(buf_msg(buf)); in tipc_named_publish()
131 publ_to_item(item, publ); in tipc_named_publish()
143 struct distr_item *item; in tipc_named_withdraw() local
154 item = (struct distr_item *)msg_data(buf_msg(buf)); in tipc_named_withdraw()
155 publ_to_item(item, publ); in tipc_named_withdraw()
167 struct distr_item *item = NULL; in tipc_named_node_up() local
187 item = (struct distr_item *)msg_data(buf_msg(buf)); in tipc_named_node_up()
189 publ_to_item(item, publ); in tipc_named_node_up()
190 item++; in tipc_named_node_up()
[all …]
Dhandler.c57 struct queue_item *item; in tipc_k_signal() local
65 item = kmem_cache_alloc(tipc_queue_item_cache, GFP_ATOMIC); in tipc_k_signal()
66 if (!item) { in tipc_k_signal()
71 item->handler = routine; in tipc_k_signal()
72 item->data = argument; in tipc_k_signal()
73 list_add_tail(&item->next_signal, &signal_queue_head); in tipc_k_signal()
81 struct queue_item *__volatile__ item; in process_signal_queue() local
86 item = list_entry(l, struct queue_item, next_signal); in process_signal_queue()
87 list_del(&item->next_signal); in process_signal_queue()
89 item->handler(item->data); in process_signal_queue()
[all …]
Dbcast.h151 struct port_list *item = pl_ptr; in tipc_port_list_add() local
156 for (; ; cnt -= item_sz, item = item->next) { in tipc_port_list_add()
160 if (item->ports[i] == port) in tipc_port_list_add()
163 item->ports[i] = port; in tipc_port_list_add()
167 if (!item->next) { in tipc_port_list_add()
168 item->next = kmalloc(sizeof(*item), GFP_ATOMIC); in tipc_port_list_add()
169 if (!item->next) { in tipc_port_list_add()
173 item->next->next = NULL; in tipc_port_list_add()
186 struct port_list *item; in tipc_port_list_free() local
189 for (item = pl_ptr->next; item; item = next) { in tipc_port_list_free()
[all …]
Dport.c167 struct port_list *item = dp; in tipc_port_recv_mcast() local
180 item = dp = &dports; in tipc_port_recv_mcast()
202 item = item->next; in tipc_port_recv_mcast()
204 msg_set_destport(buf_msg(b),item->ports[index]); in tipc_port_recv_mcast()
/net/sunrpc/auth_gss/
Dsvcauth_gss.c81 static struct rsi *rsi_lookup(struct rsi *item);
98 static inline int rsi_hash(struct rsi *item) in rsi_hash() argument
100 return hash_mem(item->in_handle.data, item->in_handle.len, RSI_HASHBITS) in rsi_hash()
101 ^ hash_mem(item->in_token.data, item->in_token.len, RSI_HASHBITS); in rsi_hash()
106 struct rsi *item = container_of(a, struct rsi, h); in rsi_match() local
108 return netobj_equal(&item->in_handle, &tmp->in_handle) in rsi_match()
109 && netobj_equal(&item->in_token, &tmp->in_token); in rsi_match()
129 struct rsi *item = container_of(citem, struct rsi, h); in rsi_init() local
135 new->in_handle.len = item->in_handle.len; in rsi_init()
136 item->in_handle.len = 0; in rsi_init()
[all …]
/net/sunrpc/
Dsvcauth_unix.c97 struct cache_head *item = container_of(kref, struct cache_head, ref); in ip_map_put() local
98 struct ip_map *im = container_of(item, struct ip_map,h); in ip_map_put()
100 if (test_bit(CACHE_VALID, &item->flags) && in ip_map_put()
101 !test_bit(CACHE_NEGATIVE, &item->flags)) in ip_map_put()
134 struct ip_map *item = container_of(citem, struct ip_map, h); in ip_map_init() local
136 strcpy(new->m_class, item->m_class); in ip_map_init()
137 ipv6_addr_copy(&new->m_addr, &item->m_addr); in ip_map_init()
142 struct ip_map *item = container_of(citem, struct ip_map, h); in update() local
144 kref_get(&item->m_client->h.ref); in update()
145 new->m_client = item->m_client; in update()
[all …]
Dcache.c37 static int cache_defer_req(struct cache_req *req, struct cache_head *item);
38 static void cache_revisit_request(struct cache_head *item);
545 #define DFR_HASH(item) ((((long)item)>>4 ^ (((long)item)>>13)) % DFR_HASHSIZE) argument
554 static int cache_defer_req(struct cache_req *req, struct cache_head *item) in cache_defer_req() argument
557 int hash = DFR_HASH(item); in cache_defer_req()
570 dreq->item = item; in cache_defer_req()
595 if (!test_bit(CACHE_PENDING, &item->flags)) { in cache_defer_req()
597 cache_revisit_request(item); in cache_defer_req()
602 static void cache_revisit_request(struct cache_head *item) in cache_revisit_request() argument
608 int hash = DFR_HASH(item); in cache_revisit_request()
[all …]
/net/netfilter/
Dnf_conntrack_ecache.c39 struct nf_ct_event item = { in __nf_ct_deliver_cached_events() local
47 &item); in __nf_ct_deliver_cached_events()
Dnf_conntrack_netlink.c413 struct nf_ct_event *item = (struct nf_ct_event *)ptr; in ctnetlink_conntrack_event() local
414 struct nf_conn *ct = item->ct; in ctnetlink_conntrack_event()
437 if (!item->report && !nfnetlink_has_listeners(group)) in ctnetlink_conntrack_event()
447 nlh = NLMSG_PUT(skb, item->pid, 0, type, sizeof(struct nfgenmsg)); in ctnetlink_conntrack_event()
515 nfnetlink_send(skb, item->pid, group, item->report); in ctnetlink_conntrack_event()
1492 struct nf_exp_event *item = (struct nf_exp_event *)ptr; in ctnetlink_expect_event() local
1493 struct nf_conntrack_expect *exp = item->exp; in ctnetlink_expect_event()
1505 if (!item->report && in ctnetlink_expect_event()
1516 nlh = NLMSG_PUT(skb, item->pid, 0, type, sizeof(struct nfgenmsg)); in ctnetlink_expect_event()
1530 nfnetlink_send(skb, item->pid, NFNLGRP_CONNTRACK_EXP_NEW, item->report); in ctnetlink_expect_event()
Dnf_conntrack_h323_main.c883 &setup->fastStart.item[i]); in process_setup()
914 &callproc->fastStart.item[i]); in process_callproceeding()
944 &connect->fastStart.item[i]); in process_connect()
974 &alert->fastStart.item[i]); in process_alerting()
1013 &facility->fastStart.item[i]); in process_facility()
1043 &progress->fastStart.item[i]); in process_progress()
1099 &pdu->h245Control.item[i]); in process_q931()
1366 rrq->callSignalAddress.item, in process_rrq()
1374 rrq->rasAddress.item, in process_rrq()
1405 rcf->callSignalAddress.item, in process_rcf()
[all …]