/linux-6.6.21/lib/kunit/ |
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_speed_to_string(void *attr, bool *to_free) in attr_speed_to_string() argument 63 return attr_enum_to_string(attr, speed_str_list, to_free); in attr_speed_to_string() 66 static const char *attr_string_to_string(void *attr, bool *to_free) in attr_string_to_string() argument 68 *to_free = false; in attr_string_to_string() 228 bool to_free = false; in kunit_print_attr() local 241 attr_str = kunit_attr_list[i].to_string(attr, &to_free); in kunit_print_attr() 252 if (to_free) in kunit_print_attr()
|
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-6.6.21/mm/kasan/ |
D | quarantine.c | 250 struct qlist_head to_free = QLIST_INIT; in kasan_quarantine_reduce() local 283 qlist_move_all(&global_quarantine[quarantine_head], &to_free); in kasan_quarantine_reduce() 284 WRITE_ONCE(quarantine_size, quarantine_size - to_free.bytes); in kasan_quarantine_reduce() 292 qlist_free_all(&to_free, NULL); in kasan_quarantine_reduce() 351 struct qlist_head to_free = QLIST_INIT; in kasan_quarantine_remove_cache() local 367 qlist_move_cache(&sq->qlist, &to_free, cache); in kasan_quarantine_remove_cache() 370 qlist_free_all(&to_free, cache); in kasan_quarantine_remove_cache() 376 qlist_move_cache(&global_quarantine[i], &to_free, cache); in kasan_quarantine_remove_cache() 384 qlist_free_all(&to_free, cache); in kasan_quarantine_remove_cache()
|
/linux-6.6.21/fs/ntfs/ |
D | lcnalloc.c | 838 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 …]
|
/linux-6.6.21/include/net/ |
D | sch_generic.h | 75 struct sk_buff **to_free); 298 struct sk_buff **to_free); 845 struct sk_buff **to_free) in qdisc_enqueue() argument 848 return sch->enqueue(skb, sch, to_free); in qdisc_enqueue() 1047 static inline void __qdisc_drop(struct sk_buff *skb, struct sk_buff **to_free) in __qdisc_drop() argument 1049 skb->next = *to_free; in __qdisc_drop() 1050 *to_free = skb; in __qdisc_drop() 1054 struct sk_buff **to_free) in __qdisc_drop_all() argument 1057 skb->prev->next = *to_free; in __qdisc_drop_all() 1059 skb->next = *to_free; in __qdisc_drop_all() [all …]
|
/linux-6.6.21/net/sched/ |
D | sch_fifo.c | 20 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()
|
D | sch_cbs.c | 82 struct sk_buff **to_free); 90 struct sk_buff **to_free) in cbs_child_enqueue() argument 95 err = child->ops->enqueue(skb, child, to_free); in cbs_child_enqueue() 106 struct sk_buff **to_free) in cbs_enqueue_offload() argument 111 return cbs_child_enqueue(skb, sch, qdisc, to_free); in cbs_enqueue_offload() 115 struct sk_buff **to_free) in cbs_enqueue_soft() argument 128 return cbs_child_enqueue(skb, sch, qdisc, to_free); in cbs_enqueue_soft() 132 struct sk_buff **to_free) in cbs_enqueue() argument 136 return q->enqueue(skb, sch, to_free); in cbs_enqueue()
|
D | sch_blackhole.c | 17 struct sk_buff **to_free) in blackhole_enqueue() argument 19 qdisc_drop(skb, sch, to_free); in blackhole_enqueue()
|
D | sch_sfq.c | 293 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() 633 struct sk_buff *to_free = NULL; in sfq_change() local 694 dropped += sfq_drop(sch, &to_free); in sfq_change() [all …]
|
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() 224 ret = qdisc_enqueue(segs, q->qdisc, to_free); in tbf_segment() 240 struct sk_buff **to_free) in tbf_enqueue() argument 249 return tbf_segment(skb, sch, to_free); in tbf_enqueue() 250 return qdisc_drop(skb, sch, to_free); in tbf_enqueue() 252 ret = qdisc_enqueue(skb, q->qdisc, to_free); in tbf_enqueue()
|
D | sch_choke.c | 114 struct sk_buff **to_free) in choke_drop_by_idx() argument 128 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()
|
D | sch_netem.c | 422 struct sk_buff **to_free) in netem_segment() argument 430 qdisc_drop(skb, sch, to_free); in netem_segment() 444 struct sk_buff **to_free) in netem_enqueue() argument 472 __qdisc_drop(skb, to_free); in netem_enqueue() 492 rootq->enqueue(skb2, rootq, to_free); in netem_enqueue() 505 skb = netem_segment(skb, sch, to_free); in netem_enqueue() 520 qdisc_drop(skb, sch, to_free); in netem_enqueue() 532 qdisc_drop_all(skb, sch, to_free); in netem_enqueue() 616 rc = qdisc_enqueue(segs, sch, to_free); in netem_enqueue() 729 struct sk_buff *to_free = NULL; in netem_dequeue() local [all …]
|
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()
|
D | sch_red.c | 71 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()
|
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()
|
D | sch_skbprio.c | 69 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()
|
/linux-6.6.21/kernel/ |
D | regset.c | 11 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()
|
/linux-6.6.21/arch/um/kernel/ |
D | irq.c | 215 static void free_irq_entry(struct irq_entry *to_free, bool remove) in free_irq_entry() argument 217 if (!to_free) in free_irq_entry() 221 os_del_epoll_fd(to_free->fd); in free_irq_entry() 222 list_del(&to_free->list); in free_irq_entry() 223 kfree(to_free); in free_irq_entry() 313 struct irq_entry *to_free; in free_irq_by_fd() local 317 to_free = get_irq_entry_by_fd(fd); in free_irq_by_fd() 318 free_irq_entry(to_free, true); in free_irq_by_fd()
|
/linux-6.6.21/fs/btrfs/ |
D | delayed-ref.c | 115 u64 to_free = 0; in btrfs_migrate_to_delayed_refs_rsv() local 122 to_free = num_bytes - delta; in btrfs_migrate_to_delayed_refs_rsv() 126 to_free = num_bytes; in btrfs_migrate_to_delayed_refs_rsv() 139 if (to_free) in btrfs_migrate_to_delayed_refs_rsv() 141 delayed_refs_rsv->space_info, to_free); in btrfs_migrate_to_delayed_refs_rsv() 160 u64 to_free; in btrfs_delayed_refs_rsv_refill() local 188 to_free = num_bytes - needed; in btrfs_delayed_refs_rsv_refill() 192 to_free = 0; in btrfs_delayed_refs_rsv_refill() 196 to_free = num_bytes; in btrfs_delayed_refs_rsv_refill() 201 if (to_free > 0) in btrfs_delayed_refs_rsv_refill() [all …]
|
/linux-6.6.21/drivers/tty/serial/8250/ |
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-6.6.21/net/mac80211/ |
D | link.c | 180 struct link_container **to_free, in ieee80211_vif_update_links() argument 196 memset(to_free, 0, sizeof(links)); in ieee80211_vif_update_links() 229 to_free[link_id] = container_of(rcu_access_pointer(sdata->link[link_id]), in ieee80211_vif_update_links() 255 ieee80211_tear_down_links(sdata, to_free, rem); in ieee80211_vif_update_links() 272 memset(to_free, 0, sizeof(links)); in ieee80211_vif_update_links()
|
/linux-6.6.21/tools/perf/util/ |
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-6.6.21/fs/ |
D | eventpoll.c | 295 struct epitems_head *to_free = head; in unlist_file() local 301 to_free = NULL; in unlist_file() 305 free_ephead(to_free); in unlist_file() 724 struct epitems_head *to_free; in __ep_remove() local 741 to_free = NULL; in __ep_remove() 749 to_free = v; in __ep_remove() 754 free_ephead(to_free); in __ep_remove() 1443 struct epitems_head *to_free = NULL; in attach_epitem() local 1454 to_free = kmem_cache_zalloc(ephead_cache, GFP_KERNEL); in attach_epitem() 1455 if (!to_free) in attach_epitem() [all …]
|
/linux-6.6.21/drivers/scsi/cxlflash/ |
D | vlun.c | 257 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()
|
/linux-6.6.21/fs/ceph/ |
D | snap.c | 1273 LIST_HEAD(to_free); in ceph_trim_snapid_map() 1285 list_move(&sm->lru, &to_free); in ceph_trim_snapid_map() 1289 while (!list_empty(&to_free)) { in ceph_trim_snapid_map() 1290 sm = list_first_entry(&to_free, struct ceph_snapid_map, lru); in ceph_trim_snapid_map() 1302 LIST_HEAD(to_free); in ceph_cleanup_snapid_map() 1309 list_move(&sm->lru, &to_free); in ceph_cleanup_snapid_map() 1313 while (!list_empty(&to_free)) { in ceph_cleanup_snapid_map() 1314 sm = list_first_entry(&to_free, struct ceph_snapid_map, lru); in ceph_cleanup_snapid_map()
|