Home
last modified time | relevance | path

Searched refs:new_list (Results 1 - 13 of 13) sorted by relevance

/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_taprio.c174 int *new_list, int *obs_list) in lan966x_taprio_find_list()
181 *new_list = -1; in lan966x_taprio_find_list()
202 *new_list = list[i]; in lan966x_taprio_find_list()
203 *obs_list = (oper == -1) ? *new_list : oper; in lan966x_taprio_find_list()
210 *new_list = list[i]; in lan966x_taprio_find_list()
211 *obs_list = (oper == -1) ? *new_list : oper; in lan966x_taprio_find_list()
445 int err, new_list, obs_list; in lan966x_taprio_add() local
453 err = lan966x_taprio_find_list(port, qopt, &new_list, &obs_list); in lan966x_taprio_add()
457 err = lan966x_taprio_gcl_setup(port, qopt, new_list); in lan966x_taprio_add()
172 lan966x_taprio_find_list(struct lan966x_port *port, struct tc_taprio_qopt_offload *qopt, int *new_list, int *obs_list) lan966x_taprio_find_list() argument
/kernel/linux/linux-6.6/drivers/hid/bpf/
H A Dhid_bpf_jmp_table.c142 static void __hid_bpf_set_hdev_progs(struct hid_device *hdev, struct hid_bpf_prog_list *new_list, in __hid_bpf_set_hdev_progs() argument
150 rcu_assign_pointer(hdev->bpf.progs[type], new_list); in __hid_bpf_set_hdev_progs()
164 struct hid_bpf_prog_list *new_list; in hid_bpf_populate_hdev() local
173 new_list = kzalloc(sizeof(*new_list), GFP_KERNEL); in hid_bpf_populate_hdev()
174 if (!new_list) in hid_bpf_populate_hdev()
182 new_list->prog_idx[new_list->prog_cnt++] = entry->idx; in hid_bpf_populate_hdev()
185 __hid_bpf_set_hdev_progs(hdev, new_list, type); in hid_bpf_populate_hdev()
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/
H A Dvc4_bo.c199 struct list_head *new_list; in vc4_get_cache_list_for_size() local
202 new_list = kmalloc_array(new_size, sizeof(struct list_head), in vc4_get_cache_list_for_size()
204 if (!new_list) in vc4_get_cache_list_for_size()
215 INIT_LIST_HEAD(&new_list[i]); in vc4_get_cache_list_for_size()
217 list_replace(old_list, &new_list[i]); in vc4_get_cache_list_for_size()
221 INIT_LIST_HEAD(&new_list[i]); in vc4_get_cache_list_for_size()
224 vc4->bo_cache.size_list = new_list; in vc4_get_cache_list_for_size()
/kernel/linux/linux-6.6/drivers/gpu/drm/vc4/
H A Dvc4_bo.c204 struct list_head *new_list; in vc4_get_cache_list_for_size() local
207 new_list = kmalloc_array(new_size, sizeof(struct list_head), in vc4_get_cache_list_for_size()
209 if (!new_list) in vc4_get_cache_list_for_size()
220 INIT_LIST_HEAD(&new_list[i]); in vc4_get_cache_list_for_size()
222 list_replace(old_list, &new_list[i]); in vc4_get_cache_list_for_size()
226 INIT_LIST_HEAD(&new_list[i]); in vc4_get_cache_list_for_size()
229 vc4->bo_cache.size_list = new_list; in vc4_get_cache_list_for_size()
/kernel/linux/linux-5.10/tools/perf/
H A Dbuiltin-timechart.c966 struct per_pid *new_list, *p, *cursor, *prev; in sort_pids() local
969 new_list = NULL; in sort_pids()
976 if (new_list == NULL) { in sort_pids()
977 new_list = p; in sort_pids()
982 cursor = new_list; in sort_pids()
993 p->next = new_list; in sort_pids()
994 new_list = p; in sort_pids()
1006 tchart->all_data = new_list; in sort_pids()
/kernel/linux/linux-6.6/tools/perf/
H A Dbuiltin-timechart.c975 struct per_pid *new_list, *p, *cursor, *prev; in sort_pids() local
978 new_list = NULL; in sort_pids()
985 if (new_list == NULL) { in sort_pids()
986 new_list = p; in sort_pids()
991 cursor = new_list; in sort_pids()
1002 p->next = new_list; in sort_pids()
1003 new_list = p; in sort_pids()
1015 tchart->all_data = new_list; in sort_pids()
/kernel/linux/linux-5.10/fs/ubifs/
H A Dorphan.c84 list_add_tail(&orphan->new_list, &c->orph_new); in orphan_add()
122 list_del(&o->new_list); in __orphan_drop()
244 list_for_each_entry(orphan, &c->orph_new, new_list) { in ubifs_orphan_start_commit()
H A Dubifs.h916 * @new_list: list head of list of orphans added since the last commit
929 struct list_head new_list; member
/kernel/linux/linux-6.6/fs/ubifs/
H A Dorphan.c84 list_add_tail(&orphan->new_list, &c->orph_new); in orphan_add()
122 list_del(&o->new_list); in __orphan_drop()
244 list_for_each_entry(orphan, &c->orph_new, new_list) { in ubifs_orphan_start_commit()
H A Dubifs.h925 * @new_list: list head of list of orphans added since the last commit
938 struct list_head new_list; member
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_svm.c2079 struct list_head new_list; in svm_range_add() local
2087 INIT_LIST_HEAD(&new_list); in svm_range_add()
2146 &new_list, update_list); in svm_range_add()
2159 &new_list, update_list); in svm_range_add()
2165 list_for_each_entry_safe(prange, tmp, &new_list, list) in svm_range_add()
2168 list_splice(&new_list, insert_list); in svm_range_add()
/kernel/linux/linux-5.10/tools/lib/bpf/
H A Dbtf.c2907 __u32 *new_list; in btf_dedup_hypot_map_add() local
2910 new_list = libbpf_reallocarray(d->hypot_list, d->hypot_cap, sizeof(__u32)); in btf_dedup_hypot_map_add()
2911 if (!new_list) in btf_dedup_hypot_map_add()
2913 d->hypot_list = new_list; in btf_dedup_hypot_map_add()
/kernel/linux/linux-6.6/tools/lib/bpf/
H A Dbtf.c3160 __u32 *new_list; in btf_dedup_hypot_map_add() local
3163 new_list = libbpf_reallocarray(d->hypot_list, d->hypot_cap, sizeof(__u32)); in btf_dedup_hypot_map_add()
3164 if (!new_list) in btf_dedup_hypot_map_add()
3166 d->hypot_list = new_list; in btf_dedup_hypot_map_add()

Completed in 47 milliseconds