Home
last modified time | relevance | path

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

/linux/fs/cachefiles/
H A Dondemand.c294 struct ondemand_anon_file *anon_file) in cachefiles_ondemand_get_fd() argument
312 anon_file->fd = get_unused_fd_flags(O_WRONLY); in cachefiles_ondemand_get_fd()
313 if (anon_file->fd < 0) { in cachefiles_ondemand_get_fd()
314 ret = anon_file->fd; in cachefiles_ondemand_get_fd()
318 anon_file->file = anon_inode_getfile_fmode("[cachefiles]", in cachefiles_ondemand_get_fd()
321 if (IS_ERR(anon_file->file)) { in cachefiles_ondemand_get_fd()
322 ret = PTR_ERR(anon_file->file); in cachefiles_ondemand_get_fd()
330 anon_file->file->private_data = NULL; in cachefiles_ondemand_get_fd()
336 load->fd = anon_file->fd; in cachefiles_ondemand_get_fd()
345 fput(anon_file->file); in cachefiles_ondemand_get_fd()
[all …]