Home
last modified time | relevance | path

Searched refs:n_list (Results 1 – 24 of 24) sorted by relevance

/linux-6.1.9/net/netfilter/ipvs/
Dip_vs_wrr.c75 list_for_each_entry(dest, &svc->destinations, n_list) { in ip_vs_wrr_gcd_weight()
96 list_for_each_entry(dest, &svc->destinations, n_list) { in ip_vs_wrr_max_weight()
117 mark->cl = list_entry(&svc->destinations, struct ip_vs_dest, n_list); in ip_vs_wrr_init_svc()
144 mark->cl = list_entry(&svc->destinations, struct ip_vs_dest, n_list); in ip_vs_wrr_dest_changed()
179 n_list) { in ip_vs_wrr_schedule()
196 &last->n_list == &svc->destinations) in ip_vs_wrr_schedule()
202 &last->n_list != &svc->destinations) { in ip_vs_wrr_schedule()
243 .n_list = LIST_HEAD_INIT(ip_vs_wrr_scheduler.n_list),
Dip_vs_rr.c42 if (p == &dest->n_list) in ip_vs_rr_del_dest()
64 last = dest = list_entry(p, struct ip_vs_dest, n_list); in ip_vs_rr_schedule()
69 n_list) { in ip_vs_rr_schedule()
89 svc->sched_data = &dest->n_list; in ip_vs_rr_schedule()
105 .n_list = LIST_HEAD_INIT(ip_vs_rr_scheduler.n_list),
Dip_vs_sched.c87 list_for_each_entry(sched, &ip_vs_schedulers, n_list) { in ip_vs_sched_getbyname()
187 if (!list_empty(&scheduler->n_list)) { in register_ip_vs_scheduler()
199 list_for_each_entry(sched, &ip_vs_schedulers, n_list) { in register_ip_vs_scheduler()
211 list_add(&scheduler->n_list, &ip_vs_schedulers); in register_ip_vs_scheduler()
231 if (list_empty(&scheduler->n_list)) { in unregister_ip_vs_scheduler()
241 list_del(&scheduler->n_list); in unregister_ip_vs_scheduler()
Dip_vs_pe.c29 list_for_each_entry_rcu(pe, &ip_vs_pe, n_list) { in __ip_vs_pe_getbyname()
78 list_for_each_entry(tmp, &ip_vs_pe, n_list) { in register_ip_vs_pe()
88 list_add_rcu(&pe->n_list, &ip_vs_pe); in register_ip_vs_pe()
102 list_del_rcu(&pe->n_list); in unregister_ip_vs_pe()
Dip_vs_wlc.c50 list_for_each_entry_rcu(dest, &svc->destinations, n_list) { in ip_vs_wlc_schedule()
65 list_for_each_entry_continue_rcu(dest, &svc->destinations, n_list) { in ip_vs_wlc_schedule()
93 .n_list = LIST_HEAD_INIT(ip_vs_wlc_scheduler.n_list),
Dip_vs_sed.c78 list_for_each_entry_rcu(dest, &svc->destinations, n_list) { in ip_vs_sed_schedule()
93 list_for_each_entry_continue_rcu(dest, &svc->destinations, n_list) { in ip_vs_sed_schedule()
121 .n_list = LIST_HEAD_INIT(ip_vs_sed_scheduler.n_list),
Dip_vs_twos.c55 list_for_each_entry_rcu(dest, &svc->destinations, n_list) { in ip_vs_twos_schedule()
78 list_for_each_entry_rcu(dest, &svc->destinations, n_list) { in ip_vs_twos_schedule()
122 .n_list = LIST_HEAD_INIT(ip_vs_twos_scheduler.n_list),
Dip_vs_fo.c32 list_for_each_entry_rcu(dest, &svc->destinations, n_list) { in ip_vs_fo_schedule()
57 .n_list = LIST_HEAD_INIT(ip_vs_fo_scheduler.n_list),
Dip_vs_ovf.c35 list_for_each_entry_rcu(dest, &svc->destinations, n_list) { in ip_vs_ovf_schedule()
64 .n_list = LIST_HEAD_INIT(ip_vs_ovf_scheduler.n_list),
Dip_vs_lc.c41 list_for_each_entry_rcu(dest, &svc->destinations, n_list) { in ip_vs_lc_schedule()
70 .n_list = LIST_HEAD_INIT(ip_vs_lc_scheduler.n_list),
Dip_vs_nq.c74 list_for_each_entry_rcu(dest, &svc->destinations, n_list) { in ip_vs_nq_schedule()
120 .n_list = LIST_HEAD_INIT(ip_vs_nq_scheduler.n_list),
Dip_vs_mh.c141 dest = list_entry(p, struct ip_vs_dest, n_list); in ip_vs_mh_permutate()
209 new_dest = list_entry(p, struct ip_vs_dest, n_list); in ip_vs_mh_populate()
328 list_for_each_entry(dest, &svc->destinations, n_list) { in ip_vs_mh_gcd_weight()
356 list_for_each_entry(dest, &svc->destinations, n_list) { in ip_vs_mh_shift_weight()
515 .n_list = LIST_HEAD_INIT(ip_vs_mh_scheduler.n_list),
Dip_vs_dh.c119 dest = list_entry(p, struct ip_vs_dest, n_list); in ip_vs_dh_reassign()
248 .n_list = LIST_HEAD_INIT(ip_vs_dh_scheduler.n_list),
Dip_vs_lblc.c417 list_for_each_entry_rcu(dest, &svc->destinations, n_list) { in __ip_vs_lblc_schedule()
432 list_for_each_entry_continue_rcu(dest, &svc->destinations, n_list) { in __ip_vs_lblc_schedule()
466 list_for_each_entry_rcu(d, &svc->destinations, n_list) { in is_overloaded()
540 .n_list = LIST_HEAD_INIT(ip_vs_lblc_scheduler.n_list),
Dip_vs_sh.c186 dest = list_entry(p, struct ip_vs_dest, n_list); in ip_vs_sh_reassign()
353 .n_list = LIST_HEAD_INIT(ip_vs_sh_scheduler.n_list),
Dip_vs_pe_sip.c166 .n_list = LIST_HEAD_INIT(ip_vs_sip_pe.n_list),
Dip_vs_lblcr.c580 list_for_each_entry_rcu(dest, &svc->destinations, n_list) { in __ip_vs_lblcr_schedule()
596 list_for_each_entry_continue_rcu(dest, &svc->destinations, n_list) { in __ip_vs_lblcr_schedule()
630 list_for_each_entry_rcu(d, &svc->destinations, n_list) { in is_overloaded()
726 .n_list = LIST_HEAD_INIT(ip_vs_lblcr_scheduler.n_list),
Dip_vs_ctl.c669 list_for_each_entry_rcu(dest, &svc->destinations, n_list) { in ip_vs_lookup_dest()
946 list_add_rcu(&dest->n_list, &svc->destinations); in __ip_vs_update_dest()
1197 list_del_rcu(&dest->n_list); in __ip_vs_unlink_dest()
1558 list_for_each_entry_safe(dest, nxt, &svc->destinations, n_list) { in __ip_vs_del_service()
1704 n_list) { in ip_vs_dst_event()
1713 n_list) { in ip_vs_dst_event()
1738 list_for_each_entry(dest, &svc->destinations, n_list) { in ip_vs_zero_service()
2211 list_for_each_entry_rcu(dest, &svc->destinations, n_list) { in ip_vs_info_seq_show()
2697 list_for_each_entry(dest, &svc->destinations, n_list) { in __ip_vs_get_dest_entries()
3383 list_for_each_entry(dest, &svc->destinations, n_list) { in ip_vs_genl_dump_dests()
/linux-6.1.9/net/rds/
Drecv.c477 struct rds_notifier, n_list); in rds_notify_queue_get()
478 list_move(&notifier->n_list, &copy); in rds_notify_queue_get()
487 notifier = list_entry(copy.next, struct rds_notifier, n_list); in rds_notify_queue_get()
499 list_del_init(&notifier->n_list); in rds_notify_queue_get()
Dsend.c518 list_add_tail(&notifier->n_list, &rs->rs_notify_queue); in rds_rdma_send_complete()
554 list_add_tail(&notifier->n_list, &rs->rs_notify_queue); in rds_atomic_send_complete()
583 list_add_tail(&ro->op_notifier->n_list, &rs->rs_notify_queue); in __rds_send_complete()
590 list_add_tail(&ao->op_notifier->n_list, &rs->rs_notify_queue); in __rds_send_complete()
655 list_add_tail(&notifier->n_list, in rds_send_remove_from_sock()
Drds.h498 struct list_head n_list; member
/linux-6.1.9/fs/btrfs/
Ddelayed-inode.h48 struct list_head n_list; member
Ddelayed-inode.c51 INIT_LIST_HEAD(&delayed_node->n_list); in btrfs_init_delayed_node()
169 list_add_tail(&node->n_list, &root->node_list); in btrfs_queue_delayed_node()
186 list_del_init(&node->n_list); in btrfs_dequeue_delayed_node()
205 node = list_entry(p, struct btrfs_delayed_node, n_list); in btrfs_first_delayed_node()
227 } else if (list_is_last(&node->n_list, &delayed_root->node_list)) in btrfs_next_delayed_node()
230 p = node->n_list.next; in btrfs_next_delayed_node()
232 next = list_entry(p, struct btrfs_delayed_node, n_list); in btrfs_next_delayed_node()
/linux-6.1.9/include/net/
Dip_vs.h655 struct list_head n_list; /* for the dests in the service */ member
697 struct list_head n_list; /* d-linked list head */ member
721 struct list_head n_list; /* d-linked list head */ member