Searched defs:inode (Results 1 - 18 of 18) sorted by relevance

/mm/
H A Dcleancache.c73 * the key, else use the inode number.
75 static int cleancache_get_key(struct inode *inode, argument
80 struct super_block *sb = inode->i_sb;
82 key->u.ino = inode->i_ino;
87 d.d_inode = inode;
99 * "Get" data from cleancache associated with the poolid/inode/index
132 * inode and page index. Page must be locked. Note that a put_page
152 * page's inode and page index so that a subsequent "get" will fail.
172 * mappings's inode s
[all...]
H A Dfilemap_xip.c59 struct inode *inode = mapping->host; local
71 isize = i_size_read(inode);
225 struct inode *inode = mapping->host; local
234 size = (i_size_read(inode) + PAGE_CACHE_SIZE - 1) >> PAGE_CACHE_SHIFT;
326 struct inode *inode = mapping->host; local
386 if (pos > inode->i_size) {
387 i_size_write(inode, po
399 struct inode *inode = mapping->host; local
[all...]
H A Dreadahead.c155 struct inode *inode = mapping->host; local
161 loff_t isize = i_size_read(inode);
H A Dtruncate.c97 * c) when tmpfs swizzles a page between a tmpfs inode and swapper_space.
304 * Called under (and serialised by) inode->i_mutex.
318 * invalidate_mapping_pages - Invalidate all the unlocked pages of one inode
324 * remove all the pages of one inode, you must call truncate_inode_pages.
525 * @inode: inode
529 * inode's new i_size must already be written before truncate_pagecache
539 void truncate_pagecache(struct inode *inode, loff_t oldsize, loff_t newsize) argument
541 struct address_space *mapping = inode
571 truncate_setsize(struct inode *inode, loff_t newsize) argument
590 vmtruncate(struct inode *inode, loff_t newsize) argument
605 vmtruncate_range(struct inode *inode, loff_t lstart, loff_t lend) argument
[all...]
H A Dbacking-dev.c78 struct inode *inode; local
82 list_for_each_entry(inode, &wb->b_dirty, i_wb_list)
84 list_for_each_entry(inode, &wb->b_io, i_wb_list)
86 list_for_each_entry(inode, &wb->b_more_io, i_wb_list)
125 static int bdi_debug_stats_open(struct inode *inode, struct file *file) argument
127 return single_open(file, bdi_debug_stats_show, inode->i_private);
334 * This function is used when the first inode for this bdi is marked dirty. It
H A Dmemblock.c948 static int memblock_debug_open(struct inode *inode, struct file *file) argument
950 return single_open(file, memblock_debug_show, inode->i_private);
H A Dvmstat.c936 static int fragmentation_open(struct inode *inode, struct file *file) argument
955 static int pagetypeinfo_open(struct inode *inode, struct file *file) argument
1046 static int zoneinfo_open(struct inode *inode, struct file *file) argument
1128 static int vmstat_open(struct inode *inode, struct file *file) argument
1295 static int unusable_open(struct inode *inode, struc argument
1347 extfrag_open(struct inode *inode, struct file *file) argument
[all...]
H A Dfilemap.c99 * ->inode->i_lock (page_remove_rmap->set_page_dirty)
101 * ->inode->i_lock (zap_pte_range->set_page_dirty)
1094 struct inode *inode = mapping->host; local
1132 if (inode->i_blkbits == PAGE_CACHE_SHIFT ||
1155 isize = i_size_read(inode);
1413 struct inode *inode; local
1416 inode = mapping->host;
1419 size = i_size_read(inode);
1647 struct inode *inode = mapping->host; local
1989 struct inode *inode = dentry->d_inode; local
2167 struct inode *inode = file->f_mapping->host; local
2269 struct inode *inode = mapping->host; local
2507 struct inode *inode = mapping->host; local
2612 struct inode *inode = file->f_mapping->host; local
[all...]
H A Dkmemleak.c1542 static int kmemleak_open(struct inode *inode, struct file *file) argument
1547 static int kmemleak_release(struct inode *inode, struct file *file) argument
1549 return seq_release(inode, file);
H A Dmmap.c142 * cache and most inode caches should fall into this
189 * Requires inode->i_mapping->i_mmap_mutex
947 struct inode *inode; local
1010 inode = file ? file->f_path.dentry->d_inode : NULL;
1022 if (IS_APPEND(inode) && (file->f_mode & FMODE_WRITE))
1028 if (locks_verify_locked(inode))
1203 struct inode *inode = file ? file->f_path.dentry->d_inode : NULL; local
1321 atomic_inc(&inode
[all...]
H A Dnommu.c1079 /* overlay a shareable mapping on the backing device or inode
1906 * cache and most inode caches should fall into this
2034 * nommu_shrink_inode_mappings - Shrink the shared mappings on an inode
2035 * @inode: The inode to check
2036 * @size: The current filesize of the inode
2037 * @newsize: The proposed filesize of the inode
2039 * Check the shared mappings on an inode on behalf of a shrinking truncate to
2044 int nommu_shrink_inode_mappings(struct inode *inode, size_ argument
[all...]
H A Dshmem.c106 static int shmem_getpage_gfp(struct inode *inode, pgoff_t index,
109 static inline int shmem_getpage(struct inode *inode, pgoff_t index, argument
112 return shmem_getpage_gfp(inode, index, pagep, sgp,
113 mapping_gfp_mask(inode->i_mapping), fault_type);
199 * shmem_recalc_inode - recalculate the block usage of an inode
200 * @inode: inode to recalc
205 * But normally info->alloced == inode
210 shmem_recalc_inode(struct inode *inode) argument
427 shmem_truncate_range(struct inode *inode, loff_t lstart, loff_t lend) argument
545 struct inode *inode = dentry->d_inode; local
577 shmem_evict_inode(struct inode *inode) argument
705 struct inode *inode; local
865 shmem_getpage_gfp(struct inode *inode, pgoff_t index, struct page **pagep, enum sgp_type sgp, gfp_t gfp, int *fault_type) argument
1053 struct inode *inode = vma->vm_file->f_path.dentry->d_inode; local
1071 struct inode *inode = vma->vm_file->f_path.dentry->d_inode; local
1078 struct inode *inode = vma->vm_file->f_path.dentry->d_inode; local
1088 struct inode *inode = file->f_path.dentry->d_inode; local
1122 struct inode *inode; local
1186 struct inode *inode = mapping->host; local
1196 struct inode *inode = mapping->host; local
1210 struct inode *inode = filp->f_path.dentry->d_inode; local
1351 struct inode *inode = mapping->host; local
1486 struct inode *inode; local
1538 struct inode *inode = old_dentry->d_inode; local
1562 struct inode *inode = dentry->d_inode; local
1592 struct inode *inode = old_dentry->d_inode; local
1619 struct inode *inode; local
1737 struct inode *inode = dentry->d_inode; local
1962 struct inode *inode; local
1983 struct inode *inode = dentry->d_inode; local
2177 struct inode *inode; local
2261 struct inode *inode = container_of(head, struct inode, i_rcu); local
2265 shmem_destroy_inode(struct inode *inode) argument
2477 shmem_truncate_range(struct inode *inode, loff_t lstart, loff_t lend) argument
2503 struct inode *inode; local
2602 struct inode *inode = mapping->host; local
[all...]
H A Dswapfile.c1427 struct inode *inode; local
1438 inode = sis->swap_file->f_mapping->host;
1439 if (S_ISBLK(inode->i_mode)) {
1445 blkbits = inode->i_blkbits;
1454 last_block = i_size_read(inode) >> blkbits;
1460 first_block = bmap(inode, probe_block);
1476 block = bmap(inode, probe_block + block_in_page);
1557 struct inode *inode; local
1779 swaps_open(struct inode *inode, struct file *file) argument
1863 claim_swapfile(struct swap_info_struct *p, struct inode *inode) argument
1892 read_swap_header(struct swap_info_struct *p, union swap_header *swap_header, struct inode *inode) argument
2023 struct inode *inode = NULL; local
[all...]
H A Dvmalloc.c2601 static int vmalloc_open(struct inode *inode, struct file *file) argument
H A Dhugetlb.c979 struct inode *inode = mapping->host; local
983 return region_chg(&inode->i_mapping->private_list,
1004 struct inode *inode = mapping->host; local
1008 region_add(&inode->i_mapping->private_list, idx, idx + 1);
1025 struct inode *inode = mapping->host; local
1039 if (hugetlb_get_quota(inode->i_mapping, chg))
1049 hugetlb_put_quota(inode
2553 struct inode *inode = mapping->host; local
2865 hugetlb_reserve_pages(struct inode *inode, long from, long to, struct vm_area_struct *vma, vm_flags_t vm_flags) argument
2933 hugetlb_unreserve_pages(struct inode *inode, long offset, long freed) argument
[all...]
H A Dslab.c4427 static int slabinfo_open(struct inode *inode, struct file *file) argument
4575 static int slabstats_open(struct inode *inode, struct file *file) argument
H A Dmemcontrol.c2851 * do_batch > 0 when unmapping pages or inode invalidate/truncate.
4565 static int mem_control_numa_stat_open(struct inode *unused, struct file *file)
5116 struct inode *inode; local
5125 inode = vma->vm_file->f_path.dentry->d_inode;
H A Dslub.c5464 static int slabinfo_open(struct inode *inode, struct file *file) argument

Completed in 131 milliseconds