Searched refs:nr_extents (Results 1 – 15 of 15) sorted by relevance
/linux-2.6.39/fs/btrfs/ |
D | ref-cache.h | 47 static inline size_t btrfs_leaf_ref_size(int nr_extents) in btrfs_leaf_ref_size() argument 50 sizeof(struct btrfs_extent_info) * nr_extents; in btrfs_leaf_ref_size() 67 int nr_extents);
|
D | ref-cache.c | 37 int nr_extents) in btrfs_alloc_leaf_ref() argument 40 size_t size = btrfs_leaf_ref_size(nr_extents); in btrfs_alloc_leaf_ref()
|
D | extent-tree.c | 2515 struct extent_buffer *buf, u32 nr_extents) 2544 ref = btrfs_alloc_leaf_ref(root, nr_extents); 2554 ref->nritems = nr_extents; 2557 for (i = 0; nr_extents > 0 && i < nritems; i++) { 4067 int nr_extents; in btrfs_delalloc_reserve_metadata() local 4076 nr_extents = atomic_read(&BTRFS_I(inode)->outstanding_extents) + 1; in btrfs_delalloc_reserve_metadata() 4079 if (nr_extents > reserved_extents) { in btrfs_delalloc_reserve_metadata() 4080 nr_extents -= reserved_extents; in btrfs_delalloc_reserve_metadata() 4081 to_reserve = calc_trans_metadata_size(root, nr_extents); in btrfs_delalloc_reserve_metadata() 4083 nr_extents = 0; in btrfs_delalloc_reserve_metadata() [all …]
|
/linux-2.6.39/include/xen/interface/ |
D | memory.h | 37 unsigned long nr_extents; member 139 unsigned int nr_extents; member
|
/linux-2.6.39/fs/ntfs/ |
D | mft.c | 267 if (base_ni->nr_extents > 0) { in map_extent_mft_record() 269 for (i = 0; i < base_ni->nr_extents; i++) { in map_extent_mft_record() 312 ni->nr_extents = -1; in map_extent_mft_record() 331 if (!(base_ni->nr_extents & 3)) { in map_extent_mft_record() 333 int new_size = (base_ni->nr_extents + 4) * sizeof(ntfs_inode *); in map_extent_mft_record() 343 if (base_ni->nr_extents) { in map_extent_mft_record() 351 base_ni->ext.extent_ntfs_inos[base_ni->nr_extents++] = ni; in map_extent_mft_record() 404 if (likely(ni->nr_extents >= 0)) in __mark_mft_record_dirty() 1045 if (ni->nr_extents <= 0) { in ntfs_may_write_mft_record() 1058 for (eni = NULL, i = 0; i < ni->nr_extents; ++i) { in ntfs_may_write_mft_record() [all …]
|
D | inode.c | 417 ni->nr_extents = 0; in __ntfs_init_inode() 1431 ni->nr_extents = -1; in ntfs_read_locked_attr_inode() 1717 ni->nr_extents = -1; in ntfs_read_locked_index_inode() 2230 BUG_ON(ni->nr_extents != -1); in ntfs_clear_extent_inode() 2280 if (ni->nr_extents > 0) { in ntfs_evict_big_inode() 2283 for (i = 0; i < ni->nr_extents; i++) in ntfs_evict_big_inode() 2292 if (ni->nr_extents == -1) { in ntfs_evict_big_inode() 2294 ni->nr_extents = 0; in ntfs_evict_big_inode() 2385 BUG_ON(ni->nr_extents < 0); in ntfs_truncate() 3065 if (ni->nr_extents > 0) { in __ntfs_write_inode() [all …]
|
D | inode.h | 123 s32 nr_extents; /* For a base mft record, the number of attached extent member
|
D | index.c | 140 BUG_ON(idx_ni->nr_extents != -1); in ntfs_index_lookup()
|
D | aops.c | 1282 if (tni->nr_extents >= 0) in ntfs_write_mst_block()
|
/linux-2.6.39/mm/ |
D | swapfile.c | 1434 int nr_extents = 0; in setup_swap_extents() local 1499 nr_extents += ret; in setup_swap_extents() 1505 ret = nr_extents; in setup_swap_extents() 1984 int nr_extents; in setup_swap_map_and_extents() local 2002 nr_extents = setup_swap_extents(p, span); in setup_swap_map_and_extents() 2003 if (nr_extents < 0) in setup_swap_map_and_extents() 2004 return nr_extents; in setup_swap_map_and_extents() 2012 return nr_extents; in setup_swap_map_and_extents() 2025 int nr_extents; in SYSCALL_DEFINE2() local 2103 nr_extents = setup_swap_map_and_extents(p, swap_header, swap_map, in SYSCALL_DEFINE2() [all …]
|
/linux-2.6.39/arch/ia64/xen/ |
D | grant-table.c | 80 .nr_extents = 1, in xen_free_vm_area()
|
D | xcom_hcall.c | 333 mop->nr_extents * in xencommize_memory_reservation()
|
/linux-2.6.39/drivers/xen/ |
D | balloon.c | 233 reservation.nr_extents = nr_pages; in increase_reservation() 317 reservation.nr_extents = nr_pages; in decrease_reservation()
|
/linux-2.6.39/arch/x86/xen/ |
D | setup.c | 105 reservation.nr_extents = 1; in xen_release_chunk()
|
D | mmu.c | 2221 .nr_extents = extents_in, in xen_exchange_memory() 2227 .nr_extents = extents_out, in xen_exchange_memory()
|