/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 | 38 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 …]
|
D | ipc.h | 18 kgid_t gid; member
|
D | quota.h | 71 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()
|
D | stat.h | 27 kgid_t gid; member
|
D | cred.h | 32 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; \
|
D | key.h | 158 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,
|
D | audit.h | 79 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
|
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 | 153 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 …]
|
D | ib_cache.h | 55 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/ |
D | scm.h | 18 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()
|
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 | 130 __u32 gid; member
|
/include/soc/nps/ |
D | common.h | 118 ({ struct global_id gid; gid.value = cpu; \ 119 nps_cluster_logic_to_phys(gid.cluster); })
|
/include/uapi/asm-generic/ |
D | ipcbuf.h | 22 __kernel_gid32_t gid; member
|
/include/net/9p/ |
D | client.h | 233 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 *);
|
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
|
D | rdma_netlink.h | 222 __u8 gid[16]; member
|