/linux-5.19.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 | 242 _enter("%u,%lx", slist->nr_servers, untried); in afs_wait_for_fs_probes() 245 for (i = 0; i < slist->nr_servers; i++) { in afs_wait_for_fs_probes() 257 waits = kmalloc(array_size(slist->nr_servers, sizeof(*waits)), GFP_KERNEL); in afs_wait_for_fs_probes() 261 for (i = 0; i < slist->nr_servers; i++) { in afs_wait_for_fs_probes() 273 for (i = 0; i < slist->nr_servers; i++) { in afs_wait_for_fs_probes() 291 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() 345 for (i = 0; i < op->server_list->nr_servers; i++) { in afs_select_fileserver() 452 for (i = 0; i < op->server_list->nr_servers; i++) { in afs_select_fileserver() 494 sl->nr_servers, sl->preferred, sl->vnovol_mask); in afs_dump_edestaddrreq() 495 for (i = 0; i < sl->nr_servers; i++) { in afs_dump_edestaddrreq()
|
D | volume.c | 73 int ret = -ENOMEM, nr_servers = 0, i; in afs_alloc_volume() local 75 for (i = 0; i < vldb->nr_servers; i++) in afs_alloc_volume() 77 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 | 470 if (vllist->nr_servers > 0 || p->nr_servers == 0) { in afs_update_cell() 606 if (cell->vl_servers->nr_servers) in afs_unuse_cell() 890 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 | 449 u8 nr_servers; member 480 u8 nr_servers; /* Number of server records */ member 557 unsigned char nr_servers; member
|
D | addr_list.c | 124 vllist->nr_servers = 1; in afs_parse_text_addrs()
|
D | inode.c | 608 for (i = 0; i < slist->nr_servers; i++) { in afs_check_server_good()
|
D | dir.c | 767 for (i = 0; i < slist->nr_servers; i++) { in afs_server_supports_ibulk()
|
/linux-5.19.10/include/uapi/linux/ |
D | dns_resolver.h | 88 __u8 nr_servers; /* Number of server records following this */ member
|
/linux-5.19.10/arch/powerpc/kvm/ |
D | book3s_xive.c | 1874 return kvmppc_pack_vcpu_id(xive->kvm, cpu) < xive->nr_servers; in kvmppc_xive_vcpu_id_valid() 1887 xive->vp_base = xive_native_alloc_vp_block(xive->nr_servers); in kvmppc_xive_compute_vp_id() 1888 pr_devel("VP_Base=%x nr_servers=%d\n", xive->vp_base, xive->nr_servers); in kvmppc_xive_compute_vp_id() 2531 u32 nr_servers; in kvmppc_xive_set_nr_servers() local 2534 if (get_user(nr_servers, ubufp)) in kvmppc_xive_set_nr_servers() 2537 pr_devel("%s nr_servers=%u\n", __func__, nr_servers); in kvmppc_xive_set_nr_servers() 2539 if (!nr_servers || nr_servers > KVM_MAX_VCPU_IDS) in kvmppc_xive_set_nr_servers() 2552 else if (nr_servers > KVM_MAX_VCPUS) in kvmppc_xive_set_nr_servers() 2556 xive->nr_servers = KVM_MAX_VCPUS; in kvmppc_xive_set_nr_servers() 2558 xive->nr_servers = nr_servers; in kvmppc_xive_set_nr_servers() [all …]
|
D | book3s_xive.h | 142 u32 nr_servers; member
|
D | book3s_xive_native.c | 1117 xive->nr_servers = KVM_MAX_VCPUS; in kvmppc_xive_native_create()
|