Lines Matching refs:params
15 struct shfl_createparms params = {}; in vboxsf_dir_open() local
23 params.handle = SHFL_HANDLE_NIL; in vboxsf_dir_open()
24 params.create_flags = SHFL_CF_DIRECTORY | SHFL_CF_ACT_OPEN_IF_EXISTS | in vboxsf_dir_open()
27 err = vboxsf_create_at_dentry(file_dentry(file), ¶ms); in vboxsf_dir_open()
31 if (params.result != SHFL_FILE_EXISTS) { in vboxsf_dir_open()
36 err = vboxsf_dir_read_all(sbi, sf_d, params.handle); in vboxsf_dir_open()
40 vboxsf_close(sbi->root, params.handle); in vboxsf_dir_open()
45 vboxsf_close(sbi->root, params.handle); in vboxsf_dir_open()
260 struct shfl_createparms params = {}; in vboxsf_dir_create() local
263 params.handle = SHFL_HANDLE_NIL; in vboxsf_dir_create()
264 params.create_flags = SHFL_CF_ACT_CREATE_IF_NEW | SHFL_CF_ACCESS_READWRITE; in vboxsf_dir_create()
266 params.create_flags |= SHFL_CF_DIRECTORY; in vboxsf_dir_create()
268 params.create_flags |= SHFL_CF_ACT_FAIL_IF_EXISTS; in vboxsf_dir_create()
270 params.info.attr.mode = (mode & 0777) | in vboxsf_dir_create()
272 params.info.attr.additional = SHFLFSOBJATTRADD_NOTHING; in vboxsf_dir_create()
274 err = vboxsf_create_at_dentry(dentry, ¶ms); in vboxsf_dir_create()
278 if (params.result != SHFL_FILE_CREATED) in vboxsf_dir_create()
281 err = vboxsf_dir_instantiate(parent, dentry, ¶ms.info); in vboxsf_dir_create()
290 *handle_ret = params.handle; in vboxsf_dir_create()
292 vboxsf_close(sbi->root, params.handle); in vboxsf_dir_create()