Home
last modified time | relevance | path

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

/fs/cifs/
Dcifsacl.c533 pntace->sid.revision = psid->revision; in fill_ace_for_sid()
534 pntace->sid.num_subauth = psid->num_subauth; in fill_ace_for_sid()
536 pntace->sid.authority[i] = psid->authority[i]; in fill_ace_for_sid()
538 pntace->sid.sub_auth[i] = psid->sub_auth[i]; in fill_ace_for_sid()
564 num_subauth = pace->sid.num_subauth; in dump_ace()
568 pace->sid.revision, pace->sid.num_subauth, pace->type, in dump_ace()
572 i, le32_to_cpu(pace->sid.sub_auth[i])); in dump_ace()
639 if (compare_sids(&(ppace[i]->sid), pownersid) == 0) in parse_dacl()
644 if (compare_sids(&(ppace[i]->sid), pgrpsid) == 0) in parse_dacl()
649 if (compare_sids(&(ppace[i]->sid), &sid_everyone) == 0) in parse_dacl()
[all …]
Dcifsacl.h98 struct cifs_sid sid; /* ie UUID of user or group who gets these perms */ member
Dcifspdu.h1499 char sid[1]; /* variable size? */ member
/fs/ntfs/
Dlayout.h1588 /* 8*/ SID sid; /* The SID associated with the ACE. */ member
1613 /* 44*/ SID sid; /* The SID associated with the ACE. */ member
1866 /* 20*/ SECURITY_DESCRIPTOR_RELATIVE sid; /* The self-relative security member
2154 SID sid; /* The SID of the user/object associated with member
2269 SID sid; /* $O index in FILE_Extend/$Quota: member
Dquota.c67 if (ictx->data_len < offsetof(QUOTA_CONTROL_ENTRY, sid)) { in ntfs_mark_quotas_out_of_date()
/fs/proc/
Darray.c398 pid_t ppid = 0, pgid = -1, sid = -1; in do_task_stat() local
466 sid = task_session_nr_ns(task, ns); in do_task_stat()
498 seq_put_decimal_ll(m, ' ', sid); in do_task_stat()
/fs/nfs/
Dnfs4client.c565 struct nfs4_sessionid *sid) in nfs4_find_client_sessionid() argument
580 sid->data, NFS4_MAX_SESSIONID_LEN) != 0) in nfs4_find_client_sessionid()
595 struct nfs4_sessionid *sid) in nfs4_find_client_sessionid() argument
Dcallback_xdr.c383 struct nfs4_sessionid *sid) in decode_sessionid() argument
392 memcpy(sid->data, p, len); in decode_sessionid()
682 const struct nfs4_sessionid *sid) in encode_sessionid() argument
691 memcpy(p, sid, len); in encode_sessionid()
Dnfs4xdr.c5409 static int decode_sessionid(struct xdr_stream *xdr, struct nfs4_sessionid *sid) in decode_sessionid() argument
5411 return decode_opaque_fixed(xdr, sid->data, NFS4_MAX_SESSIONID_LEN); in decode_sessionid()
/fs/nfsd/
Dnfs4callback.c147 static void encode_stateid4(struct xdr_stream *xdr, const stateid_t *sid) in encode_stateid4() argument
152 *p++ = cpu_to_be32(sid->si_generation); in encode_stateid4()
153 xdr_encode_opaque_fixed(p, &sid->si_opaque, NFS4_STATEID_OTHER_SIZE); in encode_stateid4()
Dnfs4state.c720 struct nfsd4_sessionid *sid = (struct nfsd4_sessionid *)sessionid; in hash_sessionid() local
722 return sid->sequence % SESSION_HASH_SIZE; in hash_sessionid()
766 struct nfsd4_sessionid *sid; in gen_sessionid() local
768 sid = (struct nfsd4_sessionid *)ses->se_sessionid.data; in gen_sessionid()
769 sid->clientid = clp->cl_clientid; in gen_sessionid()
770 sid->sequence = current_sessionid++; in gen_sessionid()
771 sid->reserved = 0; in gen_sessionid()
2003 static bool nfsd4_compound_in_session(struct nfsd4_session *session, struct nfs4_sessionid *sid) in nfsd4_compound_in_session() argument
2007 return !memcmp(sid, &session->se_sessionid, sizeof(*sid)); in nfsd4_compound_in_session()
Dnfs4xdr.c398 nfsd4_decode_stateid(struct nfsd4_compoundargs *argp, stateid_t *sid) in nfsd4_decode_stateid() argument
403 READ32(sid->si_generation); in nfsd4_decode_stateid()
404 COPYMEM(&sid->si_opaque, sizeof(stateid_opaque_t)); in nfsd4_decode_stateid()
2584 nfsd4_encode_stateid(struct nfsd4_compoundres *resp, stateid_t *sid) in nfsd4_encode_stateid() argument
2589 WRITE32(sid->si_generation); in nfsd4_encode_stateid()
2590 WRITEMEM(&sid->si_opaque, sizeof(stateid_opaque_t)); in nfsd4_encode_stateid()
Dnfs4proc.c314 struct nfsd4_sessionid *sid = in copy_clientid() local
317 clid->cl_boot = sid->clientid.cl_boot; in copy_clientid()
318 clid->cl_id = sid->clientid.cl_id; in copy_clientid()