Searched refs:anon_file (Results 1 – 1 of 1) sorted by relevance
279 struct ondemand_anon_file *anon_file) in cachefiles_ondemand_get_fd() argument297 anon_file->fd = get_unused_fd_flags(O_WRONLY); in cachefiles_ondemand_get_fd()298 if (anon_file->fd < 0) { in cachefiles_ondemand_get_fd()299 ret = anon_file->fd; in cachefiles_ondemand_get_fd()303 anon_file->file = anon_inode_getfile("[cachefiles]", in cachefiles_ondemand_get_fd()305 if (IS_ERR(anon_file->file)) { in cachefiles_ondemand_get_fd()306 ret = PTR_ERR(anon_file->file); in cachefiles_ondemand_get_fd()314 anon_file->file->private_data = NULL; in cachefiles_ondemand_get_fd()319 anon_file->file->f_mode |= FMODE_PWRITE | FMODE_LSEEK; in cachefiles_ondemand_get_fd()322 load->fd = anon_file->fd; in cachefiles_ondemand_get_fd()[all …]