Lines Matching refs:the_obj
1474 struct yaffs_obj *the_obj; in yaffs_grab_chunk_cache() local
1494 the_obj = dev->cache[0].object; in yaffs_grab_chunk_cache()
1504 the_obj = dev->cache[i].object; in yaffs_grab_chunk_cache()
1511 yaffs_flush_file_cache(the_obj); in yaffs_grab_chunk_cache()
1918 struct yaffs_obj *the_obj = NULL; in yaffs_new_obj() local
1930 the_obj = yaffs_alloc_empty_obj(dev); in yaffs_new_obj()
1931 if (!the_obj) { in yaffs_new_obj()
1937 the_obj->fake = 0; in yaffs_new_obj()
1938 the_obj->rename_allowed = 1; in yaffs_new_obj()
1939 the_obj->unlink_allowed = 1; in yaffs_new_obj()
1940 the_obj->obj_id = number; in yaffs_new_obj()
1941 yaffs_hash_obj(the_obj); in yaffs_new_obj()
1942 the_obj->variant_type = type; in yaffs_new_obj()
1943 yaffs_load_current_time(the_obj, 1, 1); in yaffs_new_obj()
1947 the_obj->variant.file_variant.file_size = 0; in yaffs_new_obj()
1948 the_obj->variant.file_variant.scanned_size = 0; in yaffs_new_obj()
1949 the_obj->variant.file_variant.shrink_size = in yaffs_new_obj()
1951 the_obj->variant.file_variant.top_level = 0; in yaffs_new_obj()
1952 the_obj->variant.file_variant.top = tn; in yaffs_new_obj()
1955 INIT_LIST_HEAD(&the_obj->variant.dir_variant.children); in yaffs_new_obj()
1956 INIT_LIST_HEAD(&the_obj->variant.dir_variant.dirty); in yaffs_new_obj()
1967 return the_obj; in yaffs_new_obj()
2011 struct yaffs_obj *the_obj = NULL; in yaffs_find_or_create_by_number() local
2014 the_obj = yaffs_find_by_number(dev, number); in yaffs_find_or_create_by_number()
2016 if (!the_obj) in yaffs_find_or_create_by_number()
2017 the_obj = yaffs_new_obj(dev, number, type); in yaffs_find_or_create_by_number()
2019 return the_obj; in yaffs_find_or_create_by_number()