Home
last modified time | relevance | path

Searched refs:zone (Results 1 – 12 of 12) sorted by relevance

/fs/adfs/
Dmap.c198 scan_map(struct adfs_sb_info *asb, unsigned int zone, in scan_map() argument
205 dm = asb->s_map + zone; in scan_map()
206 zone = asb->s_map_size; in scan_map()
207 dm_end = asb->s_map + zone; in scan_map()
218 } while (--zone > 0); in scan_map()
241 unsigned int zone; in adfs_map_free() local
244 zone = asb->s_map_size; in adfs_map_free()
248 } while (--zone > 0); in adfs_map_free()
258 unsigned int zone, mapoff; in adfs_map_lookup() local
266 zone = asb->s_map_size >> 1; in adfs_map_lookup()
[all …]
Dsuper.c290 int i, zone; in adfs_read_map() local
307 for (zone = 0; zone < nzones; zone++, map_addr++) { in adfs_read_map()
308 dm[zone].dm_startbit = 0; in adfs_read_map()
309 dm[zone].dm_endbit = zone_size; in adfs_read_map()
310 dm[zone].dm_startblk = zone * zone_size - ADFS_DR_SIZE_BITS; in adfs_read_map()
311 dm[zone].dm_bh = sb_bread(sb, map_addr); in adfs_read_map()
313 if (!dm[zone].dm_bh) { in adfs_read_map()
320 i = zone - 1; in adfs_read_map()
333 while (--zone >= 0) in adfs_read_map()
334 brelse(dm[zone].dm_bh); in adfs_read_map()
/fs/xfs/
Dxfs_acl.h57 #define xfs_acl_zone_init(zone, name) \ argument
58 (zone) = kmem_zone_init(sizeof(xfs_acl_t), (name))
59 #define xfs_acl_zone_destroy(zone) kmem_zone_destroy(zone) argument
82 #define xfs_acl_zone_init(zone,name) argument
83 #define xfs_acl_zone_destroy(zone) argument
Dxfs_da_btree.h26 struct zone;
/fs/xfs/linux-2.6/
Dkmem.h88 kmem_zone_free(kmem_zone_t *zone, void *ptr) in kmem_zone_free() argument
90 kmem_cache_free(zone, ptr); in kmem_zone_free()
94 kmem_zone_destroy(kmem_zone_t *zone) in kmem_zone_destroy() argument
96 if (zone) in kmem_zone_destroy()
97 kmem_cache_destroy(zone); in kmem_zone_destroy()
Dkmem.c119 kmem_zone_alloc(kmem_zone_t *zone, unsigned int __nocast flags) in kmem_zone_alloc() argument
126 ptr = kmem_cache_alloc(zone, lflags); in kmem_zone_alloc()
138 kmem_zone_zalloc(kmem_zone_t *zone, unsigned int __nocast flags) in kmem_zone_zalloc() argument
142 ptr = kmem_zone_alloc(zone, flags); in kmem_zone_zalloc()
144 memset((char *)ptr, 0, kmem_cache_size(zone)); in kmem_zone_zalloc()
/fs/sysv/
Dballoc.c187 sysv_zone_t zone; in sysv_count_free_blocks() local
190 zone = 0; in sysv_count_free_blocks()
191 while (n && (zone = blocks[--n]) != 0) in sysv_count_free_blocks()
193 if (zone == 0) in sysv_count_free_blocks()
196 block = fs32_to_cpu(sbi, zone); in sysv_count_free_blocks()
/fs/minix/
Dbitmap.c58 unsigned long bit, zone; in minix_free_block() local
64 zone = block - sbi->s_firstdatazone + 1; in minix_free_block()
65 bit = zone & ((1<<k) - 1); in minix_free_block()
66 zone >>= k; in minix_free_block()
67 if (zone >= sbi->s_zmap_blocks) { in minix_free_block()
71 bh = sbi->s_zmap[zone]; in minix_free_block()
/fs/ntfs/
Dlcnalloc.c148 const NTFS_CLUSTER_ALLOCATION_ZONES zone, in ntfs_cluster_alloc() argument
167 zone == MFT_ZONE ? "MFT" : "DATA"); in ntfs_cluster_alloc()
174 BUG_ON(zone < FIRST_ZONE); in ntfs_cluster_alloc()
175 BUG_ON(zone > LAST_ZONE); in ntfs_cluster_alloc()
202 if (zone == DATA_ZONE) in ntfs_cluster_alloc()
213 } else if (zone == DATA_ZONE && zone_start >= vol->mft_zone_start && in ntfs_cluster_alloc()
221 } else if (zone == MFT_ZONE && (zone_start < vol->mft_zone_start || in ntfs_cluster_alloc()
232 if (zone == MFT_ZONE) { in ntfs_cluster_alloc()
696 if (zone == MFT_ZONE || mft_zone_size <= 0) { in ntfs_cluster_alloc()
Dlcnalloc.h45 const NTFS_CLUSTER_ALLOCATION_ZONES zone,
/fs/
Dbuffer.c426 struct zone *zone; in free_more_memory() local
435 &zone); in free_more_memory()
436 if (zone) in free_more_memory()
/fs/affs/
DChanges192 zone number was zero, the loop didn't terminate,