/linux-master/fs/nfs/ |
H A D | inode.c | 1132 struct nfs_open_context *nfs_find_open_context(struct inode *inode, const struct cred *cred, fmode_t mode) argument
|
H A D | dir.c | 2939 static struct nfs_access_entry *nfs_access_search_rbtree(struct inode *inode, const struct cred *cred) argument 2978 static int nfs_access_get_cached_locked(struct inode *inode, const struct cred *cre argument 2958 nfs_access_login_time(const struct task_struct *task, const struct cred *cred) argument 3024 nfs_access_get_cached_rcu(struct inode *inode, const struct cred *cred, u32 *mask) argument 3056 nfs_access_get_cached(struct inode *inode, const struct cred *cred, u32 *mask, bool may_block) argument 3070 nfs_access_add_rbtree(struct inode *inode, struct nfs_access_entry *set, const struct cred *cred) argument 3107 nfs_access_add_cache(struct inode *inode, struct nfs_access_entry *set, const struct cred *cred) argument 3181 nfs_do_access(struct inode *inode, const struct cred *cred, int mask) argument 3244 nfs_may_open(struct inode *inode, const struct cred *cred, int openflags) argument 3271 const struct cred *cred = current_cred(); local [all...] |
H A D | pnfs.c | 969 pnfs_set_layout_cred(struct pnfs_layout_hdr *lo, const struct cred *cred) argument 981 pnfs_set_layout_stateid(struct pnfs_layout_hdr *lo, const nfs4_stateid *new, const struct cred *cred, bool update_barrier) argument 1194 pnfs_prepare_layoutreturn(struct pnfs_layout_hdr *lo, nfs4_stateid *stateid, const struct cred **cred, enum pnfs_iomode *iomode) argument 1247 const struct cred *cred = *pcred; local 1306 const struct cred *cred; local 1340 const struct cred *cred; local 1420 pnfs_roc(struct inode *ino, struct nfs4_layoutreturn_args *args, struct nfs4_layoutreturn_res *res, const struct cred *cred) argument 2562 const struct cred *cred; local 2653 const struct cred *cred; local [all...] |
H A D | nfs4proc.c | 380 nfs4_test_and_free_stateid(struct nfs_server *server, nfs4_stateid *stateid, const struct cred *cred) argument 389 __nfs4_free_revoked_stateid(struct nfs_server *server, nfs4_stateid *stateid, const struct cred *cred) argument 397 nfs4_free_revoked_stateid(struct nfs_server *server, const nfs4_stateid *stateid, const struct cred *cred) argument 826 nfs4_probe_sequence(struct nfs_client *client, const struct cred *cred, struct nfs4_slot *slot) argument 2658 nfs4_opendata_access(const struct cred *cred, struct nfs4_opendata *opendata, struct nfs4_state *state, fmode_t fmode) argument 2827 nfs40_test_and_free_expired_stateid(struct nfs_server *server, nfs4_stateid *stateid, const struct cred *cred) argument 2835 nfs41_test_and_free_expired_stateid(struct nfs_server *server, nfs4_stateid *stateid, const struct cred *cred) argument 2871 const struct cred *cred = NULL; local 2941 const struct cred *cred = lsp->ls_state->owner->so_cred; local 2985 const struct cred *cred = state->owner->so_cred; local 3154 const struct cred *cred = ctx->cred; local 3315 _nfs4_do_setattr(struct inode *inode, struct nfs_setattrargs *arg, struct nfs_setattrres *res, const struct cred *cred, struct nfs_open_context *ctx) argument 3374 nfs4_do_setattr(struct inode *inode, const struct cred *cred, struct nfs_fattr *fattr, struct iattr *sattr, struct nfs_open_context *ctx, struct nfs4_label *ilabel) argument 4031 const struct cred *cred; local 4387 const struct cred *cred = NULL; local 4601 _nfs4_proc_access(struct inode *inode, struct nfs_access_entry *entry, const struct cred *cred) argument 4636 nfs4_proc_access(struct inode *inode, struct nfs_access_entry *entry, const struct cred *cred) argument 5778 nfs4_proc_async_renew(struct nfs_client *clp, const struct cred *cred, unsigned renew_flags) argument 5802 nfs4_proc_renew(struct nfs_client *clp, const struct cred *cred) argument 6449 nfs4_proc_setclientid(struct nfs_client *clp, u32 program, unsigned short port, const struct cred *cred, struct nfs4_setclientid_res *res) argument 6522 nfs4_proc_setclientid_confirm(struct nfs_client *clp, struct nfs4_setclientid_res *arg, const struct cred *cred) argument 6673 _nfs4_proc_delegreturn(struct inode *inode, const struct cred *cred, const nfs4_stateid *stateid, int issync) argument 6748 nfs4_proc_delegreturn(struct inode *inode, const struct cred *cred, const nfs4_stateid *stateid, int issync) argument 8069 _nfs40_proc_get_locations(struct nfs_server *server, struct nfs_fh *fhandle, struct nfs4_fs_locations *locations, struct page *page, const struct cred *cred) argument 8126 _nfs41_proc_get_locations(struct nfs_server *server, struct nfs_fh *fhandle, struct nfs4_fs_locations *locations, struct page *page, const struct cred *cred) argument 8197 nfs4_proc_get_locations(struct nfs_server *server, struct nfs_fh *fhandle, struct nfs4_fs_locations *locations, struct page *page, const struct cred *cred) argument 8233 _nfs40_proc_fsid_present(struct inode *inode, const struct cred *cred) argument 8279 _nfs41_proc_fsid_present(struct inode *inode, const struct cred *cred) argument 8326 nfs4_proc_fsid_present(struct inode *inode, const struct cred *cred) argument 8388 const struct cred *cred = NULL; local 8504 nfs4_proc_bind_one_conn_to_session(struct rpc_clnt *clnt, struct rpc_xprt *xprt, struct nfs_client *clp, const struct cred *cred) argument 8570 const struct cred *cred; member in struct:rpc_bind_conn_calldata 8583 nfs4_proc_bind_conn_to_session(struct nfs_client *clp, const struct cred *cred) argument 8749 nfs4_run_exchange_id(struct nfs_client *clp, const struct cred *cred, u32 sp4_how, struct rpc_xprt *xprt) argument 8847 _nfs4_proc_exchange_id(struct nfs_client *clp, const struct cred *cred, u32 sp4_how) argument 8918 nfs4_proc_exchange_id(struct nfs_client *clp, const struct cred *cred) argument 8991 _nfs4_proc_destroy_clientid(struct nfs_client *clp, const struct cred *cred) argument 9010 nfs4_proc_destroy_clientid(struct nfs_client *clp, const struct cred *cred) argument 9032 const struct cred *cred; local 9251 _nfs4_proc_create_session(struct nfs_client *clp, const struct cred *cred) argument 9305 nfs4_proc_create_session(struct nfs_client *clp, const struct cred *cred) argument 9342 nfs4_proc_destroy_session(struct nfs4_session *session, const struct cred *cred) argument 9440 _nfs41_proc_sequence(struct nfs_client *clp, const struct cred *cred, struct nfs4_slot *slot, bool is_privileged) argument 9484 nfs41_proc_async_sequence(struct nfs_client *clp, const struct cred *cred, unsigned renew_flags) argument 9500 nfs4_proc_sequence(struct nfs_client *clp, const struct cred *cred) argument 9594 nfs41_proc_reclaim_complete(struct nfs_client *clp, const struct cred *cred) argument 9939 _nfs4_proc_getdeviceinfo(struct nfs_server *server, struct pnfs_device *pdev, const struct cred *cred) argument 9972 nfs4_proc_getdeviceinfo(struct nfs_server *server, struct pnfs_device *pdev, const struct cred *cred) argument 10120 const struct cred *cred = NULL; local 10247 _nfs41_test_stateid(struct nfs_server *server, nfs4_stateid *stateid, const struct cred *cred) argument 10308 nfs41_test_stateid(struct nfs_server *server, nfs4_stateid *stateid, const struct cred *cred) argument 10376 nfs41_free_stateid(struct nfs_server *server, const nfs4_stateid *stateid, const struct cred *cred, bool privileged) argument 10423 const struct cred *cred = lsp->ls_state->owner->so_cred; local [all...] |
/linux-master/drivers/usb/core/ |
H A D | devio.c | 73 const struct cred *cred; member in struct:usb_dev_state 98 const struct cred *cred; member in struct:async 625 const struct cred *cred = NULL; local [all...] |
/linux-master/lib/ |
H A D | vsprintf.c | 861 const struct cred *cred; local
|
/linux-master/arch/x86/kernel/cpu/resctrl/ |
H A D | rdtgroup.c | 688 const struct cred *cred = current_cred(); local
|
/linux-master/security/apparmor/ |
H A D | lsm.c | 74 static void apparmor_cred_free(struct cred *cred) argument 83 static int apparmor_cred_alloc_blank(struct cred *cred, gfp_t gfp) argument 127 const struct cred *cred; local 145 const struct cred *cred; local 164 const struct cred *cred; local 196 apparmor_capable(const struct cred *cred, struct user_namespace *ns, int cap, unsigned int opts) argument 826 const struct cred *cred = get_task_cred(task); local 1012 apparmor_task_kill(struct task_struct *target, struct kernel_siginfo *info, int sig, const struct cred *cred) argument 1039 apparmor_userns_create(const struct cred *cred) argument 1968 struct cred *cred = (__force struct cred *)current->real_cred; local [all...] |
/linux-master/kernel/ |
H A D | signal.c | 817 const struct cred *cred = current_cred(); local 1519 static inline bool kill_as_cred_perm(const struct cred *cred, argument 1555 kill_pid_usb_asyncio(int sig, int errno, sigval_t addr, struct pid *pid, const struct cred *cred) argument [all...] |
/linux-master/fs/nfs/flexfilelayout/ |
H A D | flexfilelayout.c | 240 const struct cred *cred; local 416 const struct cred __rcu *cred; local [all...] |
/linux-master/kernel/trace/ |
H A D | trace_events_user.c | 1454 struct cred *cred; local
|
/linux-master/fs/ |
H A D | namei.c | 3723 kernel_tmpfile_open(struct mnt_idmap *idmap, const struct path *parentpath, umode_t mode, int open_flag, const struct cred *cred) argument
|
/linux-master/fs/fuse/ |
H A D | fuse_i.h | 82 struct cred *cred; member in struct:fuse_backing 269 const struct cred *cred; member in struct:fuse_file
|
/linux-master/include/linux/ |
H A D | filter.h | 970 static inline bool bpf_dump_raw_ok(const struct cred *cred) argument
|
H A D | security.h | 605 security_capable(const struct cred *cred, struct user_namespace *ns, int cap, unsigned int opts) argument 1123 security_cred_alloc_blank(struct cred *cred, gfp_t gfp) argument 1128 security_cred_free(struct cred *cred) argument 1148 security_kernel_act_as(struct cred *cred, u32 secid) argument 1153 security_kernel_create_files_as(struct cred *cred, struct inode *inode) argument 1250 security_task_prlimit(const struct cred *cred, const struct cred *tcred, unsigned int flags) argument 1279 security_task_kill(struct task_struct *p, struct kernel_siginfo *info, int sig, const struct cred *cred) argument 1297 security_create_user_ns(const struct cred *cred) argument 1493 security_post_notification(const struct cred *w_cred, const struct cred *cred, struct watch_notification *n) argument 2014 security_key_alloc(struct key *key, const struct cred *cred, unsigned long flags) argument 2025 security_key_permission(key_ref_t key_ref, const struct cred *cred, enum key_need_perm need_perm) argument [all...] |
H A D | sched.h | 1073 const struct cred __rcu *cred; member in struct:task_struct
|
H A D | nfs_xdr.h | 279 const struct cred *cred; member in struct:nfs4_layoutget 319 const struct cred *cred; member in struct:nfs4_layoutcommit_data 344 const struct cred *cred; member in struct:nfs4_layoutreturn 761 const struct cred *cred; member in struct:nfs_readdir_arg 1613 const struct cred *cred; member in struct:nfs_pgio_header 1676 const struct cred *cred; member in struct:nfs_commit_data 1707 const struct cred *cred; member in struct:nfs_unlinkdata 1716 const struct cred *cred; member in struct:nfs_renamedata [all...] |
/linux-master/fs/proc/ |
H A D | base.c | 1820 const struct cred *cred; local
|
/linux-master/security/smack/ |
H A D | smack_lsm.c | 254 static int smk_bu_credfile(const struct cred *cred, struct file *file, argument 2040 smack_cred_alloc_blank(struct cred *cred, gfp_t gfp) argument 2052 smack_cred_free(struct cred *cred) argument 2116 smack_cred_getsecid(const struct cred *cred, u32 *secid) argument 2321 smack_task_kill(struct task_struct *p, struct kernel_siginfo *info, int sig, const struct cred *cred) argument 4479 smack_key_alloc(struct key *key, const struct cred *cred, unsigned long flags) argument 4508 smack_key_permission(key_ref_t key_ref, const struct cred *cred, enum key_need_perm need_perm) argument 4650 smack_post_notification(const struct cred *w_cred, const struct cred *cred, struct watch_notification *n) argument 5221 struct cred *cred = (struct cred *) current->cred; local [all...] |
/linux-master/net/core/ |
H A D | sock.c | 1556 const struct cred *cred; local 1565 static void cred_to_ucred(struct pid *pid, const struct cred *cred, argument 1801 const struct cred *cred; local [all...] |
/linux-master/drivers/net/ |
H A D | tun.c | 579 const struct cred *cred = current_cred(); local
|
/linux-master/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | sge.c | 541 unsigned int cred = q->avail; local
|
H A D | cxgb4.h | 940 u32 cred; /* Current available credits */ member in struct:sge_eosw_txq
|
/linux-master/security/ |
H A D | security.c | 607 static int lsm_cred_alloc(struct cred *cre argument 626 lsm_early_cred(struct cred *cred) argument 1031 security_capable(const struct cred *cred, struct user_namespace *ns, int cap, unsigned int opts) argument 3046 security_cred_alloc_blank(struct cred *cred, gfp_t gfp) argument 3065 security_cred_free(struct cred *cred) argument 3429 security_task_prlimit(const struct cred *cred, const struct cred *tcred, unsigned int flags) argument 3508 security_task_kill(struct task_struct *p, struct kernel_siginfo *info, int sig, const struct cred *cred) argument 3567 security_create_user_ns(const struct cred *cred) argument 4282 security_post_notification(const struct cred *w_cred, const struct cred *cred, struct watch_notification *n) argument 5255 security_key_alloc(struct key *key, const struct cred *cred, unsigned long flags) argument 5282 security_key_permission(key_ref_t key_ref, const struct cred *cred, enum key_need_perm need_perm) argument [all...] |
/linux-master/security/selinux/ |
H A D | hooks.c | 223 static inline u32 cred_sid(const struct cred *cred) argument 628 const struct cred *cre local 424 may_context_mount_sb_relabel(u32 sid, struct superblock_security_struct *sbsec, const struct cred *cred) argument 441 may_context_mount_inode_relabel(u32 sid, struct superblock_security_struct *sbsec, const struct cred *cred) argument 1619 cred_has_capability(const struct cred *cred, int cap, unsigned int opts, bool initns) argument 1657 inode_has_perm(const struct cred *cred, struct inode *inode, u32 perms, struct common_audit_data *adp) argument 1677 dentry_has_perm(const struct cred *cred, struct dentry *dentry, u32 av) argument 1693 path_has_perm(const struct cred *cred, const struct path *path, u32 av) argument 1707 file_path_has_perm(const struct cred *cred, struct file *file, u32 av) argument 1730 file_has_perm(const struct cred *cred, struct file *file, u32 av) argument 1939 superblock_has_perm(const struct cred *cred, const struct super_block *sb, u32 perms, struct common_audit_data *ad) argument 2136 selinux_capable(const struct cred *cred, struct user_namespace *ns, int cap, unsigned int opts) argument 2144 const struct cred *cred = current_cred(); local 2179 const struct cred *cred = current_cred(); local 2420 flush_unauthorized_files(const struct cred *cred, struct files_struct *files) argument 2739 const struct cred *cred = current_cred(); local 2749 const struct cred *cred = current_cred(); local 2763 const struct cred *cred = current_cred(); local 2775 const struct cred *cred = current_cred(); local 2782 const struct cred *cred = current_cred(); local 3058 const struct cred *cred = current_cred(); local 3066 const struct cred *cred = current_cred(); local 3097 const struct cred *cred = current_cred(); local 3141 const struct cred *cred = current_cred(); local 3174 const struct cred *cred = current_cred(); local 3337 const struct cred *cred = current_cred(); local 3344 const struct cred *cred = current_cred(); local 3614 const struct cred *cred = current_cred(); local 3660 ioctl_has_perm(const struct cred *cred, struct file *file, u32 requested, u16 cmd) argument 3700 const struct cred *cred = current_cred(); local 3775 const struct cred *cred = current_cred(); local 3848 const struct cred *cred = current_cred(); local 3880 const struct cred *cred = current_cred(); local 3888 const struct cred *cred = current_cred(); local 3957 const struct cred *cred = current_cred(); local 4191 selinux_task_prlimit(const struct cred *cred, const struct cred *tcred, unsigned int flags) argument 4240 selinux_task_kill(struct task_struct *p, struct kernel_siginfo *info, int sig, const struct cred *cred) argument 4270 selinux_userns_create(const struct cred *cred) argument 6674 selinux_key_alloc(struct key *k, const struct cred *cred, unsigned long flags) argument 6702 selinux_key_permission(key_ref_t key_ref, const struct cred *cred, enum key_need_perm need_perm) argument [all...] |