/openbmc/linux/fs/afs/ |
H A 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 …]
|
H A D | server.c | 27 const struct afs_addr_list *alist; in afs_find_server() local 44 alist = rcu_dereference(server->addresses); in afs_find_server() 45 for (i = alist->nr_ipv4; i < alist->nr_addrs; i++) { in afs_find_server() 46 b = &alist->addrs[i].transport.sin6; in afs_find_server() 60 alist = rcu_dereference(server->addresses); in afs_find_server() 61 for (i = 0; i < alist->nr_ipv4; i++) { in afs_find_server() 62 b = &alist->addrs[i].transport.sin; in afs_find_server() 141 const struct afs_addr_list *alist; in afs_install_server() local 192 alist = rcu_dereference_protected(server->addresses, in afs_install_server() 203 if (alist->nr_ipv4 > 0) in afs_install_server() [all …]
|
H A 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 …]
|
H A 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 …]
|
H A D | vl_rotate.c | 92 struct afs_addr_list *alist; in afs_select_vlserver() local 221 ASSERTCMP(vc->ac.alist, ==, NULL); in afs_select_vlserver() 228 alist = rcu_dereference_protected(vlserver->addresses, in afs_select_vlserver() 230 afs_get_addrlist(alist); in afs_select_vlserver() 235 if (!vc->ac.alist) in afs_select_vlserver() 236 vc->ac.alist = alist; in afs_select_vlserver() 238 afs_put_addrlist(alist); in afs_select_vlserver() 243 ASSERT(vc->ac.alist); in afs_select_vlserver() 250 _debug("VL address %d/%d", vc->ac.index, vc->ac.alist->nr_addrs); in afs_select_vlserver() 252 _leave(" = t %pISpc", &vc->ac.alist->addrs[vc->ac.index].transport); in afs_select_vlserver() [all …]
|
H A 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()
|
H A 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 …]
|
H A 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 …]
|
H A 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 in afs_deliver_yfsvl_get_endpoints() [all...] |
H A D | rxrpc.c | 190 afs_put_addrlist(call->alist); in afs_put_call() 299 struct sockaddr_rxrpc *srx = &ac->alist->addrs[ac->index]; in afs_make_call() 317 call->alist = afs_get_addrlist(ac->alist); in afs_make_call() 464 &call->alist->addrs[call->addr_ix].transport); in afs_log_error()
|
H A D | afs_vl.h | 145 extern void afs_put_address_list(struct afs_address_list *alist);
|
H A D | internal.h | 99 struct afs_addr_list *alist; /* Address is alist[addr_ix] */ member 725 struct afs_addr_list *alist; /* Current address list (pins ref) */ member 959 static inline struct afs_addr_list *afs_get_addrlist(struct afs_addr_list *alist) in afs_get_addrlist() argument 961 if (alist) in afs_get_addrlist() 962 refcount_inc(&alist->usage); in afs_get_addrlist() 963 return alist; in afs_get_addrlist()
|
/openbmc/linux/net/sched/ |
H A D | sch_drr.c | 24 struct list_head alist; member 232 list_del(&cl->alist); in drr_qlen_notify() 360 list_add_tail(&cl->alist, &q->active); in drr_enqueue() 379 cl = list_first_entry(&q->active, struct drr_class, alist); in drr_dequeue() 393 list_del(&cl->alist); in drr_dequeue() 403 list_move_tail(&cl->alist, &q->active); in drr_dequeue() 434 list_del(&cl->alist); in drr_reset_qdisc()
|
H A 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()
|
H A D | sch_qfq.c | 137 struct list_head alist; /* Link for active-classes list. */ member 323 list_add_tail(&cl->alist, &agg->active); in qfq_add_to_agg() 324 if (list_first_entry(&agg->active, struct qfq_class, alist) == in qfq_add_to_agg() 350 list_del(&cl->alist); /* remove from RR queue of the aggregate */ in qfq_deactivate_class() 988 list_del(&cl->alist); in agg_dequeue() 991 list_move_tail(&cl->alist, &agg->active); in agg_dequeue() 1003 *cl = list_first_entry(&agg->active, struct qfq_class, alist); in qfq_peek_skb() 1261 list_first_entry(&agg->active, struct qfq_class, alist) in qfq_enqueue() 1263 list_move_tail(&cl->alist, &agg->active); in qfq_enqueue() 1270 list_add_tail(&cl->alist, &agg->active); in qfq_enqueue() [all …]
|
/openbmc/linux/drivers/scsi/aic94xx/ |
H A D | aic94xx_task.c | 525 LIST_HEAD(alist); in asd_execute_task() 541 __list_add(&alist, ascb->list.prev, &ascb->list); in asd_execute_task() 542 list_for_each_entry(a, &alist, list) { in asd_execute_task() 547 list_for_each_entry(a, &alist, list) { in asd_execute_task() 572 list_del_init(&alist); in asd_execute_task() 577 __list_add(&alist, ascb->list.prev, &ascb->list); in asd_execute_task() 585 list_for_each_entry(a, &alist, list) { in asd_execute_task() 606 list_del_init(&alist); in asd_execute_task()
|
/openbmc/ipmitool/lib/ |
H A D | ipmi_sunoem.c | 453 struct sdr_record_list *alist, *a; in ipmi_sunoem_led_get() local 477 alist = ipmi_sdr_find_sdr_bytype(intf, in ipmi_sunoem_led_get() 480 if (alist == NULL) in ipmi_sunoem_led_get() 483 for (a = alist; a != NULL; a = a->next) { in ipmi_sunoem_led_get() 503 __sdr_list_empty(alist); in ipmi_sunoem_led_get() 557 alist = ipmi_sdr_find_sdr_bytype(intf, SDR_RECORD_TYPE_ENTITY_ASSOC); in ipmi_sunoem_led_get() 559 if (alist == NULL) in ipmi_sunoem_led_get() 562 for (a = alist; a != NULL; a = a->next) { in ipmi_sunoem_led_get() 609 __sdr_list_empty(alist); in ipmi_sunoem_led_get() 651 struct sdr_record_list *alist, *a; in ipmi_sunoem_led_set() local [all …]
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_ioctl.c | 313 struct xfs_attrlist *alist = context->buffer; in xfs_ioc_attr_put_listent() local 320 ASSERT(context->firstu >= sizeof(*alist)); in xfs_ioc_attr_put_listent() 329 arraytop = sizeof(*alist) + in xfs_ioc_attr_put_listent() 330 context->count * sizeof(alist->al_offset[0]); in xfs_ioc_attr_put_listent() 337 alist->al_more = 1; in xfs_ioc_attr_put_listent() 346 alist->al_offset[context->count++] = context->firstu; in xfs_ioc_attr_put_listent() 347 alist->al_count = context->count; in xfs_ioc_attr_put_listent() 382 struct xfs_attrlist *alist; in xfs_ioc_attr_list() local 425 alist = context.buffer; in xfs_ioc_attr_list() 426 alist->al_count = 0; in xfs_ioc_attr_list() [all …]
|
/openbmc/openbmc/poky/meta/lib/oe/ |
H A D | buildhistory_analysis.py | 484 alist = shlex.split(astr) 487 alist = astr.split() 489 alist.sort() 492 if pkgname in alist and not pkgname in blist: 493 alist.remove(pkgname) 494 if ' '.join(alist) == ' '.join(blist):
|
/openbmc/linux/net/mptcp/ |
H A D | pm_netlink.c | 1684 struct mptcp_rm_list alist = { .nr = 0 }; in mptcp_pm_remove_addrs() local 1689 if (alist.nr >= MPTCP_RM_IDS_MAX) in mptcp_pm_remove_addrs() 1699 alist.ids[alist.nr++] = entry->addr.id; in mptcp_pm_remove_addrs() 1702 if (alist.nr) { in mptcp_pm_remove_addrs() 1705 mptcp_pm_remove_addr(msk, &alist); in mptcp_pm_remove_addrs() 1714 struct mptcp_rm_list alist = { .nr = 0 }, slist = { .nr = 0 }; in mptcp_pm_remove_addrs_and_subflows() local 1722 if (alist.nr < MPTCP_RM_IDS_MAX && in mptcp_pm_remove_addrs_and_subflows() 1724 alist.ids[alist.nr++] = mptcp_endp_get_local_id(msk, &entry->addr); in mptcp_pm_remove_addrs_and_subflows() 1728 if (alist.nr) { in mptcp_pm_remove_addrs_and_subflows() 1729 msk->pm.add_addr_signaled -= alist.nr; in mptcp_pm_remove_addrs_and_subflows() [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/rarpd/rarpd/ |
H A D | 0003-rarpd.c-bug-fix.patch | 140 -struct ifaddr *select_ipaddr(int ifindex, __u32 *sel_addr, __u32 **alist) 141 +struct rarpifaddr *select_ipaddr(int ifindex, __u32 *sel_addr, __u32 **alist)
|
/openbmc/linux/Documentation/translations/zh_TW/process/ |
H A D | coding-style.rst | 533 (c-offsets-alist . (
|
/openbmc/linux/Documentation/translations/zh_CN/process/ |
H A D | coding-style.rst | 607 (c-offsets-alist . (
|
/openbmc/linux/Documentation/translations/it_IT/process/ |
H A D | coding-style.rst | 671 (c-offsets-alist . (
|
/openbmc/linux/Documentation/process/ |
H A D | coding-style.rst | 679 (c-offsets-alist . (
|