Searched defs:inode (Results 1 - 19 of 19) 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.
306 * Called under (and serialised by) inode->i_mutex.
320 * invalidate_mapping_pages - Invalidate all the unlocked pages of one inode
326 * remove all the pages of one inode, you must call truncate_inode_pages.
533 * @inode: inode
537 * inode's new i_size must already be written before truncate_pagecache
547 void truncate_pagecache(struct inode *inode, loff_t old, loff_t new) argument
549 struct address_space *mapping = inode
578 truncate_setsize(struct inode *inode, loff_t newsize) argument
597 vmtruncate(struct inode *inode, loff_t offset) argument
612 vmtruncate_range(struct inode *inode, loff_t offset, loff_t end) argument
[all...]
H A Dashmem.c176 static int ashmem_open(struct inode *inode, struct file *file) argument
181 ret = generic_file_open(inode, file);
197 static int ashmem_release(struct inode *ignored, struct file *file)
362 struct inode *inode = range->asma->file->f_dentry->d_inode; local
366 vmtruncate_range(inode, start, end);
H A Dbacking-dev.c67 struct inode *inode; local
71 list_for_each_entry(inode, &wb->b_dirty, i_wb_list)
73 list_for_each_entry(inode, &wb->b_io, i_wb_list)
75 list_for_each_entry(inode, &wb->b_more_io, i_wb_list)
104 static int bdi_debug_stats_open(struct inode *inode, struct file *file) argument
106 return single_open(file, bdi_debug_stats_show, inode->i_private);
325 * This function is used when the first inode for this bdi is marked dirty. It
H A Dmemblock.c839 static int memblock_debug_open(struct inode *inode, struct file *file) argument
841 return single_open(file, memblock_debug_show, inode->i_private);
H A Dvmstat.c935 static int fragmentation_open(struct inode *inode, struct file *file) argument
954 static int pagetypeinfo_open(struct inode *inode, struct file *file) argument
1045 static int zoneinfo_open(struct inode *inode, struct file *file) argument
1127 static int vmstat_open(struct inode *inode, struct file *file) argument
1294 static int unusable_open(struct inode *inode, struc argument
1346 extfrag_open(struct inode *inode, struct file *file) argument
[all...]
H A Dfilemap.c103 * ->inode->i_lock (page_remove_rmap->set_page_dirty)
105 * ->inode->i_lock (zap_pte_range->set_page_dirty)
1073 struct inode *inode = mapping->host; local
1111 if (inode->i_blkbits == PAGE_CACHE_SHIFT ||
1134 isize = i_size_read(inode);
1392 struct inode *inode; local
1395 inode = mapping->host;
1398 size = i_size_read(inode);
1626 struct inode *inode = mapping->host; local
1968 struct inode *inode = dentry->d_inode; local
2143 struct inode *inode = file->f_mapping->host; local
2245 struct inode *inode = mapping->host; local
2478 struct inode *inode = mapping->host; local
2583 struct inode *inode = file->f_mapping->host; local
[all...]
H A Dkmemleak.c1468 static int kmemleak_open(struct inode *inode, struct file *file) argument
1476 static int kmemleak_release(struct inode *inode, struct file *file) argument
1478 return seq_release(inode, file);
H A Dmmap.c134 * cache and most inode caches should fall into this
197 * Requires inode->i_mapping->i_mmap_mutex
955 struct inode *inode; local
1018 inode = file ? file->f_path.dentry->d_inode : NULL;
1030 if (IS_APPEND(inode) && (file->f_mode & FMODE_WRITE))
1036 if (locks_verify_locked(inode))
1211 struct inode *inode = file ? file->f_path.dentry->d_inode : NULL; local
1329 atomic_inc(&inode
[all...]
H A Dnommu.c1080 /* overlay a shareable mapping on the backing device or inode
1899 * cache and most inode caches should fall into this
2043 * nommu_shrink_inode_mappings - Shrink the shared mappings on an inode
2044 * @inode: The inode to check
2045 * @size: The current filesize of the inode
2046 * @newsize: The proposed filesize of the inode
2048 * Check the shared mappings on an inode on behalf of a shrinking truncate to
2053 int nommu_shrink_inode_mappings(struct inode *inode, size_ argument
[all...]
H A Dswapfile.c1425 struct inode *inode; local
1436 inode = sis->swap_file->f_mapping->host;
1437 if (S_ISBLK(inode->i_mode)) {
1443 blkbits = inode->i_blkbits;
1452 last_block = i_size_read(inode) >> blkbits;
1458 first_block = bmap(inode, probe_block);
1474 block = bmap(inode, probe_block + block_in_page);
1555 struct inode *inode; local
1782 swaps_open(struct inode *inode, struct file *file) argument
1874 claim_swapfile(struct swap_info_struct *p, struct inode *inode) argument
1903 read_swap_header(struct swap_info_struct *p, union swap_header *swap_header, struct inode *inode) argument
2030 struct inode *inode = NULL; local
[all...]
H A Dvmalloc.c2587 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
2536 struct inode *inode = mapping->host; local
2846 hugetlb_reserve_pages(struct inode *inode, long from, long to, struct vm_area_struct *vma, vm_flags_t vm_flags) argument
2914 hugetlb_unreserve_pages(struct inode *inode, long offset, long freed) argument
[all...]
H A Dshmem.c129 static int shmem_getpage(struct inode *inode, unsigned long idx,
239 static void shmem_free_blocks(struct inode *inode, long pages) argument
241 struct shmem_sb_info *sbinfo = SHMEM_SB(inode->i_sb);
244 spin_lock(&inode->i_lock);
245 inode->i_blocks -= pages*BLOCKS_PER_PAGE;
246 spin_unlock(&inode->i_lock);
276 * shmem_recalc_inode - recalculate the size of an inode
277 * @inode
287 shmem_recalc_inode(struct inode *inode) argument
413 struct inode *inode = &info->vfs_inode; local
542 shmem_truncate_range(struct inode *inode, loff_t start, loff_t end) argument
767 struct inode *inode = dentry->d_inode; local
831 shmem_evict_inode(struct inode *inode) argument
1054 struct inode *inode; local
1237 shmem_getpage(struct inode *inode, unsigned long idx, struct page **pagep, enum sgp_type sgp, int *type) argument
1541 struct inode *inode = vma->vm_file->f_path.dentry->d_inode; local
1578 struct inode *inode = file->f_path.dentry->d_inode; local
1613 struct inode *inode; local
1679 struct inode *inode = page->mapping->host; local
1690 struct inode *inode = mapping->host; local
1701 struct inode *inode = mapping->host; local
1715 struct inode *inode = filp->f_path.dentry->d_inode; local
1875 struct inode *inode; local
1927 struct inode *inode = old_dentry->d_inode; local
1951 struct inode *inode = dentry->d_inode; local
1981 struct inode *inode = old_dentry->d_inode; local
2008 struct inode *inode; local
2123 struct inode *inode = dentry->d_inode; local
2349 struct inode *inode; local
2370 struct inode *inode = dentry->d_inode; local
2565 struct inode *inode; local
2649 struct inode *inode = container_of(head, struct inode, i_rcu); local
2654 shmem_destroy_inode(struct inode *inode) argument
2845 mem_cgroup_get_shmem_target(struct inode *inode, pgoff_t pgoff, struct page **pagep, swp_entry_t *ent) argument
2912 shmem_truncate_range(struct inode *inode, loff_t start, loff_t end) argument
2929 mem_cgroup_get_shmem_target(struct inode *inode, pgoff_t pgoff, struct page **pagep, swp_entry_t *ent) argument
2964 struct inode *inode; local
[all...]
H A Dslab.c4360 static int slabinfo_open(struct inode *inode, struct file *file) argument
4508 static int slabstats_open(struct inode *inode, struct file *file) argument
H A Dslub.c4890 static int slabinfo_open(struct inode *inode, struct file *file) argument
H A Dmemcontrol.c2964 * do_batch > 0 when unmapping pages or inode invalidate/truncate.
4709 static int mem_control_numa_stat_open(struct inode *unused, struct file *file)
5213 struct inode *inode; local
5222 inode = vma->vm_file->f_path.dentry->d_inode;
5234 mem_cgroup_get_shmem_target(inode, pgoff, &page, &ent);

Completed in 1867 milliseconds