Home
last modified time | relevance | path

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

/ipc/
Dmqueue.c365 struct mqueue_fs_context *ctx = fc->fs_private; in mqueue_get_tree() local
367 return get_tree_keyed(fc, mqueue_fill_super, ctx->ipc_ns); in mqueue_get_tree()
372 struct mqueue_fs_context *ctx = fc->fs_private; in mqueue_fs_context_free() local
374 put_ipc_ns(ctx->ipc_ns); in mqueue_fs_context_free()
375 kfree(ctx); in mqueue_fs_context_free()
380 struct mqueue_fs_context *ctx; in mqueue_init_fs_context() local
382 ctx = kzalloc(sizeof(struct mqueue_fs_context), GFP_KERNEL); in mqueue_init_fs_context()
383 if (!ctx) in mqueue_init_fs_context()
386 ctx->ipc_ns = get_ipc_ns(current->nsproxy->ipc_ns); in mqueue_init_fs_context()
388 fc->user_ns = get_user_ns(ctx->ipc_ns->user_ns); in mqueue_init_fs_context()
[all …]