Home
last modified time | relevance | path

Searched refs:gid (Results 1 – 25 of 44) 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.h37 static inline gid_t __kgid_val(kgid_t gid) in __kgid_val() argument
39 return gid.val; in __kgid_val()
103 static inline bool gid_valid(kgid_t gid) in gid_valid() argument
105 return !gid_eq(gid, INVALID_GID); in gid_valid()
111 extern kgid_t make_kgid(struct user_namespace *from, gid_t gid);
114 extern gid_t from_kgid(struct user_namespace *to, kgid_t gid);
116 extern gid_t from_kgid_munged(struct user_namespace *to, kgid_t gid);
123 static inline bool kgid_has_mapping(struct user_namespace *ns, kgid_t gid) in kgid_has_mapping() argument
125 return from_kgid(ns, gid) != (gid_t) -1; in kgid_has_mapping()
135 static inline kgid_t make_kgid(struct user_namespace *from, gid_t gid) in make_kgid() argument
[all …]
Dipc.h18 kgid_t gid; member
Dquota.h65 kgid_t gid; member
102 kqid.gid = make_kgid(from, qid); in make_kqid()
129 kqid.gid = INVALID_GID; in make_kqid_invalid()
156 static inline struct kqid make_kqid_gid(kgid_t gid) in make_kqid_gid() argument
160 kqid.gid = gid; in make_kqid_gid()
Dstat.h27 kgid_t gid; member
Dkey.h148 kgid_t gid; member
217 kuid_t uid, kgid_t gid,
292 extern struct key *keyring_alloc(const char *description, kuid_t uid, kgid_t gid,
Dcred.h113 kgid_t gid; /* real GID of the task */ member
350 #define current_gid() (current_cred_xxx(gid))
377 *(_gid) = __cred->gid; \
Daudit.h76 kgid_t gid; member
235 extern void __audit_ipc_set_perm(unsigned long qbytes, uid_t uid, gid_t gid, umode_t mode);
260 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
263 __audit_ipc_set_perm(qbytes, uid, gid, mode); in audit_ipc_set_perm()
407 gid_t gid, umode_t mode) in audit_ipc_set_perm() argument
Dshmem_fs.h35 kgid_t gid; /* Mount gid for root directory */ member
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.h129 union ib_gid *gid) in ib_addr_get_mgid() argument
131 memcpy(gid, dev_addr->broadcast + 4, sizeof *gid); in ib_addr_get_mgid()
145 static inline int rdma_ip2gid(struct sockaddr *addr, union ib_gid *gid) in rdma_ip2gid() argument
151 (struct in6_addr *)gid); in rdma_ip2gid()
154 memcpy(gid->raw, &((struct sockaddr_in6 *)addr)->sin6_addr, 16); in rdma_ip2gid()
163 static inline int rdma_gid2ip(struct sockaddr *out, union ib_gid *gid) in rdma_gid2ip() argument
165 if (ipv6_addr_v4mapped((struct in6_addr *)gid)) { in rdma_gid2ip()
169 memcpy(&out_in->sin_addr.s_addr, gid->raw + 12, 4); in rdma_gid2ip()
174 memcpy(&out_in->sin6_addr.s6_addr, gid->raw, 16); in rdma_gid2ip()
180 union ib_gid *gid) in iboe_addr_get_sgid() argument
[all …]
Dib_cache.h53 union ib_gid *gid);
68 union ib_gid *gid,
/include/net/
Dscm.h18 kgid_t gid; member
53 struct pid *pid, kuid_t uid, kgid_t gid) in scm_set_cred() argument
58 scm->creds.gid = gid; in scm_set_cred()
79 scm->creds.gid = INVALID_GID; in scm_send()
124 .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.h136 __u32 gid; member
/include/uapi/asm-generic/
Dipcbuf.h22 __kernel_gid32_t gid; member
/include/net/9p/
Dclient.h231 int p9_client_symlink(struct p9_fid *fid, char *name, char *symname, kgid_t gid,
234 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
/include/net/nfc/
Dnci.h152 #define nci_opcode_pack(gid, oid) (__u16)((((__u16)((gid)&0x0f))<<8)|\ argument
179 __u8 gid; /* MT & PBF & GID */ member

12