Home
last modified time | relevance | path

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

/mm/
Dreadahead.c581 struct fd f; in ksys_readahead() local
584 f = fdget(fd); in ksys_readahead()
585 if (!f.file || !(f.file->f_mode & FMODE_READ)) in ksys_readahead()
594 if (!f.file->f_mapping || !f.file->f_mapping->a_ops || in ksys_readahead()
595 !S_ISREG(file_inode(f.file)->i_mode)) in ksys_readahead()
598 ret = vfs_fadvise(f.file, offset, count, POSIX_FADV_WILLNEED); in ksys_readahead()
600 fdput(f); in ksys_readahead()
Dfadvise.c195 struct fd f = fdget(fd); in ksys_fadvise64_64() local
198 if (!f.file) in ksys_fadvise64_64()
201 ret = vfs_fadvise(f.file, offset, len, advice); in ksys_fadvise64_64()
203 fdput(f); in ksys_fadvise64_64()
Dhugetlb.c262 static long region_add(struct resv_map *resv, long f, long t) in region_add() argument
271 if (f <= rg->to) in region_add()
288 nrg->from = f; in region_add()
292 add += t - f; in region_add()
297 if (f > rg->from) in region_add()
298 f = rg->from; in region_add()
324 add += (nrg->from - f); /* Added to beginning of region */ in region_add()
325 nrg->from = f; in region_add()
358 static long region_chg(struct resv_map *resv, long f, long t) in region_chg() argument
395 if (f <= rg->to) in region_chg()
[all …]
Dmadvise.c820 struct file *f; in madvise_remove() local
827 f = vma->vm_file; in madvise_remove()
829 if (!f || !f->f_mapping || !f->f_mapping->host) { in madvise_remove()
845 get_file(f); in madvise_remove()
850 error = vfs_fallocate(f, in madvise_remove()
853 fput(f); in madvise_remove()
Dswapfile.c286 unsigned int c, unsigned int f) in cluster_set_count_flag() argument
288 info->flags = f; in cluster_set_count_flag()
304 unsigned int n, unsigned int f) in cluster_set_next_flag() argument
306 info->flags = f; in cluster_set_next_flag()
Dvmalloc.c3064 static int f(pte_t *pte, unsigned long addr, void *data) in f() function
3103 size, f, ptes ? &ptes : NULL)) { in alloc_vm_area()
Dmemory.c4452 struct file *f = vma->vm_file; in print_vma_addr() local
4457 p = file_path(f, buf, PAGE_SIZE); in print_vma_addr()