/kernel/linux/linux-5.10/fs/afs/ |
D | server_list.c | 17 for (i = 0; i < slist->nr_servers; i++) in afs_put_serverlist() 34 int ret = -ENOMEM, nr_servers = 0, i, j; in afs_alloc_server_list() local 36 for (i = 0; i < vldb->nr_servers; i++) in afs_alloc_server_list() 38 nr_servers++; in afs_alloc_server_list() 40 slist = kzalloc(struct_size(slist, servers, nr_servers), GFP_KERNEL); in afs_alloc_server_list() 51 for (i = 0; i < vldb->nr_servers; i++) { in afs_alloc_server_list() 66 for (j = 0; j < slist->nr_servers; j++) in afs_alloc_server_list() 71 if (j < slist->nr_servers) { in afs_alloc_server_list() 80 (slist->nr_servers - j) * sizeof(struct afs_server_entry)); in afs_alloc_server_list() 84 slist->nr_servers++; in afs_alloc_server_list() [all …]
|
D | vl_list.c | 51 struct afs_vlserver_list *afs_alloc_vlserver_list(unsigned int nr_servers) in afs_alloc_vlserver_list() argument 55 vllist = kzalloc(struct_size(vllist, servers, nr_servers), GFP_KERNEL); in afs_alloc_vlserver_list() 73 for (i = 0; i < vllist->nr_servers; i++) { in afs_put_vlserverlist() 167 int ret = -ENOMEM, nr_servers, i, j; in afs_extract_vlserver_list() local 181 nr_servers = hdr->nr_servers; in afs_extract_vlserver_list() 183 vllist = afs_alloc_vlserver_list(nr_servers); in afs_extract_vlserver_list() 234 for (i = 0; i < previous->nr_servers; i++) { in afs_extract_vlserver_list() 263 if (vllist->nr_servers >= nr_servers) { in afs_extract_vlserver_list() 264 _debug("skip %u >= %u", vllist->nr_servers, nr_servers); in afs_extract_vlserver_list() 293 for (j = 0; j < vllist->nr_servers; j++) { in afs_extract_vlserver_list() [all …]
|
D | vl_probe.c | 194 for (i = 0; i < vllist->nr_servers; i++) { in afs_send_vl_probes() 219 _enter("%u,%lx", vllist->nr_servers, untried); in afs_wait_for_vl_probes() 222 for (i = 0; i < vllist->nr_servers; i++) { in afs_wait_for_vl_probes() 234 waits = kmalloc(array_size(vllist->nr_servers, sizeof(*waits)), GFP_KERNEL); in afs_wait_for_vl_probes() 238 for (i = 0; i < vllist->nr_servers; i++) { in afs_wait_for_vl_probes() 250 for (i = 0; i < vllist->nr_servers; i++) { in afs_wait_for_vl_probes() 268 for (i = 0; i < vllist->nr_servers; i++) { in afs_wait_for_vl_probes()
|
D | vl_rotate.c | 72 if (!vc->server_list->nr_servers) in afs_start_vl_iteration() 75 vc->untried = (1UL << vc->server_list->nr_servers) - 1; in afs_start_vl_iteration() 192 for (i = 0; i < vc->server_list->nr_servers; i++) { in afs_select_vlserver() 263 for (i = 0; i < vc->server_list->nr_servers; i++) { in afs_select_vlserver() 303 sl->nr_servers, sl->index); in afs_vl_dump_edestaddrreq() 304 for (i = 0; i < sl->nr_servers; i++) { in afs_vl_dump_edestaddrreq()
|
D | vlclient.c | 22 u32 tmp, nr_servers, vlflags; in afs_deliver_vl_get_entry_by_name_u() local 35 nr_servers = ntohl(uvldb->nServers); in afs_deliver_vl_get_entry_by_name_u() 36 if (nr_servers > AFS_NMAXNSERVERS) in afs_deliver_vl_get_entry_by_name_u() 37 nr_servers = AFS_NMAXNSERVERS; in afs_deliver_vl_get_entry_by_name_u() 47 for (i = 0; i < nr_servers; i++) { in afs_deliver_vl_get_entry_by_name_u() 55 for (i = 0; i < nr_servers; i++) { in afs_deliver_vl_get_entry_by_name_u() 59 int n = entry->nr_servers; in afs_deliver_vl_get_entry_by_name_u() 86 entry->nr_servers++; in afs_deliver_vl_get_entry_by_name_u()
|
D | fs_probe.c | 236 _enter("%u,%lx", slist->nr_servers, untried); in afs_wait_for_fs_probes() 239 for (i = 0; i < slist->nr_servers; i++) { in afs_wait_for_fs_probes() 251 waits = kmalloc(array_size(slist->nr_servers, sizeof(*waits)), GFP_KERNEL); in afs_wait_for_fs_probes() 255 for (i = 0; i < slist->nr_servers; i++) { in afs_wait_for_fs_probes() 267 for (i = 0; i < slist->nr_servers; i++) { in afs_wait_for_fs_probes() 285 for (i = 0; i < slist->nr_servers; i++) { in afs_wait_for_fs_probes()
|
D | rotate.c | 34 op->untried = (1UL << op->server_list->nr_servers) - 1; in afs_start_fs_iteration() 40 for (i = 0; i < op->server_list->nr_servers; i++) { in afs_start_fs_iteration() 341 for (i = 0; i < op->server_list->nr_servers; i++) { in afs_select_fileserver() 447 for (i = 0; i < op->server_list->nr_servers; i++) { in afs_select_fileserver() 489 sl->nr_servers, sl->preferred, sl->vnovol_mask); in afs_dump_edestaddrreq() 490 for (i = 0; i < sl->nr_servers; i++) { in afs_dump_edestaddrreq()
|
D | volume.c | 74 int ret = -ENOMEM, nr_servers = 0, i; in afs_alloc_volume() local 76 for (i = 0; i < vldb->nr_servers; i++) in afs_alloc_volume() 78 nr_servers++; in afs_alloc_volume()
|
D | vl_alias.c | 132 while (a < la->nr_servers && b < lb->nr_servers) { in afs_compare_volume_slists()
|
D | cell.c | 468 if (vllist->nr_servers > 0 || p->nr_servers == 0) { in afs_update_cell() 604 if (cell->vl_servers->nr_servers) in afs_unuse_cell() 900 if (vllist->nr_servers > 0) in afs_manage_cells()
|
D | proc.c | 53 vllist ? vllist->nr_servers : 0, in afs_proc_cells_show() 338 if (pos - 1 >= vllist->nr_servers) in afs_proc_cell_vlservers_start() 354 if (!vllist || pos - 1 >= vllist->nr_servers) in afs_proc_cell_vlservers_next()
|
D | internal.h | 445 u8 nr_servers; member 476 u8 nr_servers; /* Number of server records */ member 551 unsigned char nr_servers; member
|
D | addr_list.c | 124 vllist->nr_servers = 1; in afs_parse_text_addrs()
|
D | inode.c | 587 for (i = 0; i < slist->nr_servers; i++) { in afs_get_s_break_rcu()
|
D | dir.c | 725 for (i = 0; i < slist->nr_servers; i++) { in afs_server_supports_ibulk()
|
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
D | book3s_xive.c | 1219 return kvmppc_pack_vcpu_id(xive->kvm, cpu) < xive->nr_servers; in kvmppc_xive_vcpu_id_valid() 1232 xive->vp_base = xive_native_alloc_vp_block(xive->nr_servers); in kvmppc_xive_compute_vp_id() 1233 pr_devel("VP_Base=%x nr_servers=%d\n", xive->vp_base, xive->nr_servers); in kvmppc_xive_compute_vp_id() 1869 u32 nr_servers; in kvmppc_xive_set_nr_servers() local 1872 if (get_user(nr_servers, ubufp)) in kvmppc_xive_set_nr_servers() 1875 pr_devel("%s nr_servers=%u\n", __func__, nr_servers); in kvmppc_xive_set_nr_servers() 1877 if (!nr_servers || nr_servers > KVM_MAX_VCPU_ID) in kvmppc_xive_set_nr_servers() 1890 else if (nr_servers > KVM_MAX_VCPUS) in kvmppc_xive_set_nr_servers() 1894 xive->nr_servers = KVM_MAX_VCPUS; in kvmppc_xive_set_nr_servers() 1896 xive->nr_servers = nr_servers; in kvmppc_xive_set_nr_servers() [all …]
|
D | book3s_xive.h | 139 u32 nr_servers; member
|
D | book3s_xive_native.c | 1114 xive->nr_servers = KVM_MAX_VCPUS; in kvmppc_xive_native_create()
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | dns_resolver.h | 88 __u8 nr_servers; /* Number of server records following this */ member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | dns_resolver.h | 63 __u8 nr_servers; member
|