/include/linux/ |
D | highuid.h | 47 #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
|
D | uidgid.h | 37 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 …]
|
D | ipc.h | 18 kgid_t gid; member
|
D | quota.h | 65 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()
|
D | stat.h | 27 kgid_t gid; member
|
D | key.h | 148 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,
|
D | cred.h | 113 kgid_t gid; /* real GID of the task */ member 350 #define current_gid() (current_cred_xxx(gid)) 377 *(_gid) = __cred->gid; \
|
D | audit.h | 76 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
|
D | shmem_fs.h | 35 kgid_t gid; /* Mount gid for root directory */ member
|
D | proc_fs.h | 67 static inline void proc_set_user(struct proc_dir_entry *de, kuid_t uid, kgid_t gid) {} in proc_set_user() argument
|
/include/rdma/ |
D | ib_addr.h | 129 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 …]
|
D | ib_cache.h | 53 union ib_gid *gid); 68 union ib_gid *gid,
|
/include/net/ |
D | scm.h | 18 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()
|
D | af_unix.h | 33 kgid_t gid; member
|
D | garp.h | 106 struct rb_root gid; member
|
/include/uapi/linux/ |
D | ncp_mount.h | 39 __kernel_gid_t gid; member 63 unsigned long gid; member
|
D | ipc.h | 13 __kernel_gid_t gid; member
|
D | cramfs_fs.h | 32 __u32 size:CRAMFS_SIZE_WIDTH, gid:CRAMFS_GID_WIDTH; member
|
D | auto_fs4.h | 136 __u32 gid; member
|
/include/uapi/asm-generic/ |
D | ipcbuf.h | 22 __kernel_gid32_t gid; member
|
/include/net/9p/ |
D | client.h | 231 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 *);
|
D | 9p.h | 407 char *gid; member 475 kgid_t gid; member
|
/include/trace/events/ |
D | iommu.h | 25 __field(int, gid) 30 __entry->gid = group_id; 35 __entry->gid, __get_str(device)
|
/include/uapi/rdma/ |
D | ib_user_mad.h | 87 __u8 gid[16]; member 131 __u8 gid[16]; member
|
/include/net/nfc/ |
D | nci.h | 152 #define nci_opcode_pack(gid, oid) (__u16)((((__u16)((gid)&0x0f))<<8)|\ argument 179 __u8 gid; /* MT & PBF & GID */ member
|