Lines Matching full:user
24 static inline bool user_guest(struct ksmbd_user *user) in user_guest() argument
26 return user->flags & KSMBD_USER_FLAG_GUEST_ACCOUNT; in user_guest()
29 static inline void set_user_flag(struct ksmbd_user *user, int flag) in set_user_flag() argument
31 user->flags |= flag; in set_user_flag()
34 static inline int test_user_flag(struct ksmbd_user *user, int flag) in test_user_flag() argument
36 return user->flags & flag; in test_user_flag()
39 static inline void set_user_guest(struct ksmbd_user *user) in set_user_guest() argument
43 static inline char *user_passkey(struct ksmbd_user *user) in user_passkey() argument
45 return user->passkey; in user_passkey()
48 static inline char *user_name(struct ksmbd_user *user) in user_name() argument
50 return user->name; in user_name()
53 static inline unsigned int user_uid(struct ksmbd_user *user) in user_uid() argument
55 return user->uid; in user_uid()
58 static inline unsigned int user_gid(struct ksmbd_user *user) in user_gid() argument
60 return user->gid; in user_gid()
65 void ksmbd_free_user(struct ksmbd_user *user);
66 int ksmbd_anonymous_user(struct ksmbd_user *user);