Home
last modified time | relevance | path

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

/fs/smb/client/
Dfs_context.c333 new_ctx->field = kstrdup(ctx->field, GFP_ATOMIC); \
334 if (new_ctx->field == NULL) { \
335 smb3_cleanup_fs_context_contents(new_ctx); \
342 smb3_fs_context_dup(struct smb3_fs_context *new_ctx, struct smb3_fs_context *ctx) in smb3_fs_context_dup() argument
344 memcpy(new_ctx, ctx, sizeof(*ctx)); in smb3_fs_context_dup()
345 new_ctx->prepath = NULL; in smb3_fs_context_dup()
346 new_ctx->nodename = NULL; in smb3_fs_context_dup()
347 new_ctx->username = NULL; in smb3_fs_context_dup()
348 new_ctx->password = NULL; in smb3_fs_context_dup()
349 new_ctx->password2 = NULL; in smb3_fs_context_dup()
[all …]
Dfs_context.h300 extern int smb3_fs_context_dup(struct smb3_fs_context *new_ctx, struct smb3_fs_context *ctx);
/fs/xfs/
Dxfs_log_cil.c1128 struct xfs_cil_ctx *new_ctx; in xlog_cil_push_work() local
1139 new_ctx = xlog_cil_ctx_alloc(); in xlog_cil_push_work()
1140 new_ctx->ticket = xlog_cil_ticket_alloc(log); in xlog_cil_push_work()
1236 xlog_cil_ctx_switch(cil, new_ctx); in xlog_cil_push_work()
1341 xfs_log_ticket_put(new_ctx->ticket); in xlog_cil_push_work()
1342 kmem_free(new_ctx); in xlog_cil_push_work()
/fs/
Dlibfs.c328 struct offset_ctx *new_ctx = new_dir->i_op->get_offset_ctx(new_dir); in simple_offset_rename_exchange() local
334 simple_offset_remove(new_ctx, new_dentry); in simple_offset_rename_exchange()
336 ret = simple_offset_add(new_ctx, old_dentry); in simple_offset_rename_exchange()
342 simple_offset_remove(new_ctx, old_dentry); in simple_offset_rename_exchange()
348 simple_offset_remove(new_ctx, old_dentry); in simple_offset_rename_exchange()
358 xa_store(&new_ctx->xa, new_index, new_dentry, GFP_KERNEL); in simple_offset_rename_exchange()