Home
last modified time | relevance | path

Searched refs:gid (Results 1 – 25 of 50) sorted by relevance

12

/include/linux/
Dhighuid.h47 #define high2lowgid(gid) ((gid) & ~0xFFFF ? (old_gid_t)overflowgid : (old_gid_t)(gid)) argument
53 #define low2highgid(gid) ((gid) == (old_gid_t)-1 ? (gid_t)-1 : (gid_t)(gid)) argument
57 #define __convert_gid(size, gid) \ argument
58 (size >= sizeof(gid) ? (gid) : high2lowgid(gid))
64 #define __convert_gid(size, gid) (gid) argument
70 #define SET_GID(var, gid) do { (var) = __convert_gid(sizeof(var), (gid)); } while (0) argument
92 #define fs_high2lowgid(gid) ((gid) & ~0xFFFF ? (gid16_t)fs_overflowgid : (gid16_t)(gid)) argument
Duidgid.h38 static inline gid_t __kgid_val(kgid_t gid) in __kgid_val() argument
40 return gid.val; in __kgid_val()
48 static inline gid_t __kgid_val(kgid_t gid) in __kgid_val() argument
115 static inline bool gid_valid(kgid_t gid) in gid_valid() argument
117 return __kgid_val(gid) != (gid_t) -1; in gid_valid()
123 extern kgid_t make_kgid(struct user_namespace *from, gid_t gid);
126 extern gid_t from_kgid(struct user_namespace *to, kgid_t gid);
128 extern gid_t from_kgid_munged(struct user_namespace *to, kgid_t gid);
135 static inline bool kgid_has_mapping(struct user_namespace *ns, kgid_t gid) in kgid_has_mapping() argument
137 return from_kgid(ns, gid) != (gid_t) -1; in kgid_has_mapping()
[all …]
Dipc.h18 kgid_t gid; member
Dquota.h71 kgid_t gid; member
108 kqid.gid = make_kgid(from, qid); in make_kqid()
135 kqid.gid = INVALID_GID; in make_kqid_invalid()
162 static inline struct kqid make_kqid_gid(kgid_t gid) in make_kqid_gid() argument
166 kqid.gid = gid; in make_kqid_gid()
Dstat.h27 kgid_t gid; member
Dcred.h32 kgid_t gid[0]; member
120 kgid_t gid; /* real GID of the task */ member
357 #define current_gid() (current_cred_xxx(gid))
384 *(_gid) = __cred->gid; \
Dkey.h158 kgid_t gid; member
228 kuid_t uid, kgid_t gid,
307 extern struct key *keyring_alloc(const char *description, kuid_t uid, kgid_t gid,
Daudit.h79 kgid_t gid; member
349 extern void __audit_ipc_set_perm(unsigned long qbytes, uid_t uid, gid_t gid, umode_t mode);
374 static inline void audit_ipc_set_perm(unsigned long qbytes, uid_t uid, gid_t gid, umode_t mode) in audit_ipc_set_perm() argument
377 __audit_ipc_set_perm(qbytes, uid, gid, mode); in audit_ipc_set_perm()
522 gid_t gid, umode_t mode) in audit_ipc_set_perm() argument
Dproc_fs.h67 static inline void proc_set_user(struct proc_dir_entry *de, kuid_t uid, kgid_t gid) {} in proc_set_user() argument
/include/rdma/
Dib_addr.h153 union ib_gid *gid) in ib_addr_get_mgid() argument
155 memcpy(gid, dev_addr->broadcast + 4, sizeof *gid); in ib_addr_get_mgid()
169 static inline int rdma_ip2gid(struct sockaddr *addr, union ib_gid *gid) in rdma_ip2gid() argument
175 (struct in6_addr *)gid); in rdma_ip2gid()
178 memcpy(gid->raw, &((struct sockaddr_in6 *)addr)->sin6_addr, 16); in rdma_ip2gid()
187 static inline void rdma_gid2ip(struct sockaddr *out, const union ib_gid *gid) in rdma_gid2ip() argument
189 if (ipv6_addr_v4mapped((struct in6_addr *)gid)) { in rdma_gid2ip()
193 memcpy(&out_in->sin_addr.s_addr, gid->raw + 12, 4); in rdma_gid2ip()
198 memcpy(&out_in->sin6_addr.s6_addr, gid->raw, 16); in rdma_gid2ip()
203 union ib_gid *gid) in iboe_addr_get_sgid() argument
[all …]
Dib_cache.h55 union ib_gid *gid,
73 const union ib_gid *gid,
95 const union ib_gid *gid,
102 const union ib_gid *gid,
104 bool (*filter)(const union ib_gid *gid,
/include/net/
Dscm.h18 kgid_t gid; member
54 struct pid *pid, kuid_t uid, kgid_t gid) in scm_set_cred() argument
59 scm->creds.gid = gid; in scm_set_cred()
80 scm->creds.gid = INVALID_GID; in scm_send()
125 .gid = from_kgid_munged(current_ns, scm->creds.gid), in scm_recv()
Daf_unix.h33 kgid_t gid; member
Dgarp.h106 struct rb_root gid; member
/include/uapi/linux/
Dncp_mount.h39 __kernel_gid_t gid; member
63 unsigned long gid; member
Dipc.h13 __kernel_gid_t gid; member
Dcramfs_fs.h32 __u32 size:CRAMFS_SIZE_WIDTH, gid:CRAMFS_GID_WIDTH; member
Dauto_fs4.h130 __u32 gid; member
/include/soc/nps/
Dcommon.h118 ({ struct global_id gid; gid.value = cpu; \
119 nps_cluster_logic_to_phys(gid.cluster); })
/include/uapi/asm-generic/
Dipcbuf.h22 __kernel_gid32_t gid; member
/include/net/9p/
Dclient.h233 int p9_client_symlink(struct p9_fid *fid, char *name, char *symname, kgid_t gid,
236 kgid_t gid, struct p9_qid *qid);
254 dev_t rdev, kgid_t gid, struct p9_qid *);
256 kgid_t gid, struct p9_qid *);
D9p.h407 char *gid; member
475 kgid_t gid; member
/include/trace/events/
Diommu.h25 __field(int, gid)
30 __entry->gid = group_id;
35 __entry->gid, __get_str(device)
/include/uapi/rdma/
Dib_user_mad.h87 __u8 gid[16]; member
131 __u8 gid[16]; member
Drdma_netlink.h222 __u8 gid[16]; member

12