Searched refs:handle (Results 1 - 25 of 55) sorted by relevance

123

/net/rfkill/
H A Dinput.c116 * handle global ops first -- during unlocked period
196 static void rfkill_event(struct input_handle *handle, unsigned int type, argument
224 struct input_handle *handle; local
227 handle = kzalloc(sizeof(struct input_handle), GFP_KERNEL);
228 if (!handle)
231 handle->dev = dev;
232 handle->handler = handler;
233 handle->name = "rfkill";
236 error = input_register_handle(handle);
240 error = input_open_device(handle);
253 rfkill_start(struct input_handle *handle) argument
270 rfkill_disconnect(struct input_handle *handle) argument
[all...]
/net/sched/
H A Dcls_u32.c49 u32 handle; member in struct:tc_u_knode
76 u32 handle; member in struct:tc_u_hnode
250 u32_lookup_ht(struct tc_u_common *tp_c, u32 handle) argument
257 if (ht->handle == handle)
264 u32_lookup_key(struct tc_u_hnode *ht, u32 handle) argument
269 sel = TC_U32_HASH(handle);
276 if (n->handle == handle)
283 static unsigned long u32_get(struct tcf_proto *tp, u32 handle) argument
525 gen_new_kid(struct tc_u_hnode *ht, u32 handle) argument
572 u32 handle = nla_get_u32(tb[TCA_U32_LINK]); local
690 u32_change(struct net *net, struct sk_buff *in_skb, struct tcf_proto *tp, unsigned long base, u32 handle, struct nlattr **tca, unsigned long *arg, bool ovr) argument
[all...]
H A Dcls_route.c57 u32 handle; member in struct:route4_filter
200 !(TC_H_MAJ(id^tp->q->handle)))) {
230 static unsigned long route4_get(struct tcf_proto *tp, u32 handle) argument
240 h1 = to_hash(handle);
244 h2 = from_hash(handle >> 16);
253 if (f->handle == handle)
323 h = f->handle;
371 u32 handle, struct route4_head *head,
389 if (new && handle
369 route4_set_parms(struct net *net, struct tcf_proto *tp, unsigned long base, struct route4_filter *f, u32 handle, struct route4_head *head, struct nlattr **tb, struct nlattr *est, int new, bool ovr) argument
463 route4_change(struct net *net, struct sk_buff *in_skb, struct tcf_proto *tp, unsigned long base, u32 handle, struct nlattr **tca, unsigned long *arg, bool ovr) argument
[all...]
H A Dcls_basic.c31 u32 handle; member in struct:basic_filter
59 static unsigned long basic_get(struct tcf_proto *tp, u32 handle) argument
69 if (f->handle == handle)
169 struct tcf_proto *tp, unsigned long base, u32 handle,
187 if (handle && fold->handle != handle)
198 if (handle) {
199 fnew->handle
168 basic_change(struct net *net, struct sk_buff *in_skb, struct tcf_proto *tp, unsigned long base, u32 handle, struct nlattr **tca, unsigned long *arg, bool ovr) argument
[all...]
H A Dcls_cgroup.c22 u32 handle; member in struct:cls_cgroup_head
65 static unsigned long cls_cgroup_get(struct tcf_proto *tp, u32 handle) argument
96 u32 handle, struct nlattr **tca,
109 if (!head && !handle)
112 if (head && handle != head->handle)
121 new->handle = head->handle;
123 new->handle = handle;
94 cls_cgroup_change(struct net *net, struct sk_buff *in_skb, struct tcf_proto *tp, unsigned long base, u32 handle, struct nlattr **tca, unsigned long *arg, bool ovr) argument
[all...]
H A Dcls_bpf.c39 u32 handle; member in struct:cls_bpf_prog
142 static unsigned long cls_bpf_get(struct tcf_proto *tp, u32 handle) argument
152 if (prog->handle == handle) {
242 u32 handle, struct nlattr **tca,
265 if (handle && oldprog->handle != handle) {
271 if (handle == 0)
272 prog->handle
240 cls_bpf_change(struct net *net, struct sk_buff *in_skb, struct tcf_proto *tp, unsigned long base, u32 handle, struct nlattr **tca, unsigned long *arg, bool ovr) argument
[all...]
H A Dcls_fw.c52 static u32 fw_hash(u32 handle) argument
54 handle ^= (handle >> 16);
55 handle ^= (handle >> 8);
56 return handle % HTSIZE;
88 !(TC_H_MAJ(id ^ tp->q->handle)))) {
98 static unsigned long fw_get(struct tcf_proto *tp, u32 handle) argument
106 f = rtnl_dereference(head->ht[fw_hash(handle)]);
108 if (f->id == handle)
230 fw_change(struct net *net, struct sk_buff *in_skb, struct tcf_proto *tp, unsigned long base, u32 handle, struct nlattr **tca, unsigned long *arg, bool ovr) argument
[all...]
H A Dcls_tcindex.c95 res->classid = TC_H_MAKE(TC_H_MAJ(tp->q->handle), key);
107 static unsigned long tcindex_get(struct tcf_proto *tp, u32 handle) argument
112 pr_debug("tcindex_get(tp %p,handle 0x%08x)\n", tp, handle);
113 if (p->perfect && handle >= p->alloc_hash)
115 r = tcindex_lookup(p, handle);
224 u32 handle, struct tcindex_data *p,
314 /* Note: this could be as restrictive as if (handle & ~(mask >> shift))
320 if (handle >= cp->alloc_hash)
353 r = cp->perfect + handle;
223 tcindex_set_parms(struct net *net, struct tcf_proto *tp, unsigned long base, u32 handle, struct tcindex_data *p, struct tcindex_filter_result *r, struct nlattr **tb, struct nlattr *est, bool ovr) argument
414 tcindex_change(struct net *net, struct sk_buff *in_skb, struct tcf_proto *tp, unsigned long base, u32 handle, struct nlattr **tca, unsigned long *arg, bool ovr) argument
[all...]
H A Dcls_rsvp.h98 u32 handle; member in struct:rsvp_filter
238 if (pins->handle == h) {
252 static unsigned long rsvp_get(struct tcf_proto *tp, u32 handle) argument
257 unsigned int h1 = handle & 0xFF;
258 unsigned int h2 = (handle >> 8) & 0xFF;
267 if (f->handle == handle)
333 unsigned int h = f->handle;
452 u32 handle,
470 return handle
450 rsvp_change(struct net *net, struct sk_buff *in_skb, struct tcf_proto *tp, unsigned long base, u32 handle, struct nlattr **tca, unsigned long *arg, bool ovr) argument
[all...]
H A Dcls_flow.c47 u32 handle; member in struct:flow_filter
364 u32 handle, struct nlattr **tca,
425 if (fold->handle != handle && handle)
429 fnew->handle = fold->handle;
433 fnew->handle = fold->handle;
460 if (!handle)
362 flow_change(struct net *net, struct sk_buff *in_skb, struct tcf_proto *tp, unsigned long base, u32 handle, struct nlattr **tca, unsigned long *arg, bool ovr) argument
576 flow_get(struct tcf_proto *tp, u32 handle) argument
[all...]
H A Dsch_api.c255 /* We know handle. Find qdisc among all qdisc's attached to device
259 static struct Qdisc *qdisc_match_from_root(struct Qdisc *root, u32 handle) argument
264 root->handle == handle)
268 if (q->handle == handle)
292 struct Qdisc *qdisc_lookup(struct net_device *dev, u32 handle) argument
296 q = qdisc_match_from_root(dev->qdisc, handle);
303 handle);
570 txt, qdisc->ops->id, qdisc->handle >> 1
878 qdisc_create(struct net_device *dev, struct netdev_queue *dev_queue, struct Qdisc *p, u32 parent, u32 handle, struct nlattr **tca, int *errp) argument
[all...]
H A Dsch_dsmark.c65 sch->handle);
228 if (TC_H_MAJ(skb->priority) == sch->handle)
385 p->q = qdisc_create_dflt(sch->dev_queue, &pfifo_qdisc_ops, sch->handle);
427 tcm->tcm_handle = TC_H_MAKE(TC_H_MAJ(sch->handle), cl - 1);
428 tcm->tcm_info = p->q->handle;
H A Dsch_atm.c202 if (parent && parent != TC_H_ROOT && parent != sch->handle)
252 if (TC_H_MAJ(classid ^ sch->handle)) {
262 classid = TC_H_MAKE(sch->handle, 0x8000 | i);
371 if (TC_H_MAJ(skb->priority) != sch->handle ||
545 &pfifo_qdisc_ops, sch->handle);
552 p->link.classid = sch->handle;
598 tcm->tcm_info = flow->q->handle;
H A Dsch_mq.c61 TC_H_MAKE(TC_H_MAJ(sch->handle),
192 tcm->tcm_info = dev_queue->qdisc_sleeping->handle;
/net/bluetooth/
H A Damp.c105 if (++mgr->handle == 0)
106 mgr->handle = 1;
108 return mgr->handle;
126 hcon->handle = __next_handle(mgr);
221 BT_DBG("%s handle %d", hdev->name, phy_handle);
249 cp.phy_handle = hcon->handle;
293 cp->phy_handle = hcon->handle;
310 void amp_write_rem_assoc_continue(struct hci_dev *hdev, u8 handle) argument
314 BT_DBG("%s phy handle 0x%2.2x", hdev->name, handle);
325 amp_write_remote_assoc(struct hci_dev *hdev, u8 handle) argument
[all...]
H A Damp.h47 void amp_write_remote_assoc(struct hci_dev *hdev, u8 handle);
48 void amp_write_rem_assoc_continue(struct hci_dev *hdev, u8 handle);
H A Dhci_conn.c146 cp.handle = cpu_to_le16(conn->handle);
152 cp.handle = cpu_to_le16(conn->handle);
165 cp.phy_handle = HCI_PHY_HANDLE(conn->handle);
171 static void hci_add_sco(struct hci_conn *conn, __u16 handle) argument
183 cp.handle = cpu_to_le16(handle);
189 bool hci_setup_sync(struct hci_conn *conn, __u16 handle) argument
202 cp.handle
1347 __hci_chan_lookup_handle(struct hci_conn *hcon, __u16 handle) argument
1360 hci_chan_lookup_handle(struct hci_dev *hdev, __u16 handle) argument
[all...]
H A Dhci_event.c103 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle));
122 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle));
146 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle));
750 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle));
1336 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle));
1360 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle));
1431 __u16 handle; local
1442 handle = __le16_to_cpu(cp->handle);
1444 BT_DBG("%s handle
1717 __u16 handle; local
2969 __u16 handle, count; local
3014 __hci_conn_lookup_handle(struct hci_dev *hdev, __u16 handle) argument
3057 __u16 handle, block_count; local
4545 send_conn_param_neg_reply(struct hci_dev *hdev, u16 handle, u8 reason) argument
4563 u16 handle, min, max, latency, timeout; local
[all...]
H A Da2mp.h36 __u8 handle; member in struct:amp_mgr
/net/vmw_vsock/
H A Dvmci_transport.c143 struct vmci_handle handle)
145 /* We register the stream control handler as an any cid handle so we
172 pkt->u.handle = handle;
216 struct vmci_handle handle,
222 proto, handle);
236 struct vmci_handle handle)
249 handle, true);
260 struct vmci_handle handle)
271 VSOCK_PROTO_INVALID, handle,
135 vmci_transport_packet_init(struct vmci_transport_packet *pkt, struct sockaddr_vm *src, struct sockaddr_vm *dst, u8 type, u64 size, u64 mode, struct vmci_transport_waiting_info *wait, u16 proto, struct vmci_handle handle) argument
208 __vmci_transport_send_control_pkt(struct vmci_transport_packet *pkt, struct sockaddr_vm *src, struct sockaddr_vm *dst, enum vmci_transport_packet_type type, u64 size, u64 mode, struct vmci_transport_waiting_info *wait, u16 proto, struct vmci_handle handle, bool convert_error) argument
231 vmci_transport_reply_control_pkt_fast(struct vmci_transport_packet *pkt, enum vmci_transport_packet_type type, u64 size, u64 mode, struct vmci_transport_waiting_info *wait, struct vmci_handle handle) argument
254 vmci_transport_send_control_pkt_bh(struct sockaddr_vm *src, struct sockaddr_vm *dst, enum vmci_transport_packet_type type, u64 size, u64 mode, struct vmci_transport_waiting_info *wait, struct vmci_handle handle) argument
276 vmci_transport_send_control_pkt(struct sock *sk, enum vmci_transport_packet_type type, u64 size, u64 mode, struct vmci_transport_waiting_info *wait, u16 proto, struct vmci_handle handle) argument
352 vmci_transport_send_qp_offer(struct sock *sk, struct vmci_handle handle) argument
361 vmci_transport_send_attach(struct sock *sk, struct vmci_handle handle) argument
537 vmci_transport_queue_pair_alloc(struct vmci_qp **qpair, struct vmci_handle *handle, u64 produce_size, u64 consume_size, u32 peer, u32 flags, bool trusted) argument
1143 struct vmci_handle handle; local
1390 struct vmci_handle handle; local
[all...]
H A Dvmci_transport.h79 struct vmci_handle handle; member in union:vmci_transport_packet::__anon175
/net/sunrpc/auth_gss/
H A Dsvcauth_gss.c24 * The context handle and gss_token are used as a key into the rpcsec_init cache.
61 * Key is context handle (\x if empty) and gss_token.
197 /* handle */
309 * The key is a context handle. The content is:
329 struct xdr_netobj handle; member in struct:rsc
340 kfree(rsci->handle.data);
357 return hash_mem(rsci->handle.data, rsci->handle.len, RSC_HASHBITS);
366 return netobj_equal(&new->handle, &tmp->handle);
564 gss_svc_searchbyctx(struct cache_detail *cd, struct xdr_netobj *handle) argument
1138 gss_proxy_save_rsc(struct cache_detail *cd, struct gssp_upcall_data *ud, uint64_t *handle) argument
1213 uint64_t handle; local
[all...]
/net/tipc/
H A Dcore.h190 void *handle; member in struct:tipc_skb_cb
/net/phonet/
H A Dsocket.c171 u16 handle; local
182 handle = pn_sockaddr_get_object((struct sockaddr_pn *)addr);
183 saddr = pn_addr(handle);
194 err = sk->sk_prot->get_port(sk, pn_port(handle));
374 u16 handle; local
377 if (get_user(handle, (__u16 __user *)arg))
387 saddr = phonet_address_get(dev, pn_addr(handle));
397 handle = pn_object(saddr, pn_port(pn->sobject));
398 return put_user(handle, (__u16 __user *)arg);
/net/sunrpc/
H A Dsvc_xprt.c1038 container_of(dreq, struct svc_deferred_req, handle);
1052 list_add(&dr->handle.recent, &xprt->xpt_deferred);
1064 * This code can only handle requests that consist of an xprt-header
1086 dr->handle.owner = rqstp->rq_server;
1103 dr->handle.revisit = svc_revisit;
1104 return &dr->handle;
1142 handle.recent);
1143 list_del_init(&dr->handle.recent);

Completed in 2638 milliseconds

123