/mm/ |
H A D | failslab.c | 41 mode_t mode = S_IFREG | S_IRUSR | S_IWUSR; local 51 debugfs_create_bool("ignore-gfp-wait", mode, dir, 55 debugfs_create_bool("cache-filter", mode, dir,
|
H A D | mempolicy.c | 115 .mode = MPOL_PREFERRED, 200 * parameter with respect to the policy mode and flags. But, we need to 211 /* if mode is MPOL_DEFAULT, pol is NULL. This is right. */ 219 if (pol->mode == MPOL_PREFERRED && nodes_empty(*nodes)) 235 ret = mpol_ops[pol->mode].create(pol, &nsc->mask2); 237 ret = mpol_ops[pol->mode].create(pol, NULL); 245 static struct mempolicy *mpol_new(unsigned short mode, unsigned short flags, argument 250 pr_debug("setting mode %d flags %d nodes[0] %lx\n", 251 mode, flags, nodes ? nodes_addr(*nodes)[0] : -1); 253 if (mode 709 do_set_mempolicy(unsigned short mode, unsigned short flags, nodemask_t *nodes) argument 1077 do_mbind(unsigned long start, unsigned long len, unsigned short mode, unsigned short mode_flags, nodemask_t *nmask, unsigned long flags) argument 1423 compat_sys_set_mempolicy(int mode, compat_ulong_t __user *nmask, compat_ulong_t maxnode) argument 1446 compat_sys_mbind(compat_ulong_t start, compat_ulong_t len, compat_ulong_t mode, compat_ulong_t __user *nmask, compat_ulong_t maxnode, compat_ulong_t flags) argument 2323 unsigned short mode; local 2460 unsigned short mode; local [all...] |
H A D | shmem.c | 1147 if (!mpol || mpol->mode == MPOL_DEFAULT) 1611 int mode, dev_t dev, unsigned long flags) 1623 inode_init_owner(inode, dir, mode); 1636 switch (mode & S_IFMT) { 1639 init_special_inode(inode, mode, dev); 1873 shmem_mknod(struct inode *dir, struct dentry *dentry, int mode, dev_t dev) argument 1878 inode = shmem_get_inode(dir->i_sb, dir, mode, dev, VM_NORESERVE); 1906 static int shmem_mkdir(struct inode *dir, struct dentry *dentry, int mode) argument 1910 if ((error = shmem_mknod(dir, dentry, mode | S_IFDIR, 0))) 1916 static int shmem_create(struct inode *dir, struct dentry *dentry, int mode, argument 1610 shmem_get_inode(struct super_block *sb, const struct inode *dir, int mode, dev_t dev, unsigned long flags) argument [all...] |
H A D | cleancache.c | 211 .attr = { .name = __stringify(_name), .mode = 0444 }, \
|
H A D | vmscan.c | 104 * enough amount of memory. i.e, mode for high order allocation. 311 * sync mode or just reclaim order-0 pages later. 971 * mode: one of the LRU isolation modes defined above 975 int __isolate_lru_page(struct page *page, int mode, int file) argument 988 if (mode != ISOLATE_BOTH && (!PageActive(page) != !mode)) 991 if (mode != ISOLATE_BOTH && page_is_file_cache(page) != file) 1032 * @mode: One of the LRU isolation modes 1039 unsigned long *scanned, int order, int mode, int file) 1059 switch (__isolate_lru_page(page, mode, fil 1037 isolate_lru_pages(unsigned long nr_to_scan, struct list_head *src, struct list_head *dst, unsigned long *scanned, int order, int mode, int file) argument 1161 isolate_pages_global(unsigned long nr, struct list_head *dst, unsigned long *scanned, int order, int mode, struct zone *z, int active, int file) argument [all...] |
H A D | filemap.c | 385 * @gfp_mask: allocation mode 442 * @gfp_mask: page allocation mode 761 * @gfp_mask: page allocation mode 1936 mode_t mode = dentry->d_inode->i_mode; local 1940 if (unlikely(mode & S_ISUID)) 1947 if (unlikely((mode & S_ISGID) && (mode & S_IXGRP))) 1950 if (unlikely(kill && !capable(CAP_FSETID) && S_ISREG(mode))) 2610 * @gfp_mask: memory allocation flags (and I/O mode)
|
H A D | memcontrol.c | 1254 int mode, struct zone *z, 1288 ret = __isolate_lru_page(page, mode, file); 1307 0, 0, 0, mode); 1430 * mem_cgroup_print_oom_info: Called from OOM with tasklist_lock held in read mode. 1846 unsigned mode, int sync, void *arg) 1867 return autoremove_wake_function(wait, mode, sync, arg); 4785 .mode = S_IRUGO, 1251 mem_cgroup_isolate_pages(unsigned long nr_to_scan, struct list_head *dst, unsigned long *scanned, int order, int mode, struct zone *z, struct mem_cgroup *mem_cont, int active, int file) argument 1845 memcg_oom_wake_function(wait_queue_t *wait, unsigned mode, int sync, void *arg) argument
|
H A D | page_alloc.c | 1434 mode_t mode = S_IFREG | S_IRUSR | S_IWUSR; local 1445 debugfs_create_bool("ignore-gfp-wait", mode, dir, 1449 debugfs_create_bool("ignore-gfp-highmem", mode, dir, 1452 debugfs_create_u32("min-order", mode, dir, 1814 pr_warning("%s: page allocation failure: order:%d, mode:0x%x\n",
|