Searched refs:n_obj (Results 1 – 5 of 5) sorted by relevance
243 static int yaffs_create_free_objs(struct yaffs_dev *dev, int n_obj) in yaffs_create_free_objs() argument255 if (n_obj < 1) in yaffs_create_free_objs()259 new_objs = kmalloc(n_obj * sizeof(struct yaffs_obj), GFP_NOFS); in yaffs_create_free_objs()273 for (i = 0; i < n_obj; i++) in yaffs_create_free_objs()276 allocator->n_free_objects += n_obj; in yaffs_create_free_objs()277 allocator->n_obj_created += n_obj; in yaffs_create_free_objs()
766 int current_objects = dev->n_obj - dev->n_deleted_files; in yaffsfs_TooManyObjects()2730 int n_obj = dev->n_obj; in yaffs_inodecount() local2731 if (n_obj > dev->n_hardlinks) in yaffs_inodecount()2732 retVal = n_obj - dev->n_hardlinks; in yaffs_inodecount()
688 int n_obj; member
730 dev->n_obj = 0; in yaffs_deinit_tnodes_and_objs()1638 dev->n_obj--; in yaffs_free_obj()1803 dev->n_obj++; in yaffs_alloc_empty_obj()1997 dev->n_obj = 0; in yaffs_init_tnodes_and_objs()
228 dev->n_obj; in yaffs_calc_checkpt_blocks_required()
Completed in 24 milliseconds