Searched refs:cookie (Results 151 - 175 of 872) sorted by relevance

1234567891011>>

/linux-master/drivers/tty/serial/
H A Dkgdboc.c202 int cookie; local
232 cookie = console_srcu_read_lock();
241 console_srcu_read_unlock(cookie);
492 int cookie; local
505 cookie = console_srcu_read_lock();
510 console_srcu_read_unlock(cookie);
/linux-master/fs/afs/
H A Ddir.c579 struct afs_lookup_one_cookie *cookie = local
583 cookie->name.name, cookie->name.len, name, nlen,
590 if (cookie->name.len != nlen ||
591 memcmp(cookie->name.name, name, nlen) != 0) {
596 cookie->fid.vnode = ino;
597 cookie->fid.unique = dtype;
598 cookie->found = 1;
613 struct afs_lookup_one_cookie cookie = { local
623 ret = afs_dir_iterate(dir, &cookie
647 struct afs_lookup_cookie *cookie = local
793 struct afs_lookup_cookie *cookie; local
[all...]
/linux-master/fs/cachefiles/
H A Dkey.c39 const u8 *key = fscache_get_key(object->cookie), *kend;
41 unsigned int acc, i, n, nle, nbe, keylen = object->cookie->key_len;
/linux-master/drivers/misc/cxl/
H A Dirq.c225 irq_handler_t handler, void *cookie, const char *name)
242 result = request_irq(virq, handler, 0, name, cookie);
251 void cxl_unmap_irq(unsigned int virq, void *cookie) argument
253 free_irq(virq, cookie);
258 void *cookie,
268 if (!(virq = cxl_map_irq(adapter, hwirq, handler, cookie, name)))
402 void afu_release_irqs(struct cxl_context *ctx, void *cookie) argument
413 cxl_unmap_irq(virq, cookie);
224 cxl_map_irq(struct cxl *adapter, irq_hw_number_t hwirq, irq_handler_t handler, void *cookie, const char *name) argument
256 cxl_register_one_irq(struct cxl *adapter, irq_handler_t handler, void *cookie, irq_hw_number_t *dest_hwirq, unsigned int *dest_virq, const char *name) argument
/linux-master/drivers/input/joystick/
H A Dsensehat-joystick.c34 static irqreturn_t sensehat_joystick_report(int irq, void *cookie) argument
36 struct sensehat_joystick *sensehat_joystick = cookie;
/linux-master/arch/arm64/kvm/
H A Dstacktrace.c127 stack_trace_consume_fn consume_entry, void *cookie)
132 if (!consume_entry(cookie, state->pc))
126 unwind(struct unwind_state *state, stack_trace_consume_fn consume_entry, void *cookie) argument
/linux-master/tools/testing/selftests/bpf/progs/
H A Dkprobe_multi.c44 __u64 cookie = test_cookie ? bpf_get_attach_cookie(ctx) : 0;
49 (!test_cookie || (cookie == __cookie))) \
/linux-master/include/misc/
H A Dcxl.h103 * IRQS numbers start from 1 (CAIA defines AFU IRQ 0 for page faults). cookie
107 irq_handler_t handler, void *cookie, char *name);
109 void cxl_unmap_afu_irq(struct cxl_context *cxl, int num, void *cookie);
/linux-master/drivers/net/ethernet/mscc/
H A Docelot.h105 unsigned long cookie, bool take_ts,
107 int ocelot_trap_del(struct ocelot *ocelot, int port, unsigned long cookie);
/linux-master/drivers/mmc/host/
H A Drenesas_sdhi_sys_dmac.c161 dma_cookie_t cookie; local
201 cookie = dmaengine_submit(desc);
202 if (cookie < 0) {
204 ret = cookie;
233 dma_cookie_t cookie; local
277 cookie = dmaengine_submit(desc);
278 if (cookie < 0) {
280 ret = cookie;
/linux-master/drivers/dma/
H A Dmmp_pdma.c345 dma_cookie_t cookie = -EBUSY; local
350 cookie = dma_cookie_assign(&child->async_tx);
358 return cookie;
487 new->async_tx.cookie = 0;
507 first->async_tx.cookie = -EBUSY;
572 new->async_tx.cookie = 0;
585 first->async_tx.cookie = -EBUSY;
660 new->async_tx.cookie = 0;
676 first->async_tx.cookie = -EBUSY;
762 dma_cookie_t cookie)
761 mmp_pdma_residue(struct mmp_pdma_chan *chan, dma_cookie_t cookie) argument
835 mmp_pdma_tx_status(struct dma_chan *dchan, dma_cookie_t cookie, struct dma_tx_state *txstate) argument
903 dma_cookie_t cookie = desc->async_tx.cookie; local
[all...]
H A Dfsldma.c412 dma_cookie_t cookie = -EINVAL; local
429 cookie = dma_cookie_assign(&child->async_tx);
437 return cookie;
502 * @cookie: Freescale DMA transaction identifier
508 struct fsl_desc_sw *desc, dma_cookie_t cookie)
511 dma_cookie_t ret = cookie;
513 BUG_ON(txd->cookie < 0);
515 if (txd->cookie > 0) {
516 ret = txd->cookie;
639 dma_cookie_t cookie local
507 fsldma_run_tx_complete_actions(struct fsldma_chan *chan, struct fsl_desc_sw *desc, dma_cookie_t cookie) argument
891 fsl_tx_status(struct dma_chan *dchan, dma_cookie_t cookie, struct dma_tx_state *txstate) argument
[all...]
/linux-master/tools/lib/bpf/
H A Dnetlink.c26 typedef int (*libbpf_dump_nlmsg_t)(void *cookie, void *msg, struct nlattr **tb);
29 void *cookie);
134 void *cookie)
201 ret = _fn(nh, fn, cookie);
225 void *cookie)
243 parse_msg, parse_attr, cookie);
250 void *cookie)
255 __u16 *id = cookie;
345 libbpf_dump_nlmsg_t dump_link_nlmsg, void *cookie)
357 return dump_link_nlmsg(cookie, if
132 libbpf_netlink_recv(int sock, __u32 nl_pid, int seq, __dump_nlmsg_t _fn, libbpf_dump_nlmsg_t fn, void *cookie) argument
222 libbpf_netlink_send_recv(struct libbpf_nla_req *req, int proto, __dump_nlmsg_t parse_msg, libbpf_dump_nlmsg_t parse_attr, void *cookie) argument
249 parse_genl_family_id(struct nlmsghdr *nh, libbpf_dump_nlmsg_t fn, void *cookie) argument
344 __dump_link_nlmsg(struct nlmsghdr *nlh, libbpf_dump_nlmsg_t dump_link_nlmsg, void *cookie) argument
360 get_xdp_info(void *cookie, void *msg, struct nlattr **tb) argument
405 parse_xdp_features(struct nlmsghdr *nh, libbpf_dump_nlmsg_t fn, void *cookie) argument
656 __get_tc_info(void *cookie, struct tcmsg *tc, struct nlattr **tb, bool unicast) argument
681 get_tc_info(struct nlmsghdr *nh, libbpf_dump_nlmsg_t fn, void *cookie) argument
[all...]
/linux-master/net/ipv4/
H A Dtcp_metrics.c33 struct tcp_fastopen_cookie cookie; member in struct:tcp_fastopen_metrics
137 tm->tcpm_fastopen.cookie.exp = false;
138 tm->tcpm_fastopen.cookie.len = 0;
562 struct tcp_fastopen_cookie *cookie)
576 *cookie = tfom->cookie;
577 if (cookie->len <= 0 && tfom->try_exp == 1)
578 cookie->exp = true;
585 struct tcp_fastopen_cookie *cookie, bool syn_lost,
601 if (cookie
561 tcp_fastopen_cache_get(struct sock *sk, u16 *mss, struct tcp_fastopen_cookie *cookie) argument
584 tcp_fastopen_cache_set(struct sock *sk, u16 mss, struct tcp_fastopen_cookie *cookie, bool syn_lost, u16 try_exp) argument
[all...]
/linux-master/fs/ocfs2/dlm/
H A Ddlmlock.c47 u8 node, u64 cookie);
294 create.cookie = lock->ml.cookie;
377 u8 node, u64 cookie)
393 newlock->ml.cookie = cpu_to_be64(cookie);
405 struct dlm_lock * dlm_new_lock(int type, u8 node, u64 cookie, argument
425 dlm_init_lock(lock, type, node, cookie);
477 be64_to_cpu(create->cookie), NULL);
523 /* fetch next node-local (u8 nodenum + u56 cookie) int
376 dlm_init_lock(struct dlm_lock *newlock, int type, u8 node, u64 cookie) argument
524 dlm_get_next_cookie(u8 node_num, u64 *cookie) argument
[all...]
/linux-master/drivers/net/dsa/sja1105/
H A Dsja1105_vl.c425 vl_lookup[k].flow_cookie = rule->cookie;
480 unsigned long cookie = vl_lookup[i].flow_cookie; local
481 struct sja1105_rule *rule = sja1105_rule_find(priv, cookie);
507 struct netlink_ext_ack *extack, unsigned long cookie,
511 struct sja1105_rule *rule = sja1105_rule_find(priv, cookie);
531 rule->cookie = cookie;
582 struct netlink_ext_ack *extack, unsigned long cookie,
587 struct sja1105_rule *rule = sja1105_rule_find(priv, cookie);
630 rule->cookie
506 sja1105_vl_redirect(struct sja1105_private *priv, int port, struct netlink_ext_ack *extack, unsigned long cookie, struct sja1105_key *key, unsigned long destports, bool append) argument
581 sja1105_vl_gate(struct sja1105_private *priv, int port, struct netlink_ext_ack *extack, unsigned long cookie, struct sja1105_key *key, u32 index, s32 prio, u64 base_time, u64 cycle_time, u64 cycle_time_ext, u32 num_entries, struct action_gate_entry *entries) argument
[all...]
/linux-master/include/linux/
H A Ddmaengine.h18 * typedef dma_cookie_t - an opaque DMA cookie
20 * if dma_cookie_t is >0 it's a DMA request cookie, <0 it's an error code
25 static inline int dma_submit_error(dma_cookie_t cookie) argument
27 return cookie < 0 ? cookie : 0;
313 * @cookie: last cookie value returned to client
314 * @completed_cookie: last completed cookie for this channel
331 dma_cookie_t cookie; member in struct:dma_chan
580 * @cookie
601 dma_cookie_t cookie; member in struct:dma_async_tx_descriptor
1205 dmaengine_tx_status(struct dma_chan *chan, dma_cookie_t cookie, struct dma_tx_state *state) argument
1433 dma_async_is_tx_complete(struct dma_chan *chan, dma_cookie_t cookie, dma_cookie_t *last, dma_cookie_t *used) argument
1456 dma_async_is_complete(dma_cookie_t cookie, dma_cookie_t last_complete, dma_cookie_t last_used) argument
1499 dma_sync_wait(struct dma_chan *chan, dma_cookie_t cookie) argument
[all...]
H A Draid_class.h14 const void *cookie; member in struct:raid_function_template
/linux-master/net/wireless/
H A Dtrace.h397 TP_PROTO(struct wiphy *wiphy, struct wireless_dev *wdev, u64 cookie),
398 TP_ARGS(wiphy, wdev, cookie),
402 __field(u64, cookie)
407 __entry->cookie = cookie;
409 TP_printk(WIPHY_PR_FMT ", " WDEV_PR_FMT ", cookie: %lld",
411 (unsigned long long)__entry->cookie)
1376 struct wireless_dev *wdev, u64 cookie),
1377 TP_ARGS(wiphy, wdev, cookie),
1381 __field(u64, cookie)
[all...]
/linux-master/drivers/net/wireless/broadcom/b43legacy/
H A Dxmit.h38 __le16 cookie; member in struct:b43legacy_txhdr_fw3
87 u16 cookie);
92 u16 cookie; /* The cookie from the txhdr */ member in struct:b43legacy_txstatus
120 __le16 cookie; member in struct:b43legacy_hwtxstatus
/linux-master/drivers/net/wireguard/
H A Dpeer.h11 #include "cookie.h"
50 struct cookie latest_cookie;
/linux-master/drivers/gpu/drm/exynos/
H A Dexynos_drm_gem.h27 * @cookie: cookie returned by dma_alloc_attrs
42 void *cookie; member in struct:exynos_drm_gem
/linux-master/fs/notify/inotify/
H A Dinotify.h49 const struct qstr *name, u32 cookie);
/linux-master/drivers/net/ethernet/chelsio/cxgb/
H A Dsge.h69 irqreturn_t t1_interrupt(int irq, void *cookie);
/linux-master/tools/perf/util/intel-pt-decoder/
H A Dintel-pt-log.c96 static ssize_t log_buf__write(void *cookie, const char *buf, size_t size) argument
98 struct log_buf *b = cookie;
120 static int log_buf__close(void *cookie) argument
122 struct log_buf *b = cookie;

Completed in 284 milliseconds

1234567891011>>