/include/linux/ |
H A D | ww_mutex.h | 47 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 D | eventfd.h | 33 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 D | blk-mq.h | 208 #define queue_for_each_ctx(q, ctx, i) \ 210 ({ ctx = per_cpu_ptr((q)->queue_ctx, (i)); 1; }); (i)++) 212 #define hctx_for_each_ctx(hctx, ctx, i) \ 214 ({ ctx = (hctx)->ctxs[(i)]; 1; }); (i)++)
|
H A D | firewire.h | 455 int fw_iso_context_set_channels(struct fw_iso_context *ctx, u64 *channels); 456 int fw_iso_context_queue(struct fw_iso_context *ctx, 460 void fw_iso_context_queue_flush(struct fw_iso_context *ctx); 461 int fw_iso_context_flush_completions(struct fw_iso_context *ctx); 462 int fw_iso_context_start(struct fw_iso_context *ctx, 464 int fw_iso_context_stop(struct fw_iso_context *ctx); 465 void fw_iso_context_destroy(struct fw_iso_context *ctx);
|
H A D | nfs_fs.h | 363 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 D | audit.h | 33 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 D | security.h | 319 * @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 D | filter.h | 289 #define SK_RUN_FILTER(filter, ctx) \ 290 (*filter->prog->bpf_func)(ctx, filter->prog->insnsi) 331 #define BPF_PROG_RUN(filter, ctx) (*filter->bpf_func)(ctx, filter->insnsi)
|
H A D | nfs_page.h | 98 extern struct nfs_page *nfs_create_request(struct nfs_open_context *ctx,
|
H A D | if_team.h | 154 int (*getter)(struct team *team, struct team_gsetter_ctx *ctx); 155 int (*setter)(struct team *team, struct team_gsetter_ctx *ctx);
|
/include/drm/ |
H A D | drm_modeset_lock.h | 33 * @ww_ctx: base acquire ctx 38 * ctx. And if any lock fxn returns -EDEADLK, it must backoff and 86 void drm_modeset_acquire_init(struct drm_modeset_acquire_ctx *ctx, 88 void drm_modeset_acquire_fini(struct drm_modeset_acquire_ctx *ctx); 89 void drm_modeset_drop_locks(struct drm_modeset_acquire_ctx *ctx); 90 void drm_modeset_backoff(struct drm_modeset_acquire_ctx *ctx); 91 int drm_modeset_backoff_interruptible(struct drm_modeset_acquire_ctx *ctx); 122 struct drm_modeset_acquire_ctx *ctx); 124 struct drm_modeset_acquire_ctx *ctx); 140 struct drm_modeset_acquire_ctx *ctx); [all...] |
/include/net/netfilter/ |
H A D | nft_masq.h | 10 int nft_masq_init(const struct nft_ctx *ctx, 16 int nft_masq_validate(const struct nft_ctx *ctx, const struct nft_expr *expr,
|
H A D | nft_meta.h | 14 int nft_meta_get_init(const struct nft_ctx *ctx, 18 int nft_meta_set_init(const struct nft_ctx *ctx,
|
H A D | nft_reject.h | 11 int nft_reject_init(const struct nft_ctx *ctx,
|
H A D | nf_tables.h | 100 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/crypto/ |
H A D | cast6.h | 17 int __cast6_setkey(struct cast6_ctx *ctx, const u8 *key, 21 void __cast6_encrypt(struct cast6_ctx *ctx, u8 *dst, const u8 *src); 22 void __cast6_decrypt(struct cast6_ctx *ctx, u8 *dst, const u8 *src);
|
H A D | lrw.h | 27 int lrw_init_table(struct lrw_table_ctx *ctx, const u8 *tweak); 28 void lrw_free_table(struct lrw_table_ctx *ctx); 36 void (*crypt_fn)(void *ctx, u8 *blks, unsigned int nbytes);
|
H A D | serpent.h | 20 int __serpent_setkey(struct serpent_ctx *ctx, const u8 *key, 24 void __serpent_encrypt(struct serpent_ctx *ctx, u8 *dst, const u8 *src); 25 void __serpent_decrypt(struct serpent_ctx *ctx, u8 *dst, const u8 *src);
|
H A D | cast5.h | 20 void __cast5_encrypt(struct cast5_ctx *ctx, u8 *dst, const u8 *src); 21 void __cast5_decrypt(struct cast5_ctx *ctx, u8 *dst, const u8 *src);
|
H A D | xts.h | 16 void (*tweak_fn)(void *ctx, u8* dst, const u8* src); 18 void (*crypt_fn)(void *ctx, u8 *blks, unsigned int nbytes);
|
H A D | twofish.h | 20 int __twofish_setkey(struct twofish_ctx *ctx, const u8 *key,
|
H A D | aes.h | 37 int crypto_aes_expand_key(struct crypto_aes_ctx *ctx, const u8 *in_key,
|
/include/linux/usb/ |
H A D | cdc_ncm.h | 139 int cdc_ncm_rx_verify_nth16(struct cdc_ncm_ctx *ctx, struct sk_buff *skb_in);
|
/include/linux/mlx5/ |
H A D | device.h | 569 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
|
/include/net/ |
H A D | flow.h | 230 u8 dir, struct flow_cache_object *oldobj, void *ctx); 235 void *ctx);
|