Home
last modified time | relevance | path

Searched refs:n_obj (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/gpu/drm/panfrost/
H A Dpanfrost_dump.c108 unsigned int n_obj, n_bomap_pages; in panfrost_core_dump() local
124 n_obj = 2; in panfrost_core_dump()
143 n_obj++; in panfrost_core_dump()
149 n_obj++; in panfrost_core_dump()
153 file_size += sizeof(*iter.hdr) * n_obj; in panfrost_core_dump()
172 iter.data = &iter.hdr[n_obj]; in panfrost_core_dump()
/openbmc/linux/drivers/gpu/drm/etnaviv/
H A Detnaviv_dump.c123 unsigned int n_obj, n_bomap_pages; in etnaviv_core_dump() local
138 n_obj = 5; in etnaviv_core_dump()
149 n_obj++; in etnaviv_core_dump()
155 n_obj++; in etnaviv_core_dump()
159 file_size += sizeof(*iter.hdr) * n_obj; in etnaviv_core_dump()
172 iter.data = &iter.hdr[n_obj]; in etnaviv_core_dump()
/openbmc/u-boot/fs/yaffs2/
H A Dyaffs_allocator.c242 static int yaffs_create_free_objs(struct yaffs_dev *dev, int n_obj) in yaffs_create_free_objs() argument
254 if (n_obj < 1) in yaffs_create_free_objs()
258 new_objs = kmalloc(n_obj * sizeof(struct yaffs_obj), GFP_NOFS); in yaffs_create_free_objs()
272 for (i = 0; i < n_obj; i++) in yaffs_create_free_objs()
275 allocator->n_free_objects += n_obj; in yaffs_create_free_objs()
276 allocator->n_obj_created += n_obj; in yaffs_create_free_objs()
H A Dyaffsfs.c765 int current_objects = dev->n_obj - dev->n_deleted_files; in yaffsfs_TooManyObjects()
2729 int n_obj = dev->n_obj; in yaffs_inodecount() local
2730 if (n_obj > dev->n_hardlinks) in yaffs_inodecount()
2731 retVal = n_obj - dev->n_hardlinks; in yaffs_inodecount()
H A Dyaffs_guts.h688 int n_obj; member
H A Dyaffs_guts.c729 dev->n_obj = 0; in yaffs_deinit_tnodes_and_objs()
1637 dev->n_obj--; in yaffs_free_obj()
1802 dev->n_obj++; in yaffs_alloc_empty_obj()
1996 dev->n_obj = 0; in yaffs_init_tnodes_and_objs()
H A Dyaffs_yaffs2.c227 dev->n_obj; in yaffs_calc_checkpt_blocks_required()