Searched defs:ctx (Results 1 - 15 of 15) sorted by relevance

/include/linux/
H A Deventfd.h33 struct eventfd_ctx *eventfd_ctx_get(struct eventfd_ctx *ctx);
34 void eventfd_ctx_put(struct eventfd_ctx *ctx);
38 __u64 eventfd_signal(struct eventfd_ctx *ctx, __u64 n);
39 ssize_t eventfd_ctx_read(struct eventfd_ctx *ctx, int no_wait, __u64 *cnt);
40 int eventfd_ctx_remove_wait_queue(struct eventfd_ctx *ctx, wait_queue_t *wait,
59 static inline int eventfd_signal(struct eventfd_ctx *ctx, int n) argument
64 static inline void eventfd_ctx_put(struct eventfd_ctx *ctx) argument
69 static inline ssize_t eventfd_ctx_read(struct eventfd_ctx *ctx, int no_wait, argument
75 static inline int eventfd_ctx_remove_wait_queue(struct eventfd_ctx *ctx, argument
H A Dww_mutex.h47 struct ww_acquire_ctx *ctx; member in struct:ww_mutex
89 lock->ctx = NULL;
97 * @ctx: w/w acquire context to initialize
119 static inline void ww_acquire_init(struct ww_acquire_ctx *ctx, argument
122 ctx->task = current;
123 ctx->stamp = atomic_long_inc_return(&ww_class->stamp);
124 ctx->acquired = 0;
126 ctx->ww_class = ww_class;
127 ctx->done_acquire = 0;
128 ctx
153 ww_acquire_done(struct ww_acquire_ctx *ctx) argument
170 ww_acquire_fini(struct ww_acquire_ctx *ctx) argument
223 ww_mutex_lock(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) argument
262 ww_mutex_lock_interruptible(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) argument
295 ww_mutex_lock_slow(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) argument
331 ww_mutex_lock_slow_interruptible(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) argument
[all...]
H A Daudit.h33 char ctx[0]; member in struct:audit_sig_info
216 extern int auditsc_get_stamp(struct audit_context *ctx,
373 static inline int auditsc_get_stamp(struct audit_context *ctx, argument
440 void audit_log(struct audit_context *ctx, gfp_t gfp_mask, int type,
443 extern struct audit_buffer *audit_log_start(struct audit_context *ctx, gfp_t gfp_mask, int type);
491 void audit_log(struct audit_context *ctx, gfp_t gfp_mask, int type, argument
494 static inline struct audit_buffer *audit_log_start(struct audit_context *ctx, argument
H A Dccp.h243 * @ctx: current hash value
254 * - type, ctx, ctx_len, src, src_len, final
257 * The ctx variable is used as both input and output. On completion of the
263 struct scatterlist *ctx; member in struct:ccp_sha_engine
H A Dnfs_fs.h363 extern struct nfs_open_context *get_nfs_open_context(struct nfs_open_context *ctx);
364 extern void put_nfs_open_context(struct nfs_open_context *ctx);
367 extern void nfs_inode_attach_open_context(struct nfs_open_context *ctx);
368 extern void nfs_file_set_open_context(struct file *filp, struct nfs_open_context *ctx);
369 extern struct nfs_lock_context *nfs_get_lock_context(struct nfs_open_context *ctx);
437 struct nfs_open_context *ctx = local
439 if (ctx)
440 return ctx->cred;
H A Djbd2.h1375 char ctx[JBD_MAX_CHECKSUM_SIZE]; member in struct:__anon453
1384 *(u32 *)desc.ctx = crc;
1389 return *(u32 *)desc.ctx;
H A Dperf_event.h312 * modifications require ctx->lock
322 * Locked for modification by both ctx->mutex and ctx->lock; holding
378 * ctx_time already accounts for ctx->timestamp. Therefore to
389 struct perf_event_context *ctx; member in struct:perf_event
527 struct perf_event_context ctx; member in struct:perf_cpu_context
H A Dnfs_xdr.h233 struct nfs_open_context *ctx; member in struct:nfs4_layoutget_args
1461 void (*close_context)(struct nfs_open_context *ctx, int);
1463 struct nfs_open_context *ctx,
H A Dsecurity.h319 * @ctx pointer to place the pointer to the resulting context in.
1060 * @ctx contains the xfrm_sec_ctx
1063 * @ctx contains the xfrm_sec_ctx.
1091 * @ctx contains the xfrm_sec_ctx for which the access control is being
1414 * @ctx contains the string which we wish to set in the inode.
1415 * @ctxlen contains the length of @ctx.
1429 * @ctx contains the string which we wish to set in the inode.
1430 * @ctxlen contains the length of @ctx.
1433 * On success, returns 0 and fills out @ctx and @ctxlen with the security
1437 * @ctx i
2127 security_dentry_init_security(struct dentry *dentry, int mode, struct qstr *name, void **ctx, u32 *ctxlen) argument
2650 security_inode_notifysecctx(struct inode *inode, void *ctx, u32 ctxlen) argument
2654 security_inode_setsecctx(struct dentry *dentry, void *ctx, u32 ctxlen) argument
2658 security_inode_getsecctx(struct inode *inode, void **ctx, u32 *ctxlen) argument
2942 security_xfrm_policy_free(struct xfrm_sec_ctx *ctx) argument
2946 security_xfrm_policy_delete(struct xfrm_sec_ctx *ctx) argument
2972 security_xfrm_policy_lookup(struct xfrm_sec_ctx *ctx, u32 fl_secid, u8 dir) argument
[all...]
H A Dskbuff.h288 * The ctx field is used to track device context.
293 void *ctx; member in struct:ubuf_info
H A Dfs.h2789 static inline bool dir_emit(struct dir_context *ctx, argument
2793 return ctx->actor(ctx, name, namelen, ctx->pos, ino, type) == 0;
2795 static inline bool dir_emit_dot(struct file *file, struct dir_context *ctx) argument
2797 return ctx->actor(ctx, ".", 1, ctx->pos,
2800 static inline bool dir_emit_dotdot(struct file *file, struct dir_context *ctx) argument
2802 return ctx
2805 dir_emit_dots(struct file *file, struct dir_context *ctx) argument
[all...]
/include/linux/fsl/bestcomm/
H A Dbestcomm_priv.h74 u32 *ctx; member in struct:bcom_engine
/include/net/netfilter/
H A Dnf_tables.h100 int nft_data_init(const struct nft_ctx *ctx, struct nft_data *data,
118 int nft_validate_data_load(const struct nft_ctx *ctx, enum nft_registers reg,
145 int (*fn)(const struct nft_ctx *ctx,
213 void (*walk)(const struct nft_ctx *ctx,
293 int nf_tables_bind_set(const struct nft_ctx *ctx, struct nft_set *set,
295 void nf_tables_unbind_set(const struct nft_ctx *ctx, struct nft_set *set,
342 int (*init)(const struct nft_ctx *ctx,
345 void (*destroy)(const struct nft_ctx *ctx,
349 int (*validate)(const struct nft_ctx *ctx,
401 * @ctx
407 struct nft_ctx ctx; member in struct:nft_trans
[all...]
/include/linux/mlx5/
H A Dqp.h437 struct mlx5_qp_context ctx; member in struct:mlx5_create_qp_mbox_in
465 struct mlx5_qp_context ctx; member in struct:mlx5_modify_qp_mbox_in
484 struct mlx5_qp_context ctx; member in struct:mlx5_query_qp_mbox_out
H A Ddevice.h569 struct mlx5_srq_ctx ctx; member in struct:mlx5_create_srq_mbox_in
600 struct mlx5_srq_ctx ctx; member in struct:mlx5_query_srq_mbox_out
643 struct mlx5_cq_context ctx; member in struct:mlx5_create_cq_mbox_in
674 struct mlx5_cq_context ctx; member in struct:mlx5_query_cq_mbox_out
683 struct mlx5_cq_context ctx; member in struct:mlx5_modify_cq_mbox_in
734 struct mlx5_eq_context ctx; member in struct:mlx5_create_eq_mbox_in
784 struct mlx5_eq_context ctx; member in struct:mlx5_query_eq_mbox_out

Completed in 305 milliseconds