Home
last modified time | relevance | path

Searched refs:ctx (Results 1 – 25 of 136) sorted by relevance

123456

/include/linux/
A Dww_mutex.h112 lock->ctx = NULL; in ww_mutex_init()
145 ctx->task = current; in ww_acquire_init()
147 ctx->acquired = 0; in ww_acquire_init()
148 ctx->wounded = false; in ww_acquire_init()
152 ctx->done_acquire = 0; in ww_acquire_init()
156 debug_check_no_locks_freed((void *)ctx, sizeof(*ctx)); in ww_acquire_init()
162 mutex_acquire_nest(&ctx->first_lock_dep_map, 0, 0, &ctx->dep_map, _RET_IP_); in ww_acquire_init()
166 ctx->deadlock_inject_countdown = ctx->stamp & 0xf; in ww_acquire_init()
187 ctx->done_acquire = 1; in ww_acquire_done()
211 ctx->done_acquire = 1; in ww_acquire_fini()
[all …]
A Deventfd.h34 void eventfd_ctx_put(struct eventfd_ctx *ctx);
38 void eventfd_signal_mask(struct eventfd_ctx *ctx, __poll_t mask);
39 int eventfd_ctx_remove_wait_queue(struct eventfd_ctx *ctx, wait_queue_entry_t *wait,
41 void eventfd_ctx_do_read(struct eventfd_ctx *ctx, __u64 *cnt);
60 static inline void eventfd_signal_mask(struct eventfd_ctx *ctx, __poll_t mask) in eventfd_signal_mask() argument
64 static inline void eventfd_ctx_put(struct eventfd_ctx *ctx) in eventfd_ctx_put() argument
69 static inline int eventfd_ctx_remove_wait_queue(struct eventfd_ctx *ctx, in eventfd_ctx_remove_wait_queue() argument
80 static inline void eventfd_ctx_do_read(struct eventfd_ctx *ctx, __u64 *cnt) in eventfd_ctx_do_read() argument
87 static inline void eventfd_signal(struct eventfd_ctx *ctx) in eventfd_signal() argument
89 eventfd_signal_mask(ctx, 0); in eventfd_signal()
A Dtee_core.h83 int (*open)(struct tee_context *ctx);
84 void (*release)(struct tee_context *ctx);
85 int (*open_session)(struct tee_context *ctx,
88 int (*close_session)(struct tee_context *ctx, u32 session);
89 int (*system_session)(struct tee_context *ctx, u32 session);
90 int (*invoke_func)(struct tee_context *ctx,
96 int (*supp_send)(struct tee_context *ctx, u32 ret, u32 num_params,
98 int (*shm_register)(struct tee_context *ctx, struct tee_shm *shm,
248 int (*shm_register)(struct tee_context *ctx,
254 int (*shm_unregister)(struct tee_context *ctx,
[all …]
A Dtee_drv.h66 struct tee_context *ctx; member
106 struct tee_shm *tee_shm_alloc_kernel_buf(struct tee_context *ctx, size_t size);
116 struct tee_shm *tee_shm_register_kernel_buf(struct tee_context *ctx,
203 void tee_client_close_context(struct tee_context *ctx);
210 void tee_client_get_version(struct tee_context *ctx,
223 int tee_client_open_session(struct tee_context *ctx,
235 int tee_client_close_session(struct tee_context *ctx, u32 session);
249 int tee_client_system_session(struct tee_context *ctx, u32 session);
260 int tee_client_invoke_func(struct tee_context *ctx,
273 int tee_client_cancel_req(struct tee_context *ctx,
A Ddamon.h421 void (*walk_fn)(void *data, struct damon_ctx *ctx,
831 #define damon_for_each_target(t, ctx) \ argument
834 #define damon_for_each_target_safe(t, next, ctx) \ argument
837 #define damon_for_each_scheme(s, ctx) \ argument
838 list_for_each_entry(s, &(ctx)->schemes, list)
840 #define damon_for_each_scheme_safe(s, next, ctx) \ argument
907 bool damon_targets_empty(struct damon_ctx *ctx);
913 void damon_destroy_ctx(struct damon_ctx *ctx);
915 void damon_set_schemes(struct damon_ctx *ctx,
925 return ctx->ops.id == DAMON_OPS_VADDR || ctx->ops.id == DAMON_OPS_FVADDR; in damon_target_has_pid()
[all …]
A Dbacking-file.h29 struct backing_file_ctx *ctx);
32 struct backing_file_ctx *ctx);
36 struct backing_file_ctx *ctx);
40 struct backing_file_ctx *ctx);
42 struct backing_file_ctx *ctx);
A Dverification.h50 int (*view_content)(void *ctx,
53 void *ctx);
58 int (*view_content)(void *ctx,
62 void *ctx);
A Duserfaultfd_k.h122 extern ssize_t mfill_atomic_zeropage(struct userfaultfd_ctx *ctx,
129 extern int mwriteprotect_range(struct userfaultfd_ctx *ctx, unsigned long start,
137 ssize_t move_pages(struct userfaultfd_ctx *ctx, unsigned long dst_start,
148 return vma->vm_userfaultfd_ctx.ctx == vm_ctx.ctx; in is_mergeable_vm_userfaultfd_ctx()
248 struct userfaultfd_ctx *uffd_ctx = vma->vm_userfaultfd_ctx.ctx; in vma_has_uffd_without_event_remap()
283 int userfaultfd_register_range(struct userfaultfd_ctx *ctx,
289 void userfaultfd_release_new(struct userfaultfd_ctx *ctx);
292 struct userfaultfd_ctx *ctx);
364 struct vm_userfaultfd_ctx *ctx) in mremap_userfaultfd_prep() argument
368 static inline void mremap_userfaultfd_complete(struct vm_userfaultfd_ctx *ctx, in mremap_userfaultfd_complete() argument
[all …]
/include/crypto/
A Dsha2.h181 __sha256_update(&ctx->ctx, data, len); in sha224_update()
247 __hmac_sha256_init(&ctx->ctx, &key->key); in hmac_sha224_init()
278 __sha256_update(&ctx->ctx.sha_ctx, data, data_len); in hmac_sha224_update()
354 __sha256_update(&ctx->ctx, data, len); in sha256_update()
420 __hmac_sha256_init(&ctx->ctx, &key->key); in hmac_sha256_init()
451 __sha256_update(&ctx->ctx.sha_ctx, data, data_len); in hmac_sha256_update()
561 __sha512_update(&ctx->ctx, data, len); in sha384_update()
627 __hmac_sha512_init(&ctx->ctx, &key->key); in hmac_sha384_init()
658 __sha512_update(&ctx->ctx.sha_ctx, data, data_len); in hmac_sha384_update()
734 __sha512_update(&ctx->ctx, data, len); in sha512_update()
[all …]
A Dsha1.h64 void sha1_init(struct sha1_ctx *ctx);
76 void sha1_update(struct sha1_ctx *ctx, const u8 *data, size_t len);
87 void sha1_final(struct sha1_ctx *ctx, u8 out[SHA1_DIGEST_SIZE]);
142 void hmac_sha1_init(struct hmac_sha1_ctx *ctx, const struct hmac_sha1_key *key);
156 void hmac_sha1_init_usingrawkey(struct hmac_sha1_ctx *ctx,
169 static inline void hmac_sha1_update(struct hmac_sha1_ctx *ctx, in hmac_sha1_update() argument
172 sha1_update(&ctx->sha_ctx, data, data_len); in hmac_sha1_update()
184 void hmac_sha1_final(struct hmac_sha1_ctx *ctx, u8 out[SHA1_DIGEST_SIZE]);
A Daes.h68 int aes_expandkey(struct crypto_aes_ctx *ctx, const u8 *in_key,
77 void aes_encrypt(const struct crypto_aes_ctx *ctx, u8 *out, const u8 *in);
85 void aes_decrypt(const struct crypto_aes_ctx *ctx, u8 *out, const u8 *in);
90 void aescfb_encrypt(const struct crypto_aes_ctx *ctx, u8 *dst, const u8 *src,
92 void aescfb_decrypt(const struct crypto_aes_ctx *ctx, u8 *dst, const u8 *src,
A Ddes.h27 void des_encrypt(const struct des_ctx *ctx, u8 *dst, const u8 *src);
28 void des_decrypt(const struct des_ctx *ctx, u8 *dst, const u8 *src);
42 int des_expand_key(struct des_ctx *ctx, const u8 *key, unsigned int keylen);
54 int des3_ede_expand_key(struct des3_ede_ctx *ctx, const u8 *key,
A Dcast6.h18 int __cast6_setkey(struct cast6_ctx *ctx, const u8 *key, unsigned int keylen);
21 void __cast6_encrypt(const void *ctx, u8 *dst, const u8 *src);
22 void __cast6_decrypt(const void *ctx, u8 *dst, const u8 *src);
A Dserpent.h21 int __serpent_setkey(struct serpent_ctx *ctx, const u8 *key,
25 void __serpent_encrypt(const void *ctx, u8 *dst, const u8 *src);
26 void __serpent_decrypt(const void *ctx, u8 *dst, const u8 *src);
/include/media/
A Ddvb_vb2.h117 static inline int dvb_vb2_init(struct dvb_vb2_ctx *ctx, in dvb_vb2_init() argument
122 static inline int dvb_vb2_release(struct dvb_vb2_ctx *ctx) in dvb_vb2_release() argument
126 #define dvb_vb2_is_streaming(ctx) (0) argument
127 #define dvb_vb2_fill_buffer(ctx, file, wait, flags) (0) argument
129 static inline __poll_t dvb_vb2_poll(struct dvb_vb2_ctx *ctx, in dvb_vb2_poll() argument
151 int dvb_vb2_release(struct dvb_vb2_ctx *ctx);
159 int dvb_vb2_is_streaming(struct dvb_vb2_ctx *ctx);
170 int dvb_vb2_fill_buffer(struct dvb_vb2_ctx *ctx,
198 int dvb_vb2_stream_on(struct dvb_vb2_ctx *ctx);
207 int dvb_vb2_stream_off(struct dvb_vb2_ctx *ctx);
[all …]
/include/uapi/linux/
A Dbpf.h5855 FN(unspec, 0, ##ctx) \
5859 FN(probe_read, 4, ##ctx) \
5867 FN(tail_call, 12, ##ctx) \
5878 FN(redirect, 23, ##ctx) \
5883 FN(csum_diff, 28, ##ctx) \
5903 FN(set_hash, 48, ##ctx) \
5919 FN(bind, 64, ##ctx) \
5922 FN(get_stack, 67, ##ctx) \
5960 FN(strtol, 105, ##ctx) \
6002 FN(d_path, 147, ##ctx) \
[all …]
/include/trace/events/
A Dio_uring.h43 __entry->ctx = ctx;
85 __entry->ctx = ctx;
122 __entry->ctx = req->ctx;
159 __entry->ctx = req->ctx;
200 __entry->ctx = req->ctx;
236 __entry->ctx = req->ctx;
267 __entry->ctx = ctx;
338 __entry->ctx = ctx;
581 __entry->ctx = ctx;
634 __entry->ctx = ctx;
[all …]
A Dfirewire.h497 TP_ARGS(ctx),
516 TP_ARGS(ctx),
534 TP_ARGS(ctx),
540 TP_ARGS(ctx),
546 TP_ARGS(ctx),
645 TP_ARGS(ctx),
663 TP_ARGS(ctx),
669 TP_ARGS(ctx),
675 TP_ARGS(ctx),
681 TP_ARGS(ctx),
[all …]
/include/drm/
A Ddrm_modeset_lock.h103 void drm_modeset_drop_locks(struct drm_modeset_acquire_ctx *ctx);
104 int drm_modeset_backoff(struct drm_modeset_acquire_ctx *ctx);
136 struct drm_modeset_acquire_ctx *ctx);
149 struct drm_modeset_acquire_ctx *ctx);
175 #define DRM_MODESET_LOCK_ALL_BEGIN(dev, ctx, flags, ret) \ argument
178 drm_modeset_acquire_init(&ctx, flags); \
180 ret = drm_modeset_lock_all_ctx(dev, &ctx); \
203 #define DRM_MODESET_LOCK_ALL_END(dev, ctx, ret) \ argument
206 ret = drm_modeset_backoff(&ctx); \
210 drm_modeset_drop_locks(&ctx); \
[all …]
A Ddrm_mipi_dsi.h293 void mipi_dsi_generic_write_multi(struct mipi_dsi_multi_context *ctx,
299 #define mipi_dsi_msleep(ctx, delay) \ argument
301 if (!(ctx)->accum_err) \
305 #define mipi_dsi_usleep_range(ctx, min, max) \ argument
307 if (!(ctx)->accum_err) \
364 void mipi_dsi_dcs_nop_multi(struct mipi_dsi_multi_context *ctx);
369 void mipi_dsi_dcs_set_tear_on_multi(struct mipi_dsi_multi_context *ctx,
372 void mipi_dsi_dcs_soft_reset_multi(struct mipi_dsi_multi_context *ctx);
415 #define mipi_dsi_generic_write_seq_multi(ctx, seq...) \ argument
418 mipi_dsi_generic_write_multi(ctx, d, ARRAY_SIZE(d)); \
[all …]
/include/net/
A Dmacsec.h328 int (*mdo_dev_open)(struct macsec_context *ctx);
329 int (*mdo_dev_stop)(struct macsec_context *ctx);
331 int (*mdo_add_secy)(struct macsec_context *ctx);
332 int (*mdo_upd_secy)(struct macsec_context *ctx);
333 int (*mdo_del_secy)(struct macsec_context *ctx);
335 int (*mdo_add_rxsc)(struct macsec_context *ctx);
336 int (*mdo_upd_rxsc)(struct macsec_context *ctx);
337 int (*mdo_del_rxsc)(struct macsec_context *ctx);
339 int (*mdo_add_rxsa)(struct macsec_context *ctx);
340 int (*mdo_upd_rxsa)(struct macsec_context *ctx);
[all …]
/include/crypto/internal/
A Dscompress.h32 void *ctx);
35 void *ctx);
40 void (*free_ctx)(void *ctx);
78 u8 *dst, unsigned int *dlen, void *ctx) in crypto_scomp_compress() argument
80 return crypto_scomp_alg(tfm)->compress(tfm, src, slen, dst, dlen, ctx); in crypto_scomp_compress()
86 void *ctx) in crypto_scomp_decompress() argument
89 ctx); in crypto_scomp_decompress()
/include/rdma/
A Drw.h45 int rdma_rw_ctx_init(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 port_num,
48 void rdma_rw_ctx_destroy(struct rdma_rw_ctx *ctx, struct ib_qp *qp,
52 int rdma_rw_ctx_signature_init(struct rdma_rw_ctx *ctx, struct ib_qp *qp,
57 void rdma_rw_ctx_destroy_signature(struct rdma_rw_ctx *ctx, struct ib_qp *qp,
62 struct ib_send_wr *rdma_rw_ctx_wrs(struct rdma_rw_ctx *ctx, struct ib_qp *qp,
64 int rdma_rw_ctx_post(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 port_num,
/include/video/
A Dimx-ipu-image-convert.h23 struct ipu_image_convert_ctx *ctx; member
41 void *ctx);
106 void ipu_image_convert_unprepare(struct ipu_image_convert_ctx *ctx);
137 void ipu_image_convert_abort(struct ipu_image_convert_ctx *ctx);
/include/net/netfilter/
A Dnft_meta.h18 int nft_meta_get_init(const struct nft_ctx *ctx,
22 int nft_meta_set_init(const struct nft_ctx *ctx,
40 void nft_meta_set_destroy(const struct nft_ctx *ctx,
43 int nft_meta_set_validate(const struct nft_ctx *ctx,

Completed in 60 milliseconds

123456