Lines Matching refs:user
23 static inline bool user_guest(struct ksmbd_user *user) in user_guest() argument
25 return user->flags & KSMBD_USER_FLAG_GUEST_ACCOUNT; in user_guest()
28 static inline void set_user_flag(struct ksmbd_user *user, int flag) in set_user_flag() argument
30 user->flags |= flag; in set_user_flag()
33 static inline int test_user_flag(struct ksmbd_user *user, int flag) in test_user_flag() argument
35 return user->flags & flag; in test_user_flag()
38 static inline void set_user_guest(struct ksmbd_user *user) in set_user_guest() argument
42 static inline char *user_passkey(struct ksmbd_user *user) in user_passkey() argument
44 return user->passkey; in user_passkey()
47 static inline char *user_name(struct ksmbd_user *user) in user_name() argument
49 return user->name; in user_name()
52 static inline unsigned int user_uid(struct ksmbd_user *user) in user_uid() argument
54 return user->uid; in user_uid()
57 static inline unsigned int user_gid(struct ksmbd_user *user) in user_gid() argument
59 return user->gid; in user_gid()
64 void ksmbd_free_user(struct ksmbd_user *user);
65 int ksmbd_anonymous_user(struct ksmbd_user *user);