Home
last modified time | relevance | path

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

/fs/btrfs/
Dreada.c254 struct reada_zone *zone; in reada_find_zone() local
260 zone = NULL; in reada_find_zone()
262 ret = radix_tree_gang_lookup(&dev->reada_zones, (void **)&zone, in reada_find_zone()
265 kref_get(&zone->refcnt); in reada_find_zone()
269 if (logical >= zone->start && logical < zone->end) in reada_find_zone()
270 return zone; in reada_find_zone()
272 kref_put(&zone->refcnt, reada_zone_release); in reada_find_zone()
284 zone = kzalloc(sizeof(*zone), GFP_NOFS); in reada_find_zone()
285 if (!zone) in reada_find_zone()
288 zone->start = start; in reada_find_zone()
[all …]
/fs/adfs/
Dmap.c192 scan_map(struct adfs_sb_info *asb, unsigned int zone, in scan_map() argument
199 dm = asb->s_map + zone; in scan_map()
200 zone = asb->s_map_size; in scan_map()
201 dm_end = asb->s_map + zone; in scan_map()
212 } while (--zone > 0); in scan_map()
235 unsigned int zone; in adfs_map_free() local
238 zone = asb->s_map_size; in adfs_map_free()
242 } while (--zone > 0); in adfs_map_free()
252 unsigned int zone, mapoff; in adfs_map_lookup() local
260 zone = asb->s_map_size >> 1; in adfs_map_lookup()
[all …]
Dsuper.c306 int i, zone; in adfs_read_map() local
323 for (zone = 0; zone < nzones; zone++, map_addr++) { in adfs_read_map()
324 dm[zone].dm_startbit = 0; in adfs_read_map()
325 dm[zone].dm_endbit = zone_size; in adfs_read_map()
326 dm[zone].dm_startblk = zone * zone_size - ADFS_DR_SIZE_BITS; in adfs_read_map()
327 dm[zone].dm_bh = sb_bread(sb, map_addr); in adfs_read_map()
329 if (!dm[zone].dm_bh) { in adfs_read_map()
336 i = zone - 1; in adfs_read_map()
349 while (--zone >= 0) in adfs_read_map()
350 brelse(dm[zone].dm_bh); in adfs_read_map()
/fs/xfs/
Dkmem.h99 kmem_zone_free(kmem_zone_t *zone, void *ptr) in kmem_zone_free() argument
101 kmem_cache_free(zone, ptr); in kmem_zone_free()
105 kmem_zone_destroy(kmem_zone_t *zone) in kmem_zone_destroy() argument
107 if (zone) in kmem_zone_destroy()
108 kmem_cache_destroy(zone); in kmem_zone_destroy()
Dkmem.c105 kmem_zone_alloc(kmem_zone_t *zone, xfs_km_flags_t flags) in kmem_zone_alloc() argument
112 ptr = kmem_cache_alloc(zone, lflags); in kmem_zone_alloc()
124 kmem_zone_zalloc(kmem_zone_t *zone, xfs_km_flags_t flags) in kmem_zone_zalloc() argument
128 ptr = kmem_zone_alloc(zone, flags); in kmem_zone_zalloc()
130 memset((char *)ptr, 0, kmem_cache_size(zone)); in kmem_zone_zalloc()
Dxfs_da_btree.h25 struct zone;
/fs/minix/
Dbitmap.c47 unsigned long bit, zone; in minix_free_block() local
53 zone = block - sbi->s_firstdatazone + 1; in minix_free_block()
54 bit = zone & ((1<<k) - 1); in minix_free_block()
55 zone >>= k; in minix_free_block()
56 if (zone >= sbi->s_zmap_blocks) { in minix_free_block()
60 bh = sbi->s_zmap[zone]; in minix_free_block()
/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/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.c245 struct zone *zone; in free_more_memory() local
254 &zone); in free_more_memory()
255 if (zone) in free_more_memory()
/fs/f2fs/
Dsegment.h238 unsigned int zone; /* current zone number */ member
Dsegment.c446 if (CURSEG_I(sbi, i)->zone == zoneno) in get_new_segment()
474 curseg->zone = GET_ZONENO_FROM_SEGNO(sbi, curseg->segno); in reset_curseg()
/fs/affs/
DChanges192 zone number was zero, the loop didn't terminate,