Home
last modified time | relevance | path

Searched refs:new_entry (Results 1 – 6 of 6) sorted by relevance

/fs/ext4/
Dblock_validity.c60 struct ext4_system_zone *new_entry = NULL, *entry; in add_system_zone() local
77 new_entry = rb_entry(new_node, struct ext4_system_zone, in add_system_zone()
83 if (!new_entry) { in add_system_zone()
84 new_entry = kmem_cache_alloc(ext4_system_zone_cachep, in add_system_zone()
86 if (!new_entry) in add_system_zone()
88 new_entry->start_blk = start_blk; in add_system_zone()
89 new_entry->count = count; in add_system_zone()
90 new_node = &new_entry->node; in add_system_zone()
100 if (can_merge(entry, new_entry)) { in add_system_zone()
101 new_entry->start_blk = entry->start_blk; in add_system_zone()
[all …]
Dmballoc.c4589 struct ext4_free_data *new_entry) in ext4_mb_free_metadata() argument
4593 ext4_grpblk_t clusters = new_entry->efd_count; in ext4_mb_free_metadata()
4605 new_node = &new_entry->efd_node; in ext4_mb_free_metadata()
4606 cluster = new_entry->efd_start_cluster; in ext4_mb_free_metadata()
4640 if (can_merge(entry, new_entry) && in ext4_mb_free_metadata()
4642 new_entry->efd_start_cluster = entry->efd_start_cluster; in ext4_mb_free_metadata()
4643 new_entry->efd_count += entry->efd_count; in ext4_mb_free_metadata()
4652 if (can_merge(new_entry, entry) && in ext4_mb_free_metadata()
4654 new_entry->efd_count += entry->efd_count; in ext4_mb_free_metadata()
4660 new_entry->efd_jce.jce_func = ext4_free_data_callback; in ext4_mb_free_metadata()
[all …]
/fs/sdcardfs/
Dpackagelist.c199 struct hashtable_entry *new_entry; in insert_packagelist_appid_entry_locked() local
208 new_entry = alloc_hashtable_entry(key, value); in insert_packagelist_appid_entry_locked()
209 if (!new_entry) in insert_packagelist_appid_entry_locked()
211 hash_add_rcu(package_to_appid, &new_entry->hlist, hash); in insert_packagelist_appid_entry_locked()
218 struct hashtable_entry *new_entry; in insert_ext_gid_entry_locked() local
226 new_entry = alloc_hashtable_entry(key, value); in insert_ext_gid_entry_locked()
227 if (!new_entry) in insert_ext_gid_entry_locked()
229 hash_add_rcu(ext_to_groupid, &new_entry->hlist, hash); in insert_ext_gid_entry_locked()
236 struct hashtable_entry *new_entry; in insert_userid_exclude_entry_locked() local
245 new_entry = alloc_hashtable_entry(key, value); in insert_userid_exclude_entry_locked()
[all …]
/fs/cifs/
Dreaddir.c370 char *new_entry; in nxt_dir_entry() local
377 new_entry = old_entry + sizeof(FIND_FILE_STANDARD_INFO) + in nxt_dir_entry()
380 new_entry = old_entry + le32_to_cpu(pDirInfo->NextEntryOffset); in nxt_dir_entry()
381 cifs_dbg(FYI, "new entry %p old entry %p\n", new_entry, old_entry); in nxt_dir_entry()
383 if (new_entry >= end_of_smb) { in nxt_dir_entry()
385 new_entry, end_of_smb, old_entry); in nxt_dir_entry()
388 (new_entry + sizeof(FIND_FILE_STANDARD_INFO) > end_of_smb)) in nxt_dir_entry()
390 (new_entry + sizeof(FILE_DIRECTORY_INFO) > end_of_smb))) { in nxt_dir_entry()
392 new_entry, end_of_smb); in nxt_dir_entry()
395 return new_entry; in nxt_dir_entry()
/fs/f2fs/
Dnamei.c825 struct f2fs_dir_entry *new_entry; in f2fs_rename() local
880 new_entry = f2fs_find_entry(new_dir, &new_dentry->d_name, in f2fs_rename()
882 if (!new_entry) { in f2fs_rename()
896 f2fs_set_link(new_dir, new_entry, new_page, old_inode); in f2fs_rename()
1010 struct f2fs_dir_entry *old_entry, *new_entry; in f2fs_cross_rename() local
1040 new_entry = f2fs_find_entry(new_dir, &new_dentry->d_name, &new_page); in f2fs_cross_rename()
1041 if (!new_entry) { in f2fs_cross_rename()
1113 f2fs_set_link(new_dir, new_entry, new_page, old_inode); in f2fs_cross_rename()
/fs/
Ddax.c612 void *new_entry; in dax_insert_mapping_entry() local
633 new_entry = (void *)((unsigned long)RADIX_DAX_ENTRY(sector, false) | in dax_insert_mapping_entry()
639 error = radix_tree_insert(page_tree, index, new_entry); in dax_insert_mapping_entry()
641 new_entry = ERR_PTR(error); in dax_insert_mapping_entry()
651 radix_tree_replace_slot(slot, new_entry); in dax_insert_mapping_entry()
668 return new_entry; in dax_insert_mapping_entry()