Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/hmdfs/
Dhmdfs_share.c81 struct hmdfs_share_item *new_item = NULL; in insert_share_item() local
100 new_item = kmalloc(sizeof(*new_item), GFP_KERNEL); in insert_share_item()
101 if (unlikely(!new_item)) { in insert_share_item()
107 new_item->file = file; in insert_share_item()
109 new_item->relative_path.name = path_name; in insert_share_item()
110 new_item->relative_path.len = relative_path->len; in insert_share_item()
111 memcpy(new_item->cid, cid, HMDFS_CID_SIZE); in insert_share_item()
112 new_item->opened = false; in insert_share_item()
113 new_item->timeout = false; in insert_share_item()
114 list_add_tail(&new_item->list, &st->item_list_head); in insert_share_item()
[all …]
Dinode_remote.c758 struct clearcache_item *new_item = NULL; in rename_in_cache_file() local
761 new_item = hmdfs_find_cache_item(dev_id, new_dentry->d_parent); in rename_in_cache_file()
762 if (old_item != NULL && new_item != NULL) { in rename_in_cache_file()
764 new_item->filp); in rename_in_cache_file()
767 } else if (new_item != NULL) { in rename_in_cache_file()
775 if (new_item) in rename_in_cache_file()
776 kref_put(&new_item->ref, release_cache_item); in rename_in_cache_file()
/kernel/linux/linux-5.10/net/rds/
Dib_recv.c186 static void rds_ib_recv_cache_put(struct list_head *new_item,
478 static void rds_ib_recv_cache_put(struct list_head *new_item, in rds_ib_recv_cache_put() argument
488 INIT_LIST_HEAD(new_item); in rds_ib_recv_cache_put()
490 list_add_tail(new_item, chpfirst); in rds_ib_recv_cache_put()
492 __this_cpu_write(cache->percpu->first, new_item); in rds_ib_recv_cache_put()
/kernel/linux/linux-5.10/scripts/kconfig/
Dnconf.c550 curses_menu_items[items_num] = new_item( in item_make()
585 curses_menu_items[index] = new_item( in item_add_str()
Dnconf.gui.c262 btns[i] = new_item(btn, ""); in btn_dialog()
/kernel/linux/linux-5.10/fs/btrfs/
Dctree.c4506 struct btrfs_item *new_item; in split_item() local
4542 new_item = btrfs_item_nr(slot); in split_item()
4544 btrfs_set_item_offset(leaf, new_item, orig_offset); in split_item()
4545 btrfs_set_item_size(leaf, new_item, item_size - split_offset); in split_item()