/fs/ubifs/ |
D | gc.c | 125 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 …]
|
D | debug.c | 2308 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/ |
D | cache.c | 67 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()
|
D | cifs_spnego.c | 102 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()
|
D | cifsfs.c | 315 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()
|
D | connect.c | 2552 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/ |
D | ioctl.c | 4391 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/ |
D | fault_inject.c | 50 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()
|
D | nfs4state.c | 1696 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/ |
D | directory.c | 204 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/ |
D | xfs_attr_list.c | 45 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/ |
D | dns_resolve.c | 19 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()
|
D | nfs4namespace.c | 125 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()
|
D | dns_resolve.h | 35 size_t namelen, struct sockaddr *sa, size_t salen);
|
D | super.c | 960 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/ |
D | array.c | 264 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/ |
D | sock.c | 741 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/ |
D | mds_client.c | 482 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()
|