/linux-master/drivers/dma/sh/ |
H A D | shdma-base.c | 76 dma_cookie_t cookie; local 83 cookie = dma_cookie_assign(tx); 92 chunk->async_tx.cookie > 0 || 93 chunk->async_tx.cookie == -EBUSY || 104 chunk->cookie = cookie; 108 tx->cookie, &chunk->async_tx, schan->id); 153 return cookie; 328 dma_cookie_t cookie = 0; local 339 BUG_ON(tx->cookie > 810 shdma_tx_status(struct dma_chan *chan, dma_cookie_t cookie, struct dma_tx_state *txstate) argument [all...] |
/linux-master/drivers/scsi/cxlflash/ |
H A D | backend.h | 23 void *cookie, char *name); 24 void (*unmap_afu_irq)(void *ctx_cookie, int num, void *cookie);
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | uprobe_multi.c | 44 __u64 cookie = test_cookie ? bpf_get_attach_cookie(ctx) : 0; 49 (!test_cookie || (cookie == __cookie))) \
|
H A D | test_migrate_reuseport.c | 8 * select a listener (reuseport_map[migrate_map[cookie]]) 101 __u64 cookie; local 107 cookie = bpf_get_socket_cookie(reuse_md->sk); 109 key = bpf_map_lookup_elem(&migrate_map, &cookie);
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | sk_storage_omem_uncharge.c | 27 optlen = sizeof(skel->bss->cookie); 28 err = getsockopt(sk_fd, SOL_SOCKET, SO_COOKIE, &skel->bss->cookie, &optlen);
|
H A D | assign_reuse.c | 22 static __u64 cookie(int fd) function 24 __u64 cookie = 0; local 25 socklen_t cookie_len = sizeof(cookie); 28 ret = getsockopt(fd, SOL_SOCKET, SO_COOKIE, &cookie, &cookie_len); 29 ASSERT_OK(ret, "cookie"); 30 ASSERT_GT(cookie, 0, "cookie_invalid"); 32 return cookie; 157 ASSERT_EQ(skel->bss->sk_cookie_seen, cookie(*fd_sv),
|
/linux-master/drivers/gpu/drm/msm/ |
H A D | msm_iommu.c | 166 adreno_smmu->set_ttbr0_cfg(adreno_smmu->cookie, NULL); 204 static void msm_iommu_tlb_flush_all(void *cookie) argument 206 struct msm_iommu_pagetable *pagetable = cookie; 214 pagetable->tlb->tlb_flush_all((void *)adreno_smmu->cookie); 220 size_t granule, void *cookie) 222 struct msm_iommu_pagetable *pagetable = cookie; 230 pagetable->tlb->tlb_flush_walk(iova, size, granule, (void *)adreno_smmu->cookie); 236 unsigned long iova, size_t granule, void *cookie) 259 if (adreno_smmu->cookie) 260 ttbr1_cfg = adreno_smmu->get_ttbr1_cfg(adreno_smmu->cookie); 219 msm_iommu_tlb_flush_walk(unsigned long iova, size_t size, size_t granule, void *cookie) argument 235 msm_iommu_tlb_add_page(struct iommu_iotlb_gather *gather, unsigned long iova, size_t granule, void *cookie) argument [all...] |
/linux-master/arch/powerpc/kernel/ |
H A D | stacktrace.c | 27 void __no_sanitize_address arch_stack_walk(stack_trace_consume_fn consume_entry, void *cookie, argument 32 if (regs && !consume_entry(cookie, regs->nip)) 52 if (!consume_entry(cookie, ip)) 66 void *cookie, struct task_struct *task) 145 if (!consume_entry(cookie, ip)) 65 arch_stack_walk_reliable(stack_trace_consume_fn consume_entry, void *cookie, struct task_struct *task) argument
|
/linux-master/tools/testing/selftests/net/af_unix/ |
H A D | diag_uid.c | 24 __u64 cookie; local 65 optlen = sizeof(self->cookie); 66 ret = getsockopt(self->unix_fd, SOL_SOCKET, SO_COOKIE, &self->cookie, &optlen); 93 (__u32)self->cookie, 94 (__u32)(self->cookie >> 32)
|
/linux-master/fs/netfs/ |
H A D | internal.h | 157 struct fscache_cookie *cookie = ctx->cache; local 159 return fscache_cookie_valid(cookie) && cookie->cache_priv && 160 fscache_cookie_enabled(cookie); 230 * fscache-cookie.c 238 extern void fscache_print_cookie(struct fscache_cookie *cookie, char prefix); 239 extern bool fscache_begin_cookie_access(struct fscache_cookie *cookie, 242 static inline void fscache_see_cookie(struct fscache_cookie *cookie, argument 245 trace_fscache_cookie(cookie->debug_id, refcount_read(&cookie [all...] |
/linux-master/samples/bpf/ |
H A D | cookie_uid_helper_example.c | 13 * cookie: 877, uid: 0x3e8, Pakcet Count: 20, Bytes Count: 11058 14 * cookie: 132, uid: 0x0, Pakcet Count: 2, Bytes Count: 286 15 * cookie: 812, uid: 0x3e8, Pakcet Count: 3, Bytes Count: 1726 16 * cookie: 802, uid: 0x3e8, Pakcet Count: 2, Bytes Count: 104 17 * cookie: 877, uid: 0x3e8, Pakcet Count: 20, Bytes Count: 11058 18 * cookie: 831, uid: 0x3e8, Pakcet Count: 2, Bytes Count: 104 19 * cookie: 0, uid: 0x0, Pakcet Count: 6, Bytes Count: 712 20 * cookie: 880, uid: 0xfffe, Pakcet Count: 1, Bytes Count: 70 24 * directly from the ebpf map based on the socket cookie. 105 * pc9. if r0 != 0x0, go to pc+14, since we have the cookie 225 uint64_t cookie; local [all...] |
/linux-master/kernel/rcu/ |
H A D | srcutiny.c | 161 unsigned long cookie; local 163 cookie = get_state_synchronize_srcu(ssp); 164 if (ULONG_CMP_GE(READ_ONCE(ssp->srcu_idx_max), cookie)) 166 WRITE_ONCE(ssp->srcu_idx_max, cookie); 222 * get_state_synchronize_srcu - Provide an end-of-grace-period cookie 236 * start_poll_synchronize_srcu - Provide cookie and start grace period 252 * poll_state_synchronize_srcu - Has cookie's grace period ended? 254 bool poll_state_synchronize_srcu(struct srcu_struct *ssp, unsigned long cookie) argument 259 return ULONG_CMP_GE(cur_s, cookie) || ULONG_CMP_LT(cur_s, cookie [all...] |
/linux-master/drivers/gpu/drm/mediatek/ |
H A D | mtk_drm_gem.c | 76 mtk_gem->cookie = dma_alloc_attrs(priv->dma_dev, obj->size, 79 if (!mtk_gem->cookie) { 86 mtk_gem->kvaddr = mtk_gem->cookie; 88 DRM_DEBUG_DRIVER("cookie = %p dma_addr = %pad size = %zu\n", 89 mtk_gem->cookie, &mtk_gem->dma_addr, 108 dma_free_attrs(priv->dma_dev, obj->size, mtk_gem->cookie, 177 ret = dma_mmap_attrs(priv->dma_dev, vma, mtk_gem->cookie, 200 ret = dma_get_sgtable_attrs(priv->dma_dev, sgt, mtk_gem->cookie,
|
/linux-master/include/uapi/linux/android/ |
H A D | binder.h | 88 binder_uintptr_t cookie; member in struct:flat_binder_object 97 * @cookie: opaque data, used by user-space 107 binder_uintptr_t cookie; member in struct:binder_fd_object 206 binder_uintptr_t cookie; member in struct:binder_node_debug_info 305 binder_uintptr_t cookie; /* target object cookie */ member in struct:binder_transaction_data 342 binder_uintptr_t cookie; member in struct:binder_ptr_cookie 347 binder_uintptr_t cookie; member in struct:binder_handle_cookie 358 binder_uintptr_t cookie; member in struct:binder_pri_ptr_cookie 407 * void *: cookie fo [all...] |
/linux-master/fs/lockd/ |
H A D | xdr.c | 160 if (!svcxdr_decode_cookie(xdr, &argp->cookie)) 178 if (!svcxdr_decode_cookie(xdr, &argp->cookie)) 203 if (!svcxdr_decode_cookie(xdr, &argp->cookie)) 222 if (!svcxdr_decode_cookie(xdr, &argp->cookie)) 236 if (!svcxdr_decode_cookie(xdr, &resp->cookie)) 280 if (!svcxdr_decode_cookie(xdr, &argp->cookie)) 327 return svcxdr_encode_cookie(xdr, &resp->cookie) && 336 return svcxdr_encode_cookie(xdr, &resp->cookie) && 345 if (!svcxdr_encode_cookie(xdr, &resp->cookie))
|
H A D | xdr4.c | 155 if (!svcxdr_decode_cookie(xdr, &argp->cookie)) 173 if (!svcxdr_decode_cookie(xdr, &argp->cookie)) 198 if (!svcxdr_decode_cookie(xdr, &argp->cookie)) 217 if (!svcxdr_decode_cookie(xdr, &argp->cookie)) 231 if (!svcxdr_decode_cookie(xdr, &resp->cookie)) 275 if (!svcxdr_decode_cookie(xdr, &argp->cookie)) 322 return svcxdr_encode_cookie(xdr, &resp->cookie) && 331 return svcxdr_encode_cookie(xdr, &resp->cookie) && 340 if (!svcxdr_encode_cookie(xdr, &resp->cookie))
|
H A D | svcproc.c | 124 resp->cookie = argp->cookie; 133 resp->status = cast_status(nlmsvc_testlock(rqstp, file, host, &argp->lock, &resp->lock, &resp->cookie)); 162 resp->cookie = argp->cookie; 182 argp->block, &argp->cookie, 211 resp->cookie = argp->cookie; 252 resp->cookie = argp->cookie; [all...] |
H A D | svc4proc.c | 103 resp->cookie = argp->cookie; 111 resp->status = nlmsvc_testlock(rqstp, file, host, &argp->lock, &resp->lock, &resp->cookie); 139 resp->cookie = argp->cookie; 159 argp->block, &argp->cookie, 187 resp->cookie = argp->cookie; 227 resp->cookie = argp->cookie; [all...] |
/linux-master/net/core/ |
H A D | sock_diag.c | 15 #include <linux/cookie.h> 42 int sock_diag_check_cookie(struct sock *sk, const __u32 *cookie) argument 46 if (cookie[0] == INET_DIAG_NOCOOKIE && cookie[1] == INET_DIAG_NOCOOKIE) 50 if ((u32)res != cookie[0] || (u32)(res >> 32) != cookie[1]) 57 void sock_diag_save_cookie(struct sock *sk, __u32 *cookie) argument 61 cookie[0] = (u32)res; 62 cookie[1] = (u32)(res >> 32);
|
/linux-master/drivers/crypto/qce/ |
H A D | dma.c | 83 dma_cookie_t cookie; local 94 cookie = dmaengine_submit(desc); 96 return dma_submit_error(cookie);
|
/linux-master/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_ll2.h | 40 void *cookie; member in struct:qed_ll2_rx_packet 52 void *cookie; member in struct:qed_ll2_tx_packet 152 * @cookie: Cookie. 160 u16 buf_len, void *cookie, u8 notify_fw);
|
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | core_acl_flex_actions.c | 144 return jhash2((u32 *) fa_cookie->cookie, 157 const struct mlxsw_afa_cookie *cookie = data; local 159 return mlxsw_afa_cookie_hash(&cookie->fa_cookie, seed); 166 const struct mlxsw_afa_cookie *cookie = obj; local 168 if (cookie->fa_cookie.cookie_len == fa_cookie->cookie_len) 169 return memcmp(cookie->fa_cookie.cookie, fa_cookie->cookie, 732 struct mlxsw_afa_cookie *cookie; local 736 cookie 769 mlxsw_afa_cookie_destroy(struct mlxsw_afa *mlxsw_afa, struct mlxsw_afa_cookie *cookie) argument 782 struct mlxsw_afa_cookie *cookie; local 793 mlxsw_afa_cookie_put(struct mlxsw_afa *mlxsw_afa, struct mlxsw_afa_cookie *cookie) argument 805 struct mlxsw_afa_cookie *cookie; local 819 struct mlxsw_afa_cookie *cookie; member in struct:mlxsw_afa_cookie_ref 847 struct mlxsw_afa_cookie *cookie; local [all...] |
/linux-master/net/sched/ |
H A D | cls_matchall.c | 70 unsigned long cookie, 78 cls_mall.cookie = cookie; 86 unsigned long cookie, 100 cls_mall.cookie = cookie; 106 mall_destroy_hw_filter(tp, head, cookie, NULL); 117 mall_destroy_hw_filter(tp, head, cookie, NULL); 291 cls_mall.cookie = (unsigned long)head; 312 unsigned long cookie) 68 mall_destroy_hw_filter(struct tcf_proto *tp, struct cls_mall_head *head, unsigned long cookie, struct netlink_ext_ack *extack) argument 84 mall_replace_hw_filter(struct tcf_proto *tp, struct cls_mall_head *head, unsigned long cookie, struct netlink_ext_ack *extack) argument 310 mall_stats_hw_filter(struct tcf_proto *tp, struct cls_mall_head *head, unsigned long cookie) argument [all...] |
/linux-master/tools/bpf/bpftool/ |
H A D | net.c | 101 typedef int (*dump_nlmsg_t)(void *cookie, void *msg, struct nlattr **tb); 103 typedef int (*__dump_nlmsg_t)(struct nlmsghdr *nlmsg, dump_nlmsg_t, void *cookie); 150 void *cookie) 195 ret = _fn(nh, fn, cookie); 208 void *cookie) 219 return dump_class_nlmsg(cookie, t, tb); 223 dump_nlmsg_t dump_class_nlmsg, void *cookie) 242 dump_class_nlmsg, cookie); 247 void *cookie) 258 return dump_qdisc_nlmsg(cookie, 148 netlink_recv(int sock, __u32 nl_pid, __u32 seq, __dump_nlmsg_t _fn, dump_nlmsg_t fn, void *cookie) argument 206 __dump_class_nlmsg(struct nlmsghdr *nlh, dump_nlmsg_t dump_class_nlmsg, void *cookie) argument 222 netlink_get_class(int sock, unsigned int nl_pid, int ifindex, dump_nlmsg_t dump_class_nlmsg, void *cookie) argument 245 __dump_qdisc_nlmsg(struct nlmsghdr *nlh, dump_nlmsg_t dump_qdisc_nlmsg, void *cookie) argument 261 netlink_get_qdisc(int sock, unsigned int nl_pid, int ifindex, dump_nlmsg_t dump_qdisc_nlmsg, void *cookie) argument 284 __dump_filter_nlmsg(struct nlmsghdr *nlh, dump_nlmsg_t dump_filter_nlmsg, void *cookie) argument 300 netlink_get_filter(int sock, unsigned int nl_pid, int ifindex, int handle, dump_nlmsg_t dump_filter_nlmsg, void *cookie) argument 324 __dump_link_nlmsg(struct nlmsghdr *nlh, dump_nlmsg_t dump_link_nlmsg, void *cookie) argument 339 netlink_get_link(int sock, unsigned int nl_pid, dump_nlmsg_t dump_link_nlmsg, void *cookie) argument 361 dump_link_nlmsg(void *cookie, void *msg, struct nlattr **tb) argument 390 dump_class_qdisc_nlmsg(void *cookie, void *msg, struct nlattr **tb) argument 424 dump_filter_nlmsg(void *cookie, void *msg, struct nlattr **tb) argument [all...] |
/linux-master/drivers/dma/ |
H A D | virt-dma.h | 97 dma_cookie_t cookie; local 99 cookie = vd->tx.cookie; 102 vd, cookie);
|