Home
last modified time | relevance | path

Searched refs:to_free (Results 1 – 25 of 67) sorted by relevance

123

/kernel/linux/linux-5.10/arch/um/kernel/
Dirq.c228 struct irq_entry *to_free; in garbage_collect_irq_entries() local
246 to_free = walk; in garbage_collect_irq_entries()
248 to_free = NULL; in garbage_collect_irq_entries()
251 kfree(to_free); in garbage_collect_irq_entries()
290 struct irq_fd *to_free; in do_free_by_irq_and_dev() local
304 to_free = irq_entry->irq_array[i]; in do_free_by_irq_and_dev()
307 if (to_free->active) in do_free_by_irq_and_dev()
308 to_free->purge = true; in do_free_by_irq_and_dev()
310 kfree(to_free); in do_free_by_irq_and_dev()
318 struct irq_entry *to_free; in free_irq_by_fd() local
[all …]
/kernel/linux/linux-5.10/mm/kasan/
Dquarantine.c225 struct qlist_head to_free = QLIST_INIT; in quarantine_reduce() local
258 qlist_move_all(&global_quarantine[quarantine_head], &to_free); in quarantine_reduce()
259 WRITE_ONCE(quarantine_size, quarantine_size - to_free.bytes); in quarantine_reduce()
267 qlist_free_all(&to_free, NULL); in quarantine_reduce()
298 struct qlist_head to_free = QLIST_INIT; in per_cpu_remove_cache() local
309 qlist_move_cache(q, &to_free, cache); in per_cpu_remove_cache()
310 qlist_free_all(&to_free, cache); in per_cpu_remove_cache()
317 struct qlist_head to_free = QLIST_INIT; in quarantine_remove_cache() local
332 qlist_move_cache(&global_quarantine[i], &to_free, cache); in quarantine_remove_cache()
340 qlist_free_all(&to_free, cache); in quarantine_remove_cache()
/kernel/linux/linux-5.10/fs/ntfs/
Dlcnalloc.c838 s64 delta, to_free, total_freed, real_freed; in __ntfs_cluster_free() local
886 to_free = rl->length - delta; in __ntfs_cluster_free()
887 if (count >= 0 && to_free > count) in __ntfs_cluster_free()
888 to_free = count; in __ntfs_cluster_free()
893 to_free, likely(!is_rollback) ? 0 : 1); in __ntfs_cluster_free()
901 real_freed = to_free; in __ntfs_cluster_free()
906 count -= to_free; in __ntfs_cluster_free()
909 total_freed = to_free; in __ntfs_cluster_free()
943 to_free = rl->length; in __ntfs_cluster_free()
944 if (count >= 0 && to_free > count) in __ntfs_cluster_free()
[all …]
/kernel/linux/linux-5.10/include/net/
Dsch_generic.h61 struct sk_buff **to_free);
278 struct sk_buff **to_free);
831 struct sk_buff **to_free) in qdisc_enqueue() argument
834 return sch->enqueue(skb, sch, to_free); in qdisc_enqueue()
1055 static inline void __qdisc_drop(struct sk_buff *skb, struct sk_buff **to_free) in __qdisc_drop() argument
1057 skb->next = *to_free; in __qdisc_drop()
1058 *to_free = skb; in __qdisc_drop()
1062 struct sk_buff **to_free) in __qdisc_drop_all() argument
1065 skb->prev->next = *to_free; in __qdisc_drop_all()
1067 skb->next = *to_free; in __qdisc_drop_all()
[all …]
/kernel/linux/linux-5.10/kernel/
Dregset.c11 void *p = *data, *to_free = NULL; in __regset_get() local
19 to_free = p = kzalloc(size, GFP_KERNEL); in __regset_get()
26 kfree(to_free); in __regset_get()
/kernel/linux/linux-5.10/net/sched/
Dsch_fifo.c20 struct sk_buff **to_free) in bfifo_enqueue() argument
25 return qdisc_drop(skb, sch, to_free); in bfifo_enqueue()
29 struct sk_buff **to_free) in pfifo_enqueue() argument
34 return qdisc_drop(skb, sch, to_free); in pfifo_enqueue()
38 struct sk_buff **to_free) in pfifo_tail_enqueue() argument
47 __qdisc_queue_drop_head(sch, &sch->q, to_free); in pfifo_tail_enqueue()
Dsch_cbs.c81 struct sk_buff **to_free);
89 struct sk_buff **to_free) in cbs_child_enqueue() argument
94 err = child->ops->enqueue(skb, child, to_free); in cbs_child_enqueue()
105 struct sk_buff **to_free) in cbs_enqueue_offload() argument
110 return cbs_child_enqueue(skb, sch, qdisc, to_free); in cbs_enqueue_offload()
114 struct sk_buff **to_free) in cbs_enqueue_soft() argument
127 return cbs_child_enqueue(skb, sch, qdisc, to_free); in cbs_enqueue_soft()
131 struct sk_buff **to_free) in cbs_enqueue() argument
135 return q->enqueue(skb, sch, to_free); in cbs_enqueue()
Dsch_blackhole.c17 struct sk_buff **to_free) in blackhole_enqueue() argument
19 qdisc_drop(skb, sch, to_free); in blackhole_enqueue()
Dsch_sfq.c293 static unsigned int sfq_drop(struct Qdisc *sch, struct sk_buff **to_free) in sfq_drop() argument
312 qdisc_drop(skb, sch, to_free); in sfq_drop()
346 sfq_enqueue(struct sk_buff *skb, struct Qdisc *sch, struct sk_buff **to_free) in sfq_enqueue() argument
360 __qdisc_drop(skb, to_free); in sfq_enqueue()
370 return qdisc_drop(skb, sch, to_free); in sfq_enqueue()
427 return qdisc_drop(skb, sch, to_free); in sfq_enqueue()
434 qdisc_drop(head, sch, to_free); in sfq_enqueue()
465 dropped = sfq_drop(sch, to_free); in sfq_enqueue()
630 struct sk_buff *to_free = NULL; in sfq_change() local
691 dropped += sfq_drop(sch, &to_free); in sfq_change()
[all …]
Dsch_tbf.c191 struct sk_buff **to_free) in tbf_segment() argument
202 return qdisc_drop(skb, sch, to_free); in tbf_segment()
209 ret = qdisc_enqueue(segs, q->qdisc, to_free); in tbf_segment()
225 struct sk_buff **to_free) in tbf_enqueue() argument
234 return tbf_segment(skb, sch, to_free); in tbf_enqueue()
235 return qdisc_drop(skb, sch, to_free); in tbf_enqueue()
237 ret = qdisc_enqueue(skb, q->qdisc, to_free); in tbf_enqueue()
Dsch_choke.c115 struct sk_buff **to_free) in choke_drop_by_idx() argument
129 qdisc_drop(skb, sch, to_free); in choke_drop_by_idx()
214 struct sk_buff **to_free) in choke_enqueue() argument
234 choke_drop_by_idx(sch, idx, to_free); in choke_enqueue()
277 return qdisc_drop(skb, sch, to_free); in choke_enqueue()
280 qdisc_drop(skb, sch, to_free); in choke_enqueue()
Dsch_netem.c413 struct sk_buff **to_free) in netem_segment() argument
421 qdisc_drop(skb, sch, to_free); in netem_segment()
435 struct sk_buff **to_free) in netem_enqueue() argument
463 __qdisc_drop(skb, to_free); in netem_enqueue()
483 rootq->enqueue(skb2, rootq, to_free); in netem_enqueue()
496 skb = netem_segment(skb, sch, to_free); in netem_enqueue()
511 qdisc_drop(skb, sch, to_free); in netem_enqueue()
523 qdisc_drop_all(skb, sch, to_free); in netem_enqueue()
607 rc = qdisc_enqueue(segs, sch, to_free); in netem_enqueue()
720 struct sk_buff *to_free = NULL; in netem_dequeue() local
[all …]
Dsch_etf.c163 struct sk_buff **to_free) in etf_enqueue_timesortedlist() argument
173 return qdisc_drop(nskb, sch, to_free); in etf_enqueue_timesortedlist()
204 struct sk_buff *to_free = NULL; in timesortedlist_drop() local
223 qdisc_drop(skb, sch, &to_free); in timesortedlist_drop()
228 kfree_skb_list(to_free); in timesortedlist_drop()
Dsch_plug.c88 struct sk_buff **to_free) in plug_enqueue() argument
98 return qdisc_drop(skb, sch, to_free); in plug_enqueue()
Dsch_red.c71 struct sk_buff **to_free) in red_enqueue() argument
98 skb = tcf_qevent_handle(&q->qe_mark, sch, skb, to_free, &ret); in red_enqueue()
118 skb = tcf_qevent_handle(&q->qe_mark, sch, skb, to_free, &ret); in red_enqueue()
131 ret = qdisc_enqueue(skb, child, to_free); in red_enqueue()
142 skb = tcf_qevent_handle(&q->qe_early_drop, sch, skb, to_free, &ret); in red_enqueue()
146 qdisc_drop(skb, sch, to_free); in red_enqueue()
Dsch_skbprio.c69 struct sk_buff **to_free) in skbprio_enqueue() argument
103 return qdisc_drop(skb, sch, to_free); in skbprio_enqueue()
115 qdisc_drop(to_drop, sch, to_free); in skbprio_enqueue()
Dsch_dsmark.c202 struct sk_buff **to_free) in dsmark_enqueue() argument
253 __qdisc_drop(skb, to_free); in dsmark_enqueue()
270 err = qdisc_enqueue(skb, p->q, to_free); in dsmark_enqueue()
283 qdisc_drop(skb, sch, to_free); in dsmark_enqueue()
Dsch_multiq.c61 struct sk_buff **to_free) in multiq_enqueue() argument
72 __qdisc_drop(skb, to_free); in multiq_enqueue()
77 ret = qdisc_enqueue(skb, qdisc, to_free); in multiq_enqueue()
Dsch_fq_codel.c138 struct sk_buff **to_free) in fq_codel_drop() argument
171 __qdisc_drop(skb, to_free); in fq_codel_drop()
185 struct sk_buff **to_free) in fq_codel_enqueue() argument
198 __qdisc_drop(skb, to_free); in fq_codel_enqueue()
230 ret = fq_codel_drop(sch, q->drop_batch_size, to_free); in fq_codel_enqueue()
/kernel/linux/linux-5.10/drivers/tty/serial/8250/
D8250_hp300.c304 struct hp300_port *port, *to_free; in hp300_8250_exit() local
308 to_free = port; in hp300_8250_exit()
310 kfree(to_free); in hp300_8250_exit()
/kernel/linux/linux-5.10/tools/perf/util/
Dordered-events.c158 list_add(&oe->buffer->list, &oe->to_free); in alloc_event()
365 INIT_LIST_HEAD(&oe->to_free); in ordered_events__init()
390 if (list_empty(&oe->to_free)) in ordered_events__free()
403 list_for_each_entry_safe(buffer, tmp, &oe->to_free, list) { in ordered_events__free()
/kernel/linux/linux-5.10/drivers/scsi/cxlflash/
Dvlun.c257 static int ba_free(struct ba_lun *ba_lun, u64 to_free) in ba_free() argument
264 if (validate_alloc(bali, to_free)) { in ba_free()
266 __func__, to_free, ba_lun->lun_id); in ba_free()
271 "free_aun_cnt=%llx\n", __func__, to_free, ba_lun->lun_id, in ba_free()
274 if (bali->aun_clone_map[to_free] > 0) { in ba_free()
276 __func__, to_free, ba_lun->lun_id, in ba_free()
277 bali->aun_clone_map[to_free]); in ba_free()
278 bali->aun_clone_map[to_free]--; in ba_free()
282 idx = to_free / BITS_PER_LONG; in ba_free()
283 bit_pos = to_free % BITS_PER_LONG; in ba_free()
/kernel/linux/linux-5.10/fs/ceph/
Dsnap.c1140 LIST_HEAD(to_free); in ceph_trim_snapid_map()
1152 list_move(&sm->lru, &to_free); in ceph_trim_snapid_map()
1156 while (!list_empty(&to_free)) { in ceph_trim_snapid_map()
1157 sm = list_first_entry(&to_free, struct ceph_snapid_map, lru); in ceph_trim_snapid_map()
1169 LIST_HEAD(to_free); in ceph_cleanup_snapid_map()
1176 list_move(&sm->lru, &to_free); in ceph_cleanup_snapid_map()
1180 while (!list_empty(&to_free)) { in ceph_cleanup_snapid_map()
1181 sm = list_first_entry(&to_free, struct ceph_snapid_map, lru); in ceph_cleanup_snapid_map()
/kernel/linux/linux-5.10/drivers/infiniband/sw/siw/
Dsiw_mem.c75 int to_free = min_t(int, PAGES_PER_CHUNK, num_pages); in siw_umem_release() local
77 siw_free_plist(&umem->page_chunk[i], to_free, in siw_umem_release()
80 num_pages -= to_free; in siw_umem_release()
/kernel/linux/linux-5.10/net/rds/
Dib_rdma.c90 struct rds_ib_ipaddr *to_free = NULL; in rds_ib_remove_ipaddr() local
97 to_free = i_ipaddr; in rds_ib_remove_ipaddr()
103 if (to_free) in rds_ib_remove_ipaddr()
104 kfree_rcu(to_free, rcu); in rds_ib_remove_ipaddr()

123