Lines Matching defs:cred
118 struct cred { struct
119 atomic_t usage;
121 atomic_t subscribers; /* number of processes subscribed */
122 void *put_addr;
123 unsigned magic;
127 kuid_t uid; /* real UID of the task */
128 kgid_t gid; /* real GID of the task */
129 kuid_t suid; /* saved UID of the task */
130 kgid_t sgid; /* saved GID of the task */
131 kuid_t euid; /* effective UID of the task */
132 kgid_t egid; /* effective GID of the task */
133 kuid_t fsuid; /* UID for VFS ops */
157 extern void __put_cred(struct cred *); argument
185 static inline void __validate_creds(const struct cred *cred, in __validate_creds()
192 #define validate_creds(cred) \ argument
204 static inline void validate_creds(const struct cred *cred) in validate_creds()
222 static inline struct cred *get_new_cred(struct cred *cred) in get_new_cred()
241 static inline const struct cred *get_cred(const struct cred *cred) in get_cred()
261 struct cred *cred = (struct cred *) _cred; in put_cred() local