Searched refs:addrs (Results 1 – 13 of 13) sorted by relevance
/fs/afs/ |
D | addr_list.c | 40 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 …]
|
D | vl_list.c | 157 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()
|
D | vl_probe.c | 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() 134 server_index, index, &alist->addrs[index].transport, rtt_us, ret); in afs_vlserver_probe_result()
|
D | fs_probe.c | 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() 185 &server->uuid, index, &alist->addrs[index].transport, in afs_fileserver_probe_result()
|
D | vl_alias.c | 97 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()
|
D | afs_vl.h | 141 struct sockaddr_rxrpc addrs[]; member
|
D | server.c | 46 b = &alist->addrs[i].transport.sin6; in afs_find_server() 62 b = &alist->addrs[i].transport.sin; in afs_find_server()
|
D | proc.c | 310 &alist->addrs[i].transport); in afs_proc_cell_vlservers_show() 402 i, &alist->addrs[i].transport, in afs_proc_servers_show()
|
D | rxrpc.c | 295 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()
|
D | vl_rotate.c | 252 _leave(" = t %pISpc", &vc->ac.alist->addrs[vc->ac.index].transport); in afs_select_vlserver()
|
D | rotate.c | 412 &op->ac.alist->addrs[op->ac.index].transport); in afs_select_fileserver()
|
D | internal.h | 90 struct sockaddr_rxrpc addrs[]; member
|
/fs/f2fs/ |
D | f2fs.h | 3189 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()
|