Home
last modified time | relevance | path

Searched refs:sa (Results 1 – 18 of 18) sorted by relevance

/fs/ubifs/
Dgc.c125 struct ubifs_scan_node *sa, *sb; in data_nodes_cmp() local
131 sa = list_entry(a, struct ubifs_scan_node, list); in data_nodes_cmp()
134 ubifs_assert(key_type(c, &sa->key) == UBIFS_DATA_KEY); in data_nodes_cmp()
136 ubifs_assert(sa->type == UBIFS_DATA_NODE); in data_nodes_cmp()
139 inuma = key_inum(c, &sa->key); in data_nodes_cmp()
143 unsigned int blka = key_block(c, &sa->key); in data_nodes_cmp()
169 struct ubifs_scan_node *sa, *sb; in nondata_nodes_cmp() local
175 sa = list_entry(a, struct ubifs_scan_node, list); in nondata_nodes_cmp()
178 ubifs_assert(key_type(c, &sa->key) != UBIFS_DATA_KEY && in nondata_nodes_cmp()
180 ubifs_assert(sa->type != UBIFS_DATA_NODE && in nondata_nodes_cmp()
[all …]
Ddebug.c2308 struct ubifs_scan_node *sa, *sb; in dbg_check_data_nodes_order() local
2318 sa = container_of(cur, struct ubifs_scan_node, list); in dbg_check_data_nodes_order()
2321 if (sa->type != UBIFS_DATA_NODE) { in dbg_check_data_nodes_order()
2322 ubifs_err(c, "bad node type %d", sa->type); in dbg_check_data_nodes_order()
2323 ubifs_dump_node(c, sa->node); in dbg_check_data_nodes_order()
2332 inuma = key_inum(c, &sa->key); in dbg_check_data_nodes_order()
2343 blka = key_block(c, &sa->key); in dbg_check_data_nodes_order()
2359 ubifs_dump_node(c, sa->node); in dbg_check_data_nodes_order()
2375 struct ubifs_scan_node *sa, *sb; in dbg_check_nondata_nodes_order() local
2385 sa = container_of(cur, struct ubifs_scan_node, list); in dbg_check_nondata_nodes_order()
[all …]
/fs/cifs/
Dcache.c67 const struct sockaddr *sa = (struct sockaddr *) &server->dstaddr; in cifs_server_get_key() local
68 const struct sockaddr_in *addr = (struct sockaddr_in *) sa; in cifs_server_get_key()
69 const struct sockaddr_in6 *addr6 = (struct sockaddr_in6 *) sa; in cifs_server_get_key()
79 switch (sa->sa_family) { in cifs_server_get_key()
81 key->family = sa->sa_family; in cifs_server_get_key()
88 key->family = sa->sa_family; in cifs_server_get_key()
95 cifs_dbg(VFS, "Unknown network family '%d'\n", sa->sa_family); in cifs_server_get_key()
Dcifs_spnego.c102 struct sockaddr_in *sa = (struct sockaddr_in *) &server->dstaddr; in cifs_get_spnego_key() local
137 sprintf(dp, "ip4=%pI4", &sa->sin_addr); in cifs_get_spnego_key()
Dcifsfs.c315 struct sockaddr_in *sa = (struct sockaddr_in *) &server->dstaddr; in cifs_show_address() local
322 seq_printf(s, "%pI4", &sa->sin_addr.s_addr); in cifs_show_address()
Dconnect.c2552 struct sockaddr_in *sa; in cifs_set_cifscreds() local
2563 sa = (struct sockaddr_in *)&server->dstaddr; in cifs_set_cifscreds()
2564 sprintf(desc, "cifs:a:%pI4", &sa->sin_addr.s_addr); in cifs_set_cifscreds()
/fs/btrfs/
Dioctl.c4391 struct btrfs_ioctl_scrub_args *sa; in btrfs_ioctl_scrub() local
4397 sa = memdup_user(arg, sizeof(*sa)); in btrfs_ioctl_scrub()
4398 if (IS_ERR(sa)) in btrfs_ioctl_scrub()
4399 return PTR_ERR(sa); in btrfs_ioctl_scrub()
4401 if (!(sa->flags & BTRFS_SCRUB_READONLY)) { in btrfs_ioctl_scrub()
4407 ret = btrfs_scrub_dev(fs_info, sa->devid, sa->start, sa->end, in btrfs_ioctl_scrub()
4408 &sa->progress, sa->flags & BTRFS_SCRUB_READONLY, in btrfs_ioctl_scrub()
4411 if (copy_to_user(arg, sa, sizeof(*sa))) in btrfs_ioctl_scrub()
4414 if (!(sa->flags & BTRFS_SCRUB_READONLY)) in btrfs_ioctl_scrub()
4417 kfree(sa); in btrfs_ioctl_scrub()
[all …]
/fs/nfsd/
Dfault_inject.c50 struct sockaddr_storage sa; in fault_inject_write() local
66 size = rpc_pton(net, write_buf, size, (struct sockaddr *)&sa, sizeof(sa)); in fault_inject_write()
68 val = op->set_clnt(&sa, size); in fault_inject_write()
Dnfs4state.c1696 struct sockaddr *sa = svc_addr(rqstp); in init_session() local
1704 rpc_copy_addr((struct sockaddr *)&clp->cl_cb_conn.cb_addr, sa); in init_session()
1705 clp->cl_cb_conn.cb_addrlen = svc_addr_len(sa); in init_session()
2138 struct sockaddr *sa = svc_addr(rqstp); in create_client() local
2155 rpc_copy_addr((struct sockaddr *) &clp->cl_addr, sa); in create_client()
2290 struct sockaddr *sa = svc_addr(rqstp); in gen_callback() local
2291 u32 scopeid = rpc_get_scope_id(sa); in gen_callback()
2477 struct sockaddr *sa = svc_addr(rqstp); in nfsd4_exchange_id() local
2481 rpc_ntop(sa, addr_str, sizeof(addr_str)); in nfsd4_exchange_id()
2767 struct sockaddr *sa = svc_addr(rqstp); in nfsd4_create_session() local
[all …]
/fs/udf/
Ddirectory.c204 struct short_ad *sa; in udf_get_fileshortad() local
214 sa = (struct short_ad *)ptr; in udf_get_fileshortad()
215 if (sa->extLength == 0) in udf_get_fileshortad()
221 return sa; in udf_get_fileshortad()
/fs/xfs/
Dxfs_attr_list.c45 xfs_attr_sf_sort_t *sa, *sb; in xfs_attr_shortform_compare() local
47 sa = (xfs_attr_sf_sort_t *)a; in xfs_attr_shortform_compare()
49 if (sa->hash < sb->hash) { in xfs_attr_shortform_compare()
51 } else if (sa->hash > sb->hash) { in xfs_attr_shortform_compare()
54 return sa->entno - sb->entno; in xfs_attr_shortform_compare()
/fs/nfs/
Ddns_resolve.c19 struct sockaddr *sa, size_t salen) in nfs_dns_resolve_name() argument
27 ret = rpc_pton(net, ip_addr, ip_len, sa, salen); in nfs_dns_resolve_name()
334 size_t namelen, struct sockaddr *sa, size_t salen) in nfs_dns_resolve_name() argument
347 memcpy(sa, &item->addr, item->addrlen); in nfs_dns_resolve_name()
Dnfs4namespace.c125 struct sockaddr *sa, size_t salen, struct net *net) in nfs_parse_server_name() argument
129 ret = rpc_pton(net, string, len, sa, salen); in nfs_parse_server_name()
131 ret = nfs_dns_resolve_name(net, string, len, sa, salen); in nfs_parse_server_name()
Ddns_resolve.h35 size_t namelen, struct sockaddr *sa, size_t salen);
Dsuper.c960 struct sockaddr_in *sa = (struct sockaddr_in *)addr; in nfs_verify_server_address() local
961 return sa->sin_addr.s_addr != htonl(INADDR_ANY); in nfs_verify_server_address()
964 struct in6_addr *sa = &((struct sockaddr_in6 *)addr)->sin6_addr; in nfs_verify_server_address() local
965 return !ipv6_addr_any(sa); in nfs_verify_server_address()
/fs/proc/
Darray.c264 if (k->sa.sa_handler == SIG_IGN) in collect_sigign_sigcatch()
266 else if (k->sa.sa_handler != SIG_DFL) in collect_sigign_sigcatch()
/fs/ncpfs/
Dsock.c741 if (current->sighand->action[SIGINT - 1].sa.sa_handler == SIG_DFL) in ncp_do_request()
743 if (current->sighand->action[SIGQUIT - 1].sa.sa_handler == SIG_DFL) in ncp_do_request()
/fs/ceph/
Dmds_client.c482 struct ceph_mds_session **sa; in register_session() local
485 sa = kcalloc(newmax, sizeof(void *), GFP_NOFS); in register_session()
486 if (!sa) in register_session()
489 memcpy(sa, mdsc->sessions, in register_session()
493 mdsc->sessions = sa; in register_session()