| /linux/lib/kunit/ |
| H A D | attributes.c | 39 const char *(*to_string)(void *attr, bool *to_free); 51 static const char *attr_enum_to_string(void *attr, const char * const str_list[], bool *to_free) in attr_enum_to_string() argument 55 *to_free = false; in attr_enum_to_string() 61 static const char *attr_bool_to_string(void *attr, bool *to_free) in attr_bool_to_string() argument 65 *to_free = false; in attr_bool_to_string() 71 static const char *attr_speed_to_string(void *attr, bool *to_free) in attr_speed_to_string() argument 73 return attr_enum_to_string(attr, speed_str_list, to_free); in attr_speed_to_string() 76 static const char *attr_string_to_string(void *attr, bool *to_free) in attr_string_to_string() argument 78 *to_free = false; in attr_string_to_string() 288 bool to_free = false; in kunit_print_attr() local [all …]
|
| H A D | executor_test.c | 12 static void free_suite_set_at_end(struct kunit *test, const void *to_free); 268 static void free_suite_set_at_end(struct kunit *test, const void *to_free) in free_suite_set_at_end() argument 272 if (!((struct kunit_suite_set *)to_free)->start) in free_suite_set_at_end() 276 *free = *(struct kunit_suite_set *)to_free; in free_suite_set_at_end()
|
| /linux/arch/um/kernel/ |
| H A D | irq.c | 264 static void remove_irq_entry(struct irq_entry *to_free, bool remove) in remove_irq_entry() argument 266 if (!to_free) in remove_irq_entry() 270 os_del_epoll_fd(to_free->fd); in remove_irq_entry() 271 list_del(&to_free->list); in remove_irq_entry() 304 struct irq_entry *irq_entry, *to_free = NULL; in activate_fd() local 337 to_free = new; in activate_fd() 363 kfree(to_free); in activate_fd() 374 struct irq_entry *to_free; in free_irq_by_fd() local 378 to_free = get_irq_entry_by_fd(fd); in free_irq_by_fd() 379 remove_irq_entry(to_free, true); in free_irq_by_fd() [all …]
|
| /linux/mm/kasan/ |
| H A D | quarantine.c | 244 struct qlist_head to_free = QLIST_INIT; in kasan_quarantine_reduce() local 277 qlist_move_all(&global_quarantine[quarantine_head], &to_free); in kasan_quarantine_reduce() 278 WRITE_ONCE(quarantine_size, quarantine_size - to_free.bytes); in kasan_quarantine_reduce() 286 qlist_free_all(&to_free, NULL); in kasan_quarantine_reduce() 345 struct qlist_head to_free = QLIST_INIT; in kasan_quarantine_remove_cache() local 361 qlist_move_cache(&sq->qlist, &to_free, cache); in kasan_quarantine_remove_cache() 364 qlist_free_all(&to_free, cache); in kasan_quarantine_remove_cache() 370 qlist_move_cache(&global_quarantine[i], &to_free, cache); in kasan_quarantine_remove_cache() 378 qlist_free_all(&to_free, cache); in kasan_quarantine_remove_cache()
|
| /linux/net/sched/ |
| H A D | sch_fifo.c | 20 struct sk_buff **to_free) in bfifo_enqueue() argument 26 return qdisc_drop(skb, sch, to_free); in bfifo_enqueue() 30 struct sk_buff **to_free) in pfifo_enqueue() argument 35 return qdisc_drop(skb, sch, to_free); in pfifo_enqueue() 39 struct sk_buff **to_free) in pfifo_tail_enqueue() argument 44 return qdisc_drop(skb, sch, to_free); in pfifo_tail_enqueue() 51 __qdisc_queue_drop_head(sch, &sch->q, to_free); in pfifo_tail_enqueue()
|
| H A D | sch_blackhole.c | 17 struct sk_buff **to_free) in blackhole_enqueue() argument 19 qdisc_drop(skb, sch, to_free); in blackhole_enqueue()
|
| H A D | sch_sfq.c | 286 static unsigned int sfq_drop(struct Qdisc *sch, struct sk_buff **to_free) in sfq_drop() argument 305 qdisc_drop(skb, sch, to_free); in sfq_drop() 342 sfq_enqueue(struct sk_buff *skb, struct Qdisc *sch, struct sk_buff **to_free) in sfq_enqueue() argument 356 __qdisc_drop(skb, to_free); in sfq_enqueue() 366 return qdisc_drop(skb, sch, to_free); in sfq_enqueue() 423 return qdisc_drop(skb, sch, to_free); in sfq_enqueue() 430 qdisc_drop(head, sch, to_free); in sfq_enqueue() 461 dropped = sfq_drop(sch, to_free); in sfq_enqueue() 635 struct sk_buff *to_free = NULL; in sfq_change() local 734 dropped += sfq_drop(sch, &to_free); in sfq_change() [all …]
|
| H A D | sch_netem.c | 427 struct sk_buff **to_free) in netem_segment() argument 436 qdisc_drop(skb, sch, to_free); in netem_segment() 450 struct sk_buff **to_free) in netem_enqueue() 476 __qdisc_drop(skb, to_free); in netem_enqueue() 501 skb = netem_segment(skb, sch, to_free); in netem_enqueue() 517 qdisc_drop(skb, sch, to_free); in netem_enqueue() 529 qdisc_drop_all(skb, sch, to_free); in netem_enqueue() 531 __qdisc_drop(skb2, to_free); in netem_enqueue() 545 rootq->enqueue(skb2, rootq, to_free); in netem_enqueue() 619 __qdisc_drop(skb2, to_free); in netem_enqueue() 449 netem_enqueue(struct sk_buff * skb,struct Qdisc * sch,struct sk_buff ** to_free) netem_enqueue() argument 744 struct sk_buff *to_free = NULL; netem_dequeue() local [all...] |
| H A D | sch_tbf.c | 206 struct sk_buff **to_free) in tbf_segment() argument 217 return qdisc_drop(skb, sch, to_free); in tbf_segment() 225 ret = qdisc_enqueue(segs, q->qdisc, to_free); in tbf_segment() 247 struct sk_buff **to_free) in tbf_enqueue() 256 return tbf_segment(skb, sch, to_free); in tbf_enqueue() 257 return qdisc_drop(skb, sch, to_free); in tbf_enqueue() 259 ret = qdisc_enqueue(skb, q->qdisc, to_free); in tbf_enqueue() 246 tbf_enqueue(struct sk_buff * skb,struct Qdisc * sch,struct sk_buff ** to_free) tbf_enqueue() argument
|
| H A D | sch_choke.c | 114 struct sk_buff **to_free) in choke_drop_by_idx() argument 129 qdisc_drop(skb, sch, to_free); in choke_drop_by_idx() 213 struct sk_buff **to_free) in choke_enqueue() argument 233 choke_drop_by_idx(sch, idx, to_free); in choke_enqueue() 276 return qdisc_drop(skb, sch, to_free); in choke_enqueue() 279 qdisc_drop(skb, sch, to_free); in choke_enqueue()
|
| H A D | sch_etf.c | 163 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()
|
| H A D | sch_red.c | 71 struct sk_buff **to_free) in red_enqueue() argument 99 skb = tcf_qevent_handle(&q->qe_mark, sch, skb, to_free, &ret); in red_enqueue() 120 skb = tcf_qevent_handle(&q->qe_mark, sch, skb, to_free, &ret); in red_enqueue() 133 ret = qdisc_enqueue(skb, child, to_free); in red_enqueue() 144 skb = tcf_qevent_handle(&q->qe_early_drop, sch, skb, to_free, &ret); in red_enqueue() 148 qdisc_drop_reason(skb, sch, to_free, reason); in red_enqueue()
|
| H A D | sch_plug.c | 88 struct sk_buff **to_free) in plug_enqueue() argument 98 return qdisc_drop(skb, sch, to_free); in plug_enqueue()
|
| H A D | sch_skbprio.c | 69 struct sk_buff **to_free) in skbprio_enqueue() argument 105 return qdisc_drop(skb, sch, to_free); in skbprio_enqueue() 117 qdisc_drop(to_drop, sch, to_free); in skbprio_enqueue()
|
| H A D | sch_dualpi2.c | 386 struct sk_buff **to_free) in dualpi2_enqueue_skb() argument 396 return qdisc_drop_reason(skb, sch, to_free, in dualpi2_enqueue_skb() 401 qdisc_drop_reason(skb, sch, to_free, in dualpi2_enqueue_skb() 442 struct sk_buff **to_free) in dualpi2_qdisc_enqueue() argument 451 __qdisc_drop(skb, to_free); in dualpi2_qdisc_enqueue() 464 return qdisc_drop(skb, sch, to_free); in dualpi2_qdisc_enqueue() 482 err = dualpi2_enqueue_skb(nskb, sch, to_free); in dualpi2_qdisc_enqueue() 504 return dualpi2_enqueue_skb(skb, sch, to_free); in dualpi2_qdisc_enqueue()
|
| H A D | sch_multiq.c | 61 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()
|
| H A D | sch_fq_codel.c | 138 struct sk_buff **to_free) in fq_codel_drop() argument 172 __qdisc_drop(skb, to_free); in fq_codel_drop() 186 struct sk_buff **to_free) in fq_codel_enqueue() argument 199 __qdisc_drop(skb, to_free); in fq_codel_enqueue() 231 ret = fq_codel_drop(sch, q->drop_batch_size, to_free); in fq_codel_enqueue()
|
| H A D | sch_hhf.c | 349 static unsigned int hhf_drop(struct Qdisc *sch, struct sk_buff **to_free) in hhf_drop() argument 364 qdisc_drop(skb, sch, to_free); in hhf_drop() 372 struct sk_buff **to_free) in hhf_enqueue() argument 410 if (hhf_drop(sch, to_free) == idx) in hhf_enqueue()
|
| /linux/include/net/ |
| H A D | sch_generic.h | 69 struct sk_buff **to_free); 91 #define TCQ_F_DEQUEUE_DROPS 0x400 /* ->dequeue() can drop packets in q->to_free */ 125 struct sk_buff *to_free; 227 struct sk_buff *to_free = NULL; in qdisc_run_end() 245 to_free = qdisc->to_free; 246 if (to_free) 247 qdisc->to_free = NULL; 250 return to_free; 313 struct sk_buff **to_free); 856 qdisc_enqueue(struct sk_buff * skb,struct Qdisc * sch,struct sk_buff ** to_free) qdisc_enqueue() argument 1100 __qdisc_drop(struct sk_buff * skb,struct sk_buff ** to_free) __qdisc_drop() argument 1107 __qdisc_drop_all(struct sk_buff * skb,struct sk_buff ** to_free) __qdisc_drop_all() argument 1118 __qdisc_queue_drop_head(struct Qdisc * sch,struct qdisc_skb_head * qh,struct sk_buff ** to_free) __qdisc_queue_drop_head() argument 1250 qdisc_drop_cpu(struct sk_buff * skb,struct Qdisc * sch,struct sk_buff ** to_free) qdisc_drop_cpu() argument 1259 qdisc_drop(struct sk_buff * skb,struct Qdisc * sch,struct sk_buff ** to_free) qdisc_drop() argument 1268 qdisc_drop_reason(struct sk_buff * skb,struct Qdisc * sch,struct sk_buff ** to_free,enum skb_drop_reason reason) qdisc_drop_reason() argument 1276 qdisc_drop_all(struct sk_buff * skb,struct Qdisc * sch,struct sk_buff ** to_free) qdisc_drop_all() argument [all...] |
| /linux/kernel/ |
| H A D | regset.c | 11 void *p = *data, *to_free = NULL; in __regset_get() local 19 to_free = p = kvzalloc(size, GFP_KERNEL); in __regset_get() 26 kvfree(to_free); in __regset_get()
|
| /linux/drivers/tty/serial/8250/ |
| H A D | 8250_hp300.c | 304 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()
|
| /linux/tools/perf/util/ |
| H A D | ordered-events.c | 158 list_add(&oe->buffer->list, &oe->to_free); in alloc_event() 366 INIT_LIST_HEAD(&oe->to_free); in ordered_events__init() 391 if (list_empty(&oe->to_free)) in ordered_events__free() 404 list_for_each_entry_safe(buffer, tmp, &oe->to_free, list) { in ordered_events__free()
|
| /linux/net/mac80211/ |
| H A D | link.c | 271 struct link_container **to_free, in ieee80211_vif_update_links() argument 287 memset(to_free, 0, sizeof(links)); in ieee80211_vif_update_links() 320 to_free[link_id] = container_of(rcu_access_pointer(sdata->link[link_id]), in ieee80211_vif_update_links() 349 ieee80211_tear_down_links(sdata, to_free, rem); in ieee80211_vif_update_links() 379 memset(to_free, 0, sizeof(links)); in ieee80211_vif_update_links()
|
| /linux/fs/ceph/ |
| H A D | snap.c | 1292 LIST_HEAD(to_free); in ceph_trim_snapid_map() 1304 list_move(&sm->lru, &to_free); in ceph_trim_snapid_map() 1308 while (!list_empty(&to_free)) { in ceph_trim_snapid_map() 1309 sm = list_first_entry(&to_free, struct ceph_snapid_map, lru); in ceph_trim_snapid_map() 1322 LIST_HEAD(to_free); in ceph_cleanup_snapid_map() 1329 list_move(&sm->lru, &to_free); in ceph_cleanup_snapid_map() 1333 while (!list_empty(&to_free)) { in ceph_cleanup_snapid_map() 1334 sm = list_first_entry(&to_free, struct ceph_snapid_map, lru); in ceph_cleanup_snapid_map()
|
| /linux/drivers/dma/ |
| H A D | apple-admac.c | 109 struct list_head to_free; member 521 list_add_tail(&adchan->current_tx->node, &adchan->to_free); in admac_terminate_all() 528 list_splice_tail_init(&adchan->submitted, &adchan->to_free); in admac_terminate_all() 529 list_splice_tail_init(&adchan->issued, &adchan->to_free); in admac_terminate_all() 543 list_splice_tail_init(&adchan->to_free, &head); in admac_synchronize() 887 INIT_LIST_HEAD(&adchan->to_free); in admac_probe()
|