Home
last modified time | relevance | path

Searched refs:cookie (Results 1 – 25 of 68) sorted by relevance

123

/include/linux/
Dfscache.h25 #define fscache_cookie_valid(cookie) (cookie) argument
27 #define fscache_cookie_enabled(cookie) (cookie && !test_bit(FSCACHE_COOKIE_DISABLED, &cookie->flags… argument
32 #define fscache_cookie_valid(cookie) (0) argument
34 #define fscache_cookie_enabled(cookie) (0) argument
268 static inline void fscache_use_cookie(struct fscache_cookie *cookie, in fscache_use_cookie() argument
271 if (fscache_cookie_valid(cookie)) in fscache_use_cookie()
272 __fscache_use_cookie(cookie, will_modify); in fscache_use_cookie()
284 static inline void fscache_unuse_cookie(struct fscache_cookie *cookie, in fscache_unuse_cookie() argument
288 if (fscache_cookie_valid(cookie)) in fscache_unuse_cookie()
289 __fscache_unuse_cookie(cookie, aux_data, object_size); in fscache_unuse_cookie()
[all …]
Dfscache-cache.h62 bool (*lookup_cookie)(struct fscache_cookie *cookie);
65 void (*withdraw_cookie)(struct fscache_cookie *cookie);
72 bool (*invalidate_cookie)(struct fscache_cookie *cookie);
79 void (*prepare_to_write)(struct fscache_cookie *cookie);
96 extern void fscache_withdraw_cookie(struct fscache_cookie *cookie);
101 struct fscache_cookie *cookie,
104 extern struct fscache_cookie *fscache_get_cookie(struct fscache_cookie *cookie,
106 extern void fscache_put_cookie(struct fscache_cookie *cookie,
108 extern void fscache_end_cookie_access(struct fscache_cookie *cookie,
110 extern void fscache_cookie_lookup_negative(struct fscache_cookie *cookie);
[all …]
Dadreno-smmu-priv.h64 const void *cookie; member
65 const struct io_pgtable_cfg *(*get_ttbr1_cfg)(const void *cookie);
66 int (*set_ttbr0_cfg)(const void *cookie, const struct io_pgtable_cfg *cfg);
67 void (*get_fault_info)(const void *cookie, struct adreno_smmu_fault_info *info);
68 void (*set_stall)(const void *cookie, bool enabled);
69 void (*resume_translation)(const void *cookie, bool terminate);
Dio-pgtable.h42 void (*tlb_flush_all)(void *cookie);
44 void *cookie);
46 unsigned long iova, size_t granule, void *cookie);
189 void *cookie);
216 void *cookie; member
226 iop->cfg.tlb->tlb_flush_all(iop->cookie); in io_pgtable_tlb_flush_all()
234 iop->cfg.tlb->tlb_flush_walk(iova, size, granule, iop->cookie); in io_pgtable_tlb_flush_walk()
243 iop->cfg.tlb->tlb_add_page(gather, iova, granule, iop->cookie); in io_pgtable_tlb_add_page()
254 struct io_pgtable *(*alloc)(struct io_pgtable_cfg *cfg, void *cookie);
Dsock_diag.h32 u64 cookie; in sock_gen_cookie() local
35 cookie = __sock_gen_cookie(sk); in sock_gen_cookie()
38 return cookie; in sock_gen_cookie()
41 int sock_diag_check_cookie(struct sock *sk, const __u32 *cookie);
42 void sock_diag_save_cookie(struct sock *sk, __u32 *cookie);
Dstacktrace.h21 typedef bool (*stack_trace_consume_fn)(void *cookie, unsigned long addr);
38 void arch_stack_walk(stack_trace_consume_fn consume_entry, void *cookie,
58 int arch_stack_walk_reliable(stack_trace_consume_fn consume_entry, void *cookie,
61 void arch_stack_walk_user(stack_trace_consume_fn consume_entry, void *cookie,
Dbacking-dev.h278 unlocked_inode_to_wb_begin(struct inode *inode, struct wb_lock_cookie *cookie) in unlocked_inode_to_wb_begin() argument
286 cookie->locked = smp_load_acquire(&inode->i_state) & I_WB_SWITCH; in unlocked_inode_to_wb_begin()
288 if (unlikely(cookie->locked)) in unlocked_inode_to_wb_begin()
289 xa_lock_irqsave(&inode->i_mapping->i_pages, cookie->flags); in unlocked_inode_to_wb_begin()
304 struct wb_lock_cookie *cookie) in unlocked_inode_to_wb_end() argument
306 if (unlikely(cookie->locked)) in unlocked_inode_to_wb_end()
307 xa_unlock_irqrestore(&inode->i_mapping->i_pages, cookie->flags); in unlocked_inode_to_wb_end()
344 unlocked_inode_to_wb_begin(struct inode *inode, struct wb_lock_cookie *cookie) in unlocked_inode_to_wb_begin() argument
350 struct wb_lock_cookie *cookie) in unlocked_inode_to_wb_end() argument
Dasync.h17 typedef void (*async_func_t) (void *data, async_cookie_t cookie);
119 extern void async_synchronize_cookie(async_cookie_t cookie);
120 extern void async_synchronize_cookie_domain(async_cookie_t cookie,
Dnetlink.h85 u8 cookie[NETLINK_MAX_COOKIE_LEN]; member
154 u64 cookie) in nl_set_extack_cookie_u64() argument
158 memcpy(extack->cookie, &cookie, sizeof(cookie)); in nl_set_extack_cookie_u64()
159 extack->cookie_len = sizeof(cookie); in nl_set_extack_cookie_u64()
Ddmaengine.h26 static inline int dma_submit_error(dma_cookie_t cookie) in dma_submit_error() argument
28 return cookie < 0 ? cookie : 0; in dma_submit_error()
332 dma_cookie_t cookie; member
604 dma_cookie_t cookie; member
943 dma_cookie_t cookie,
1213 dma_cookie_t cookie, struct dma_tx_state *state) in dmaengine_tx_status() argument
1215 return chan->device->device_tx_status(chan, cookie, state); in dmaengine_tx_status()
1441 dma_cookie_t cookie, dma_cookie_t *last, dma_cookie_t *used) in dma_async_is_tx_complete() argument
1446 status = chan->device->device_tx_status(chan, cookie, &state); in dma_async_is_tx_complete()
1463 static inline enum dma_status dma_async_is_complete(dma_cookie_t cookie, in dma_async_is_complete() argument
[all …]
Dnetfilter_ipv6.h55 const struct tcphdr *th, __u32 cookie);
185 const struct tcphdr *th, __u32 cookie) in nf_cookie_v6_check() argument
192 return v6_ops->cookie_v6_check(iph, th, cookie); in nf_cookie_v6_check()
194 return __cookie_v6_check(iph, th, cookie); in nf_cookie_v6_check()
Ddax.h163 void dax_unlock_page(struct page *page, dax_entry_t cookie);
167 unsigned long index, dax_entry_t cookie);
192 static inline void dax_unlock_page(struct page *page, dax_entry_t cookie) in dax_unlock_page() argument
203 unsigned long index, dax_entry_t cookie) in dax_unlock_mapping_entry() argument
/include/trace/events/
Dfscache.h265 __field(unsigned int, cookie )
271 __entry->cookie = cookie_debug_id;
277 __entry->cookie,
292 __field(unsigned int, cookie )
300 __entry->cookie = cookie_debug_id;
308 __entry->cookie,
355 __field(unsigned int, cookie )
363 __entry->cookie = cookie_debug_id;
371 __entry->cookie,
386 __field(unsigned int, cookie )
[all …]
Dtegra_apb_dma.h11 TP_PROTO(struct dma_chan *dc, dma_cookie_t cookie, struct dma_tx_state *state),
12 TP_ARGS(dc, cookie, state),
15 __field(dma_cookie_t, cookie)
20 __entry->cookie = cookie;
24 __get_str(chan), __entry->cookie, __entry->residue)
/include/linux/soc/apple/
Drtkit.h57 void (*crashed)(void *cookie);
58 void (*recv_message)(void *cookie, u8 endpoint, u64 message);
59 bool (*recv_message_early)(void *cookie, u8 endpoint, u64 message);
60 int (*shmem_setup)(void *cookie, struct apple_rtkit_shmem *bfr);
61 void (*shmem_destroy)(void *cookie, struct apple_rtkit_shmem *bfr);
76 struct apple_rtkit *devm_apple_rtkit_init(struct device *dev, void *cookie,
/include/linux/ceph/
Dcls_lock_client.h15 char *cookie; /* locker's cookie */ member
30 char *lock_name, u8 type, char *cookie,
35 char *lock_name, char *cookie);
39 char *lock_name, char *cookie,
56 char *lock_name, u8 type, char *cookie, char *tag);
/include/linux/fsl/bestcomm/
Dbestcomm.h54 void **cookie; member
187 bcom_submit_next_buffer(struct bcom_task *tsk, void *cookie) in bcom_submit_next_buffer() argument
191 tsk->cookie[tsk->index] = cookie; in bcom_submit_next_buffer()
202 void *cookie = tsk->cookie[tsk->outdex]; in bcom_retrieve_buffer() local
210 return cookie; in bcom_retrieve_buffer()
/include/linux/platform_data/
Dti-sysc.h156 struct clk *ick, struct ti_sysc_cookie *cookie);
158 const struct ti_sysc_cookie *cookie);
160 const struct ti_sysc_cookie *cookie);
163 struct ti_sysc_cookie *cookie);
165 const struct ti_sysc_cookie *cookie);
167 const struct ti_sysc_cookie *cookie);
169 const struct ti_sysc_cookie *cookie);
/include/net/tc_act/
Dtc_ct.h70 tcf_ct_flow_table_restore_skb(struct sk_buff *skb, unsigned long cookie) in tcf_ct_flow_table_restore_skb() argument
72 enum ip_conntrack_info ctinfo = cookie & NFCT_INFOMASK; in tcf_ct_flow_table_restore_skb()
75 ct = (struct nf_conn *)(cookie & NFCT_PTRMASK); in tcf_ct_flow_table_restore_skb()
81 tcf_ct_flow_table_restore_skb(struct sk_buff *skb, unsigned long cookie) { } in tcf_ct_flow_table_restore_skb() argument
/include/linux/qed/
Dqed_ll2_if.h81 void *cookie; member
114 void *cookie,
121 void *cookie,
129 void *cookie,
143 void *cookie; member
173 void *cookie; member
253 void *cookie);
Dqed_fcoe_if.h67 u32 (*get_login_failures)(void *cookie);
128 struct qed_fcoe_cb_ops *ops, void *cookie);
/include/uapi/linux/android/
Dbinder.h136 binder_uintptr_t cookie; member
155 binder_uintptr_t cookie; member
254 binder_uintptr_t cookie; member
351 binder_uintptr_t cookie; /* target object cookie */ member
388 binder_uintptr_t cookie; member
393 binder_uintptr_t cookie; member
404 binder_uintptr_t cookie; member
/include/linux/lockd/
Dxdr.h65 struct nlm_cookie cookie; member
81 struct nlm_cookie cookie; member
/include/misc/
Dcxl.h107 irq_handler_t handler, void *cookie, char *name);
109 void cxl_unmap_afu_irq(struct cxl_context *cxl, int num, void *cookie);
/include/uapi/linux/
Dinotify.h24 __u32 cookie; /* cookie to synchronize two events */ member

123