/fs/btrfs/ |
D | ioctl.c | 3204 struct btrfs_ioctl_scrub_args *sa; in btrfs_ioctl_scrub() local 3210 sa = memdup_user(arg, sizeof(*sa)); in btrfs_ioctl_scrub() 3211 if (IS_ERR(sa)) in btrfs_ioctl_scrub() 3212 return PTR_ERR(sa); in btrfs_ioctl_scrub() 3214 if (!(sa->flags & BTRFS_SCRUB_READONLY)) { in btrfs_ioctl_scrub() 3220 ret = btrfs_scrub_dev(root->fs_info, sa->devid, sa->start, sa->end, in btrfs_ioctl_scrub() 3221 &sa->progress, sa->flags & BTRFS_SCRUB_READONLY, in btrfs_ioctl_scrub() 3224 if (copy_to_user(arg, sa, sizeof(*sa))) in btrfs_ioctl_scrub() 3227 if (!(sa->flags & BTRFS_SCRUB_READONLY)) in btrfs_ioctl_scrub() 3230 kfree(sa); in btrfs_ioctl_scrub() [all …]
|
/fs/ubifs/ |
D | gc.c | 129 struct ubifs_scan_node *sa, *sb; in data_nodes_cmp() local 135 sa = list_entry(a, struct ubifs_scan_node, list); in data_nodes_cmp() 138 ubifs_assert(key_type(c, &sa->key) == UBIFS_DATA_KEY); in data_nodes_cmp() 140 ubifs_assert(sa->type == UBIFS_DATA_NODE); in data_nodes_cmp() 143 inuma = key_inum(c, &sa->key); in data_nodes_cmp() 147 unsigned int blka = key_block(c, &sa->key); in data_nodes_cmp() 173 struct ubifs_scan_node *sa, *sb; in nondata_nodes_cmp() local 179 sa = list_entry(a, struct ubifs_scan_node, list); in nondata_nodes_cmp() 182 ubifs_assert(key_type(c, &sa->key) != UBIFS_DATA_KEY && in nondata_nodes_cmp() 184 ubifs_assert(sa->type != UBIFS_DATA_NODE && in nondata_nodes_cmp() [all …]
|
D | debug.c | 2314 struct ubifs_scan_node *sa, *sb; in dbg_check_data_nodes_order() local 2324 sa = container_of(cur, struct ubifs_scan_node, list); in dbg_check_data_nodes_order() 2327 if (sa->type != UBIFS_DATA_NODE) { in dbg_check_data_nodes_order() 2328 ubifs_err("bad node type %d", sa->type); in dbg_check_data_nodes_order() 2329 ubifs_dump_node(c, sa->node); in dbg_check_data_nodes_order() 2338 inuma = key_inum(c, &sa->key); in dbg_check_data_nodes_order() 2349 blka = key_block(c, &sa->key); in dbg_check_data_nodes_order() 2365 ubifs_dump_node(c, sa->node); in dbg_check_data_nodes_order() 2381 struct ubifs_scan_node *sa, *sb; in dbg_check_nondata_nodes_order() local 2391 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 | 100 struct sockaddr_in *sa = (struct sockaddr_in *) &server->dstaddr; in cifs_get_spnego_key() local 134 sprintf(dp, "ip4=%pI4", &sa->sin_addr); in cifs_get_spnego_key()
|
D | cifsfs.c | 295 struct sockaddr_in *sa = (struct sockaddr_in *) &server->dstaddr; in cifs_show_address() local 302 seq_printf(s, "%pI4", &sa->sin_addr.s_addr); in cifs_show_address()
|
D | connect.c | 2303 struct sockaddr_in *sa; in cifs_set_cifscreds() local 2314 sa = (struct sockaddr_in *)&server->dstaddr; in cifs_set_cifscreds() 2315 sprintf(desc, "cifs:a:%pI4", &sa->sin_addr.s_addr); in cifs_set_cifscreds()
|
/fs/nfsd/ |
D | fault_inject.c | 127 struct sockaddr_storage sa; in fault_inject_write() local 134 size = rpc_pton(net, write_buf, size, (struct sockaddr *)&sa, sizeof(sa)); in fault_inject_write() 136 nfsd_inject_set_client(file_inode(file)->i_private, &sa, size); in fault_inject_write()
|
D | nfs4state.c | 1010 struct sockaddr *sa = svc_addr(rqstp); in init_session() local 1018 rpc_copy_addr((struct sockaddr *)&clp->cl_cb_conn.cb_addr, sa); in init_session() 1019 clp->cl_cb_conn.cb_addrlen = svc_addr_len(sa); in init_session() 1309 struct sockaddr *sa = svc_addr(rqstp); in create_client() local 1341 rpc_copy_addr((struct sockaddr *) &clp->cl_addr, sa); in create_client() 1469 struct sockaddr *sa = svc_addr(rqstp); in gen_callback() local 1470 u32 scopeid = rpc_get_scope_id(sa); in gen_callback() 1629 struct sockaddr *sa = svc_addr(rqstp); in nfsd4_exchange_id() local 1633 rpc_ntop(sa, addr_str, sizeof(addr_str)); in nfsd4_exchange_id() 1847 struct sockaddr *sa = svc_addr(rqstp); in nfsd4_create_session() local [all …]
|
/fs/udf/ |
D | directory.c | 201 struct short_ad *sa; in udf_get_fileshortad() local 211 sa = (struct short_ad *)ptr; in udf_get_fileshortad() 212 if (sa->extLength == 0) in udf_get_fileshortad() 218 return sa; in udf_get_fileshortad()
|
/fs/nfs/ |
D | dns_resolve.c | 18 struct sockaddr *sa, size_t salen) in nfs_dns_resolve_name() argument 26 ret = rpc_pton(net, ip_addr, ip_len, sa, salen); in nfs_dns_resolve_name() 332 size_t namelen, struct sockaddr *sa, size_t salen) in nfs_dns_resolve_name() argument 345 memcpy(sa, &item->addr, item->addrlen); in nfs_dns_resolve_name()
|
D | nfs4namespace.c | 123 struct sockaddr *sa, size_t salen, struct nfs_server *server) in nfs_parse_server_name() argument 128 ret = rpc_pton(net, string, len, sa, salen); in nfs_parse_server_name() 130 ret = nfs_dns_resolve_name(net, string, len, sa, salen); in nfs_parse_server_name()
|
D | dns_resolve.h | 34 size_t namelen, struct sockaddr *sa, size_t salen);
|
D | super.c | 956 struct sockaddr_in *sa = (struct sockaddr_in *)addr; in nfs_verify_server_address() local 957 return sa->sin_addr.s_addr != htonl(INADDR_ANY); in nfs_verify_server_address() 960 struct in6_addr *sa = &((struct sockaddr_in6 *)addr)->sin6_addr; in nfs_verify_server_address() local 961 return !ipv6_addr_any(sa); in nfs_verify_server_address()
|
/fs/proc/ |
D | array.c | 254 if (k->sa.sa_handler == SIG_IGN) in collect_sigign_sigcatch() 256 else if (k->sa.sa_handler != SIG_DFL) in collect_sigign_sigcatch()
|
/fs/ncpfs/ |
D | sock.c | 767 if (current->sighand->action[SIGINT - 1].sa.sa_handler == SIG_DFL) in ncp_do_request() 769 if (current->sighand->action[SIGQUIT - 1].sa.sa_handler == SIG_DFL) in ncp_do_request()
|
/fs/xfs/ |
D | xfs_attr_leaf.c | 755 xfs_attr_sf_sort_t *sa, *sb; in xfs_attr_shortform_compare() local 757 sa = (xfs_attr_sf_sort_t *)a; in xfs_attr_shortform_compare() 759 if (sa->hash < sb->hash) { in xfs_attr_shortform_compare() 761 } else if (sa->hash > sb->hash) { in xfs_attr_shortform_compare() 764 return(sa->entno - sb->entno); in xfs_attr_shortform_compare()
|
/fs/ceph/ |
D | mds_client.c | 452 struct ceph_mds_session **sa; in register_session() local 455 sa = kcalloc(newmax, sizeof(void *), GFP_NOFS); in register_session() 456 if (sa == NULL) in register_session() 459 memcpy(sa, mdsc->sessions, in register_session() 463 mdsc->sessions = sa; in register_session()
|