/linux-6.1.9/fs/afs/ |
D | addr_list.c | 19 void afs_put_addrlist(struct afs_addr_list *alist) in afs_put_addrlist() argument 21 if (alist && refcount_dec_and_test(&alist->usage)) in afs_put_addrlist() 22 kfree_rcu(alist, rcu); in afs_put_addrlist() 32 struct afs_addr_list *alist; in afs_alloc_addrlist() local 40 alist = kzalloc(struct_size(alist, addrs, nr), GFP_KERNEL); in afs_alloc_addrlist() 41 if (!alist) in afs_alloc_addrlist() 44 refcount_set(&alist->usage, 1); in afs_alloc_addrlist() 45 alist->max_addrs = nr; in afs_alloc_addrlist() 48 struct sockaddr_rxrpc *srx = &alist->addrs[i]; in afs_alloc_addrlist() 57 return alist; in afs_alloc_addrlist() [all …]
|
D | server.c | 27 const struct afs_addr_list *alist; in afs_find_server() local 43 alist = rcu_dereference(server->addresses); in afs_find_server() 44 for (i = alist->nr_ipv4; i < alist->nr_addrs; i++) { in afs_find_server() 45 b = &alist->addrs[i].transport.sin6; in afs_find_server() 59 alist = rcu_dereference(server->addresses); in afs_find_server() 60 for (i = 0; i < alist->nr_ipv4; i++) { in afs_find_server() 61 b = &alist->addrs[i].transport.sin; in afs_find_server() 140 const struct afs_addr_list *alist; in afs_install_server() local 191 alist = rcu_dereference_protected(server->addresses, in afs_install_server() 202 if (alist->nr_ipv4 > 0) in afs_install_server() [all …]
|
D | fs_probe.c | 79 struct afs_addr_list *alist = ac->alist; in afs_fs_probe_not_done() local 91 set_bit(index, &alist->failed); in afs_fs_probe_not_done() 103 struct afs_addr_list *alist = call->alist; in afs_fileserver_probe_result() local 125 clear_bit(index, &alist->responded); in afs_fileserver_probe_result() 139 clear_bit(index, &alist->responded); in afs_fileserver_probe_result() 140 set_bit(index, &alist->failed); in afs_fileserver_probe_result() 151 clear_bit(index, &alist->failed); in afs_fileserver_probe_result() 156 alist->addrs[index].srx_service = call->service_id; in afs_fileserver_probe_result() 161 alist->addrs[index].srx_service = call->service_id; in afs_fileserver_probe_result() 174 alist->preferred = index; in afs_fileserver_probe_result() [all …]
|
D | vl_probe.c | 49 struct afs_addr_list *alist = call->alist; in afs_vlserver_probe_result() local 91 clear_bit(index, &alist->responded); in afs_vlserver_probe_result() 92 set_bit(index, &alist->failed); in afs_vlserver_probe_result() 103 set_bit(index, &alist->responded); in afs_vlserver_probe_result() 104 clear_bit(index, &alist->failed); in afs_vlserver_probe_result() 109 alist->addrs[index].srx_service = call->service_id; in afs_vlserver_probe_result() 114 alist->addrs[index].srx_service = call->service_id; in afs_vlserver_probe_result() 122 alist->preferred = index; in afs_vlserver_probe_result() 134 server_index, index, &alist->addrs[index].transport, rtt_us, ret); in afs_vlserver_probe_result() 158 ac.alist = rcu_dereference_protected(server->addresses, in afs_do_probe_vlserver() [all …]
|
D | vl_rotate.c | 86 struct afs_addr_list *alist; in afs_select_vlserver() local 215 ASSERTCMP(vc->ac.alist, ==, NULL); in afs_select_vlserver() 222 alist = rcu_dereference_protected(vlserver->addresses, in afs_select_vlserver() 224 afs_get_addrlist(alist); in afs_select_vlserver() 229 if (!vc->ac.alist) in afs_select_vlserver() 230 vc->ac.alist = alist; in afs_select_vlserver() 232 afs_put_addrlist(alist); in afs_select_vlserver() 237 ASSERT(vc->ac.alist); in afs_select_vlserver() 244 _debug("VL address %d/%d", vc->ac.index, vc->ac.alist->nr_addrs); in afs_select_vlserver() 246 _leave(" = t %pISpc", &vc->ac.alist->addrs[vc->ac.index].transport); in afs_select_vlserver() [all …]
|
D | vl_list.c | 89 struct afs_addr_list *alist; in afs_extract_vl_addrs() local 93 alist = afs_alloc_addrlist(nr_addrs, VL_SERVICE, port); in afs_extract_vl_addrs() 94 if (!alist) in afs_extract_vl_addrs() 97 return alist; in afs_extract_vl_addrs() 112 afs_merge_fs_addr4(alist, x[0], port); in afs_extract_vl_addrs() 122 afs_merge_fs_addr6(alist, x, port); in afs_extract_vl_addrs() 135 if (alist->nr_ipv4 < alist->nr_addrs) in afs_extract_vl_addrs() 136 alist->preferred = alist->nr_ipv4; in afs_extract_vl_addrs() 139 return alist; in afs_extract_vl_addrs() 143 afs_put_addrlist(alist); in afs_extract_vl_addrs()
|
D | proc.c | 288 const struct afs_addr_list *alist; in afs_proc_cell_vlservers_show() local 300 alist = rcu_dereference(vlserver->addresses); in afs_proc_cell_vlservers_show() 304 dns_record_sources[alist ? alist->source : entry->source], in afs_proc_cell_vlservers_show() 305 dns_lookup_statuses[alist ? alist->status : entry->status]); in afs_proc_cell_vlservers_show() 306 if (alist) { in afs_proc_cell_vlservers_show() 307 for (i = 0; i < alist->nr_addrs; i++) in afs_proc_cell_vlservers_show() 309 alist->preferred == i ? '>' : '-', in afs_proc_cell_vlservers_show() 310 &alist->addrs[i].transport); in afs_proc_cell_vlservers_show() 379 struct afs_addr_list *alist; in afs_proc_servers_show() local 388 alist = rcu_dereference(server->addresses); in afs_proc_servers_show() [all …]
|
D | rotate.c | 111 struct afs_addr_list *alist; in afs_select_fileserver() local 368 ASSERTCMP(op->ac.alist, ==, NULL); in afs_select_fileserver() 387 alist = rcu_dereference_protected(server->addresses, in afs_select_fileserver() 389 afs_get_addrlist(alist); in afs_select_fileserver() 395 if (!op->ac.alist) in afs_select_fileserver() 396 op->ac.alist = alist; in afs_select_fileserver() 398 afs_put_addrlist(alist); in afs_select_fileserver() 403 ASSERT(op->ac.alist); in afs_select_fileserver() 411 op->index, op->ac.index, op->ac.alist->nr_addrs, in afs_select_fileserver() 412 &op->ac.alist->addrs[op->ac.index].transport); in afs_select_fileserver() [all …]
|
D | vlclient.c | 183 struct afs_addr_list *alist; in afs_deliver_vl_get_addrs_u() local 211 alist = afs_alloc_addrlist(nentries, FS_SERVICE, AFS_FS_PORT); in afs_deliver_vl_get_addrs_u() 212 if (!alist) in afs_deliver_vl_get_addrs_u() 214 alist->version = uniquifier; in afs_deliver_vl_get_addrs_u() 215 call->ret_alist = alist; in afs_deliver_vl_get_addrs_u() 230 alist = call->ret_alist; in afs_deliver_vl_get_addrs_u() 234 if (alist->nr_addrs < call->count2) in afs_deliver_vl_get_addrs_u() 235 afs_merge_fs_addr4(alist, *bp++, AFS_FS_PORT); in afs_deliver_vl_get_addrs_u() 423 struct afs_addr_list *alist; in afs_deliver_yfsvl_get_endpoints() local 453 alist = afs_alloc_addrlist(call->count, FS_SERVICE, AFS_FS_PORT); in afs_deliver_yfsvl_get_endpoints() [all …]
|
D | rxrpc.c | 187 afs_put_addrlist(call->alist); in afs_put_call() 296 struct sockaddr_rxrpc *srx = &ac->alist->addrs[ac->index]; in afs_make_call() 314 call->alist = afs_get_addrlist(ac->alist); in afs_make_call() 464 &call->alist->addrs[call->addr_ix].transport); in afs_log_error()
|
D | afs_vl.h | 144 extern void afs_put_address_list(struct afs_address_list *alist);
|
D | internal.h | 98 struct afs_addr_list *alist; /* Address is alist[addr_ix] */ member 720 struct afs_addr_list *alist; /* Current address list (pins ref) */ member 954 static inline struct afs_addr_list *afs_get_addrlist(struct afs_addr_list *alist) in afs_get_addrlist() argument 956 if (alist) in afs_get_addrlist() 957 refcount_inc(&alist->usage); in afs_get_addrlist() 958 return alist; in afs_get_addrlist()
|
/linux-6.1.9/net/sched/ |
D | sch_drr.c | 25 struct list_head alist; member 231 list_del(&cl->alist); in drr_qlen_notify() 359 list_add_tail(&cl->alist, &q->active); in drr_enqueue() 378 cl = list_first_entry(&q->active, struct drr_class, alist); in drr_dequeue() 392 list_del(&cl->alist); in drr_dequeue() 402 list_move_tail(&cl->alist, &q->active); in drr_dequeue() 433 list_del(&cl->alist); in drr_reset_qdisc()
|
D | sch_ets.c | 40 struct list_head alist; /* In struct ets_sched.active. */ member 294 list_del(&cl->alist); in ets_class_qlen_notify() 438 list_add_tail(&cl->alist, &q->active); in ets_qdisc_enqueue() 475 cl = list_first_entry(&q->active, struct ets_class, alist); in ets_qdisc_dequeue() 489 list_del(&cl->alist); in ets_qdisc_dequeue() 494 list_move_tail(&cl->alist, &q->active); in ets_qdisc_dequeue() 652 list_add_tail(&q->classes[i].alist, &q->active); in ets_qdisc_change() 658 list_del(&q->classes[i].alist); in ets_qdisc_change() 702 INIT_LIST_HEAD(&q->classes[i].alist); in ets_qdisc_init() 714 list_del(&q->classes[band].alist); in ets_qdisc_reset()
|
D | sch_qfq.c | 138 struct list_head alist; /* Link for active-classes list. */ member 319 list_add_tail(&cl->alist, &agg->active); in qfq_add_to_agg() 320 if (list_first_entry(&agg->active, struct qfq_class, alist) == in qfq_add_to_agg() 346 list_del(&cl->alist); /* remove from RR queue of the aggregate */ in qfq_deactivate_class() 974 list_del(&cl->alist); in agg_dequeue() 977 list_move_tail(&cl->alist, &agg->active); in agg_dequeue() 987 *cl = list_first_entry(&agg->active, struct qfq_class, alist); in qfq_peek_skb() 1238 list_first_entry(&agg->active, struct qfq_class, alist) in qfq_enqueue() 1240 list_move_tail(&cl->alist, &agg->active); in qfq_enqueue() 1247 list_add_tail(&cl->alist, &agg->active); in qfq_enqueue() [all …]
|
/linux-6.1.9/drivers/scsi/aic94xx/ |
D | aic94xx_task.c | 530 LIST_HEAD(alist); in asd_execute_task() 546 __list_add(&alist, ascb->list.prev, &ascb->list); in asd_execute_task() 547 list_for_each_entry(a, &alist, list) { in asd_execute_task() 552 list_for_each_entry(a, &alist, list) { in asd_execute_task() 577 list_del_init(&alist); in asd_execute_task() 582 __list_add(&alist, ascb->list.prev, &ascb->list); in asd_execute_task() 590 list_for_each_entry(a, &alist, list) { in asd_execute_task() 611 list_del_init(&alist); in asd_execute_task()
|
/linux-6.1.9/fs/xfs/ |
D | xfs_ioctl.c | 312 struct xfs_attrlist *alist = context->buffer; in xfs_ioc_attr_put_listent() local 319 ASSERT(context->firstu >= sizeof(*alist)); in xfs_ioc_attr_put_listent() 328 arraytop = sizeof(*alist) + in xfs_ioc_attr_put_listent() 329 context->count * sizeof(alist->al_offset[0]); in xfs_ioc_attr_put_listent() 336 alist->al_more = 1; in xfs_ioc_attr_put_listent() 345 alist->al_offset[context->count++] = context->firstu; in xfs_ioc_attr_put_listent() 346 alist->al_count = context->count; in xfs_ioc_attr_put_listent() 381 struct xfs_attrlist *alist; in xfs_ioc_attr_list() local 424 alist = context.buffer; in xfs_ioc_attr_list() 425 alist->al_count = 0; in xfs_ioc_attr_list() [all …]
|
/linux-6.1.9/net/mptcp/ |
D | pm_netlink.c | 1547 struct mptcp_rm_list alist = { .nr = 0 }, slist = { .nr = 0 }; in mptcp_pm_remove_addrs_and_subflows() local 1556 alist.nr < MPTCP_RM_IDS_MAX) in mptcp_pm_remove_addrs_and_subflows() 1557 alist.ids[alist.nr++] = entry->addr.id; in mptcp_pm_remove_addrs_and_subflows() 1560 if (alist.nr) { in mptcp_pm_remove_addrs_and_subflows() 1562 mptcp_pm_remove_addr(msk, &alist); in mptcp_pm_remove_addrs_and_subflows()
|
/linux-6.1.9/Documentation/translations/zh_TW/process/ |
D | coding-style.rst | 533 (c-offsets-alist . (
|
/linux-6.1.9/Documentation/translations/zh_CN/process/ |
D | coding-style.rst | 607 (c-offsets-alist . (
|
/linux-6.1.9/tools/perf/util/ |
D | pmu.c | 299 struct list_head *alist) in perf_pmu_merge_alias() argument 303 list_for_each_entry(a, alist, list) { in perf_pmu_merge_alias()
|
/linux-6.1.9/Documentation/translations/it_IT/process/ |
D | coding-style.rst | 671 (c-offsets-alist . (
|
/linux-6.1.9/Documentation/process/ |
D | coding-style.rst | 679 (c-offsets-alist . (
|