Home
last modified time | relevance | path

Searched refs:addrs (Results 1 – 13 of 13) sorted by relevance

/fs/afs/
Daddr_list.c40 alist = kzalloc(struct_size(alist, addrs, nr), GFP_KERNEL); in afs_alloc_addrlist()
48 struct sockaddr_rxrpc *srx = &alist->addrs[i]; in afs_alloc_addrlist()
284 struct sockaddr_in *a = &alist->addrs[i].transport.sin; in afs_merge_fs_addr4()
297 memmove(alist->addrs + i + 1, in afs_merge_fs_addr4()
298 alist->addrs + i, in afs_merge_fs_addr4()
299 sizeof(alist->addrs[0]) * (alist->nr_addrs - i)); in afs_merge_fs_addr4()
301 srx = &alist->addrs[i]; in afs_merge_fs_addr4()
324 struct sockaddr_in6 *a = &alist->addrs[i].transport.sin6; in afs_merge_fs_addr6()
337 memmove(alist->addrs + i + 1, in afs_merge_fs_addr6()
338 alist->addrs + i, in afs_merge_fs_addr6()
[all …]
Dvl_list.c157 struct afs_addr_list *addrs; in afs_extract_vlserver_list() local
250 addrs = afs_extract_vl_addrs(&b, end, bs.nr_addrs, bs.port); in afs_extract_vlserver_list()
251 if (IS_ERR(addrs)) { in afs_extract_vlserver_list()
252 ret = PTR_ERR(addrs); in afs_extract_vlserver_list()
258 afs_put_addrlist(addrs); in afs_extract_vlserver_list()
263 addrs->source = bs.source; in afs_extract_vlserver_list()
264 addrs->status = bs.status; in afs_extract_vlserver_list()
266 if (addrs->nr_addrs == 0) { in afs_extract_vlserver_list()
267 afs_put_addrlist(addrs); in afs_extract_vlserver_list()
273 struct afs_addr_list *old = addrs; in afs_extract_vlserver_list()
Dvl_probe.c109 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()
134 server_index, index, &alist->addrs[index].transport, rtt_us, ret); in afs_vlserver_probe_result()
Dfs_probe.c156 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()
185 &server->uuid, index, &alist->addrs[index].transport, in afs_fileserver_probe_result()
Dvl_alias.c97 const struct sockaddr_rxrpc *srx_a = &la->addrs[a]; in afs_compare_fs_alists()
98 const struct sockaddr_rxrpc *srx_b = &lb->addrs[b]; in afs_compare_fs_alists()
Dafs_vl.h141 struct sockaddr_rxrpc addrs[]; member
Dserver.c46 b = &alist->addrs[i].transport.sin6; in afs_find_server()
62 b = &alist->addrs[i].transport.sin; in afs_find_server()
Dproc.c310 &alist->addrs[i].transport); in afs_proc_cell_vlservers_show()
402 i, &alist->addrs[i].transport, in afs_proc_servers_show()
Drxrpc.c295 struct sockaddr_rxrpc *srx = &ac->alist->addrs[ac->index]; in afs_make_call()
463 &call->alist->addrs[call->addr_ix].transport); in afs_log_error()
Dvl_rotate.c252 _leave(" = t %pISpc", &vc->ac.alist->addrs[vc->ac.index].transport); in afs_select_vlserver()
Drotate.c412 &op->ac.alist->addrs[op->ac.index].transport); in afs_select_fileserver()
Dinternal.h90 struct sockaddr_rxrpc addrs[]; member
/fs/f2fs/
Df2fs.h3189 unsigned int addrs = CUR_ADDRS_PER_INODE(inode) - in addrs_per_inode() local
3193 return addrs; in addrs_per_inode()
3194 return ALIGN_DOWN(addrs, F2FS_I(inode)->i_cluster_size); in addrs_per_inode()