Home
last modified time | relevance | path

Searched defs:cred (Results 1 – 25 of 60) sorted by relevance

123

/linux-4.19.296/include/linux/
Dcred.h116 struct cred { struct
117 atomic_t usage;
119 atomic_t subscribers; /* number of processes subscribed */
120 void *put_addr;
121 unsigned magic;
125 kuid_t uid; /* real UID of the task */
126 kgid_t gid; /* real GID of the task */
127 kuid_t suid; /* saved UID of the task */
128 kgid_t sgid; /* saved GID of the task */
129 kuid_t euid; /* effective UID of the task */
[all …]
Dsecurity.h497 static inline int security_capable(const struct cred *cred, in security_capable()
897 static inline int security_cred_alloc_blank(struct cred *cred, gfp_t gfp) in security_cred_alloc_blank()
902 static inline void security_cred_free(struct cred *cred) in security_cred_free()
917 static inline int security_kernel_act_as(struct cred *cred, u32 secid) in security_kernel_act_as()
922 static inline int security_kernel_create_files_as(struct cred *cred, in security_kernel_create_files_as()
993 static inline int security_task_prlimit(const struct cred *cred, in security_task_prlimit()
1024 const struct cred *cred) in security_task_kill()
1674 const struct cred *cred, in security_key_alloc()
1685 const struct cred *cred, in security_key_permission()
Dnfs_fs.h54 struct rpc_cred * cred; member
72 struct rpc_cred *cred; member
90 struct rpc_cred *cred; member
Dkallsyms.h162 static inline bool kallsyms_show_value(const struct cred *cred) in kallsyms_show_value()
Dbinfmts.h53 struct cred *cred; /* new credentials */ member
/linux-4.19.296/fs/nfs/
Dnfs4state.c93 int nfs4_init_clientid(struct nfs_client *clp, struct rpc_cred *cred) in nfs4_init_clientid()
140 struct rpc_cred *cred) in nfs40_discover_server_trunking()
176 struct rpc_cred *cred = NULL; in nfs4_get_machine_cred_locked() local
185 struct rpc_cred *cred, *new; in nfs4_root_machine_cred() local
199 struct rpc_cred *cred = NULL; in nfs4_get_renew_cred_server_locked() local
224 struct rpc_cred *cred = NULL; in nfs4_get_renew_cred_locked() local
329 int nfs41_init_clientid(struct nfs_client *clp, struct rpc_cred *cred) in nfs41_init_clientid()
366 struct rpc_cred *cred) in nfs41_discover_server_trunking()
408 struct rpc_cred *cred; in nfs4_get_clid_cred() local
417 nfs4_find_state_owner_locked(struct nfs_server *server, struct rpc_cred *cred) in nfs4_find_state_owner_locked()
[all …]
Dnfs4proc.c364 struct rpc_cred *cred) in nfs4_test_and_free_stateid()
373 struct rpc_cred *cred) in __nfs4_free_revoked_stateid()
381 struct rpc_cred *cred) in nfs4_free_revoked_stateid()
915 struct nfs4_slot *slot, struct rpc_cred *cred) in nfs4_sequence_process_interrupted()
946 struct nfs4_slot *slot, struct rpc_cred *cred) in nfs4_sequence_process_interrupted()
2478 static int nfs4_opendata_access(struct rpc_cred *cred, in nfs4_opendata_access()
2650 struct rpc_cred *cred) in nfs40_test_and_free_expired_stateid()
2658 struct rpc_cred *cred) in nfs41_test_and_free_expired_stateid()
2692 struct rpc_cred *cred; in nfs41_check_delegation_stateid() local
2747 struct rpc_cred *cred = lsp->ls_state->owner->so_cred; in nfs41_check_expired_locks() local
[all …]
Dpnfs_dev.c97 struct rpc_cred *cred, gfp_t gfp_flags) in nfs4_get_device_info()
187 const struct nfs4_deviceid *id, struct rpc_cred *cred, in nfs4_find_get_deviceid()
Dnfs4renewd.c60 struct rpc_cred *cred; in nfs4_renew_state() local
Ddir.c70 …c struct nfs_open_dir_context *alloc_nfs_open_dir_context(struct inode *dir, struct rpc_cred *cred) in alloc_nfs_open_dir_context()
106 struct rpc_cred *cred; in nfs_opendir() local
349 struct rpc_cred *cred = ctx->cred; in nfs_readdir_xdr_filler() local
2314 static struct nfs_access_entry *nfs_access_search_rbtree(struct inode *inode, struct rpc_cred *cred) in nfs_access_search_rbtree()
2332 static int nfs_access_get_cached(struct inode *inode, struct rpc_cred *cred, struct nfs_access_entr… in nfs_access_get_cached()
2375 static int nfs_access_get_cached_rcu(struct inode *inode, struct rpc_cred *cred, struct nfs_access_… in nfs_access_get_cached_rcu()
2508 static int nfs_do_access(struct inode *inode, struct rpc_cred *cred, int mask) in nfs_do_access()
2572 int nfs_may_open(struct inode *inode, struct rpc_cred *cred, int openflags) in nfs_may_open()
2597 struct rpc_cred *cred; in nfs_permission() local
Ddelegation.h18 struct rpc_cred *cred; member
Ddelegation.c190 void nfs_inode_reclaim_delegation(struct inode *inode, struct rpc_cred *cred, in nfs_inode_reclaim_delegation()
355 int nfs_inode_set_delegation(struct inode *inode, struct rpc_cred *cred, in nfs_inode_set_delegation()
1062 struct rpc_cred *cred; in nfs_reap_expired_delegations() local
1189 nfs4_stateid *dst, struct rpc_cred **cred) in nfs4_copy_delegation_stateid()
Dnfs4client.c550 struct rpc_cred *cred) in nfs40_walk_client_list()
716 struct rpc_cred *cred) in nfs41_walk_client_list()
/linux-4.19.296/fs/
Dfile_table.c95 static struct file *__alloc_file(int flags, const struct cred *cred) in __alloc_file()
133 struct file *alloc_empty_file(int flags, const struct cred *cred) in alloc_empty_file()
170 struct file *alloc_empty_file_noaccount(int flags, const struct cred *cred) in alloc_empty_file_noaccount()
Dcoredump.c192 const struct cred *cred = current_cred(); in format_corename() local
546 struct cred *cred; in do_coredump() local
/linux-4.19.296/include/linux/sunrpc/
Dsvcauth.h38 static inline void init_svc_cred(struct svc_cred *cred) in init_svc_cred()
47 static inline void free_svc_cred(struct svc_cred *cred) in free_svc_cred()
Dauth.h207 struct rpc_cred * get_rpccred(struct rpc_cred *cred) in get_rpccred()
225 get_rpccred_rcu(struct rpc_cred *cred) in get_rpccred_rcu()
/linux-4.19.296/include/keys/
Drequest_key_auth-type.h23 const struct cred *cred; member
/linux-4.19.296/fs/lockd/
Dclntproc.c259 nlmclnt_call(struct rpc_cred *cred, struct nlm_rqst *req, u32 proc) in nlmclnt_call()
404 static int nlmclnt_async_call(struct rpc_cred *cred, struct nlm_rqst *req, u32 proc, const struct r… in nlmclnt_async_call()
513 struct rpc_cred *cred = nfs_file_cred(fl->fl_file); in nlmclnt_lock() local
/linux-4.19.296/fs/cifs/
Dcifs_spnego.c192 struct cred *cred; in init_cifs_spnego() local
/linux-4.19.296/fs/ecryptfs/
Dkthread.c133 const struct cred *cred) in ecryptfs_privileged_open()
/linux-4.19.296/block/
Dioprio.c39 const struct cred *cred = current_cred(), *tcred; in set_task_ioprio() local
/linux-4.19.296/fs/nfs/flexfilelayout/
Dflexfilelayoutdev.c336 struct rpc_cred *cred, __rcu **pcred; in ff_layout_get_mirror_cred() local
473 struct rpc_cred *cred; in ff_layout_get_ds_cred() local
/linux-4.19.296/fs/proc/
Darray.c159 const struct cred *cred; in task_state() local
320 const struct cred *cred; in task_cap() local
/linux-4.19.296/drivers/misc/vmw_vmci/
Dvmci_context.h88 const struct cred *cred; member

123