Home
last modified time | relevance | path

Searched refs:gid (Results 51 – 75 of 627) sorted by relevance

12345678910>>...26

/openbmc/linux/drivers/base/
H A Ddevtmpfs.c53 kgid_t gid; member
124 req.gid = GLOBAL_ROOT_GID; in devtmpfs_create_node()
125 req.name = device_get_devnode(dev, &req.mode, &req.uid, &req.gid, &tmp); in devtmpfs_create_node()
205 kgid_t gid, struct device *dev) in handle_create() argument
226 newattrs.ia_gid = gid; in handle_create()
380 static int handle(const char *name, umode_t mode, kuid_t uid, kgid_t gid, in handle() argument
384 return handle_create(name, mode, uid, gid, dev); in handle()
400 req->uid, req->gid, req->dev); in devtmpfs_work_loop()
/openbmc/linux/drivers/infiniband/sw/rdmavt/
H A Dmcast.h12 int rvt_attach_mcast(struct ib_qp *ibqp, union ib_gid *gid, u16 lid);
13 int rvt_detach_mcast(struct ib_qp *ibqp, union ib_gid *gid, u16 lid);
/openbmc/linux/fs/devpts/
H A Dinode.c79 kgid_t gid; member
232 kgid_t gid; in parse_mount_options() local
237 opts->gid = GLOBAL_ROOT_GID; in parse_mount_options()
271 gid = make_kgid(current_user_ns(), option); in parse_mount_options()
272 if (!gid_valid(gid)) in parse_mount_options()
274 opts->gid = gid; in parse_mount_options()
395 from_kgid_munged(&init_user_ns, opts->gid)); in devpts_show_options()
562 inode->i_gid = opts->setgid ? opts->gid : current_fsgid(); in devpts_pty_new()
/openbmc/linux/drivers/perf/
H A Dcxl_pmu.c85 u16 gid; member
176 pmu_ev->gid = FIELD_GET(CXL_PMU_EVENT_CAP_GROUP_ID_MSK, eval); in cxl_pmu_parse_caps()
201 pmu_ev->gid = FIELD_GET(CXL_PMU_EVENT_CAP_GROUP_ID_MSK, eval); in cxl_pmu_parse_caps()
243 [cxl_pmu_gid_attr] = CXL_PMU_FORMAT_ATTR(gid, "config:32-47"),
438 int vid, int gid, int msk) in cxl_pmu_find_fixed_counter_ev_cap() argument
443 if (vid != pmu_ev->vid || gid != pmu_ev->gid) in cxl_pmu_find_fixed_counter_ev_cap()
455 int vid, int gid, int msk) in cxl_pmu_find_config_counter_ev_cap() argument
460 if (vid != pmu_ev->vid || gid != pmu_ev->gid) in cxl_pmu_find_config_counter_ev_cap()
481 int gid = FIELD_GET(CXL_PMU_ATTR_CONFIG_GID_MSK, pmu_attr->id); in cxl_pmu_event_is_visible() local
532 u16 gid, vid; in cxl_pmu_get_event_idx() local
[all …]
/openbmc/linux/drivers/misc/sgi-gru/
H A Dgrukdump.c164 hdr.gid = gru->gs_gid; in gru_dump_context()
187 if (req.gid >= gru_max_gids) in gru_dump_chiplet_request()
189 req.gid = array_index_nospec(req.gid, gru_max_gids); in gru_dump_chiplet_request()
191 gru = GID_TO_GRU(req.gid); in gru_dump_chiplet_request()
/openbmc/linux/drivers/infiniband/core/
H A Droce_gid_mgmt.c54 union ib_gid gid; member
99 u32 port, union ib_gid *gid, in update_gid() argument
111 gid, gid_attr); in update_gid()
115 gid, gid_attr); in update_gid()
287 union ib_gid gid; in update_gid_ip() local
290 rdma_ip2gid(addr, &gid); in update_gid_ip()
294 update_gid(gid_op, ib_dev, port, &gid, &gid_attr); in update_gid_ip()
412 union ib_gid gid; in enum_netdev_ipv6_ips() local
415 update_gid(GID_ADD, ib_dev, port, &gid, &gid_attr); in enum_netdev_ipv6_ips()
526 port, &parsed->gid, in callback_for_addr_gid_device_scan()
[all …]
/openbmc/linux/kernel/
H A Duid16.h6 long __sys_setgid(gid_t gid);
12 long __sys_setfsgid(gid_t gid);
/openbmc/linux/fs/affs/
H A Dinode.c84 id = be16_to_cpu(tail->gid); in affs_iget()
176 gid_t gid; in affs_write_inode() local
198 gid = i_gid_read(inode); in affs_write_inode()
202 if (gid == 0 || gid == 0xFFFF) in affs_write_inode()
203 gid = gid ^ ~0; in affs_write_inode()
208 tail->gid = cpu_to_be16(gid); in affs_write_inode()
H A Dsuper.c190 parse_options(char *options, kuid_t *uid, kgid_t *gid, int *mode, int *reserved, s32 *root, in parse_options() argument
199 *gid = current_gid(); in parse_options()
259 *gid = make_kgid(current_user_ns(), option); in parse_options()
260 if (!gid_valid(*gid)) in parse_options()
345 kgid_t gid; in affs_fill_super() local
373 if (!parse_options(data,&uid,&gid,&i,&reserved,&root_block, in affs_fill_super()
384 sbi->s_gid = gid; in affs_fill_super()
558 kgid_t gid; in affs_remount() local
573 if (!parse_options(data, &uid, &gid, &mode, &reserved, &root_block, in affs_remount()
585 sbi->s_gid = gid; in affs_remount()
/openbmc/linux/fs/sysfs/
H A Dsysfs.h32 kgid_t gid, const void *ns);
35 kuid_t uid, kgid_t gid, const void *ns);
H A Ddir.c44 kgid_t gid; in sysfs_create_dir_ns() local
57 kobject_get_ownership(kobj, &uid, &gid); in sysfs_create_dir_ns()
59 kn = kernfs_create_dir_ns(parent, kobject_name(kobj), 0755, uid, gid, in sysfs_create_dir_ns()
/openbmc/qemu/hw/9pfs/
H A Dtrace-events13 …sk, uint32_t mode, uint32_t uid, uint32_t gid) "tag %d id %d getattr={result_mask %"PRId64" mode %…
18 … int32_t dfid, int32_t flags, int32_t mode, uint32_t gid) "tag %d id %d dfid %d flags %d mode %d g…
30 …, int32_t fid, char* name, char* symname, uint32_t gid) "tag %d id %d fid %d name %s symname %s g…
42 …nt8_t id, int32_t fid, char* name, int mode, uint32_t gid) "tag %u id %u fid %d name %s mode %d gi…
49 …nt32_t uid, int32_t gid, int64_t size, int64_t atime_sec, int64_t mtime_sec) "tag %u id %u fid %d …
H A Dcofs.c143 gid_t gid) in v9fs_co_chown() argument
154 cred.fc_gid = gid; in v9fs_co_chown()
188 V9fsString *name, uid_t uid, gid_t gid, in v9fs_co_mknod() argument
201 cred.fc_gid = gid; in v9fs_co_mknod()
311 gid_t gid, struct stat *stbuf) in v9fs_co_symlink() argument
323 cred.fc_gid = gid; in v9fs_co_symlink()
/openbmc/linux/fs/hfsplus/
H A Doptions.c58 opts->gid = current_gid(); in hfsplus_fill_defaults()
152 sbi->gid = make_kgid(current_user_ns(), (gid_t)tmp); in hfsplus_parse_options()
153 if (!gid_valid(sbi->gid)) { in hfsplus_parse_options()
231 from_kgid_munged(&init_user_ns, sbi->gid)); in hfsplus_show_options()
/openbmc/linux/include/linux/
H A 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()
/openbmc/linux/fs/proc/
H A Dproc_net.c351 kgid_t gid; in proc_net_ns_init() local
377 gid = make_kgid(net->user_ns, 0); in proc_net_ns_init()
378 if (!gid_valid(gid)) in proc_net_ns_init()
379 gid = netd->gid; in proc_net_ns_init()
381 proc_set_user(netd, uid, gid); in proc_net_ns_init()
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A Dcmd.c132 void *gid; in mlx5_cmd_attach_mcg() local
137 gid = MLX5_ADDR_OF(attach_to_mcg_in, in, multicast_gid); in mlx5_cmd_attach_mcg()
138 memcpy(gid, mgid, sizeof(*mgid)); in mlx5_cmd_attach_mcg()
146 void *gid; in mlx5_cmd_detach_mcg() local
151 gid = MLX5_ADDR_OF(detach_from_mcg_in, in, multicast_gid); in mlx5_cmd_detach_mcg()
152 memcpy(gid, mgid, sizeof(*mgid)); in mlx5_cmd_detach_mcg()
/openbmc/linux/drivers/infiniband/hw/qedr/
H A Dqedr_roce_cm.h42 static inline u32 qedr_get_ipv4_from_gid(const u8 *gid) in qedr_get_ipv4_from_gid() argument
44 return *(u32 *)(void *)&gid[12]; in qedr_get_ipv4_from_gid()
/openbmc/linux/fs/hpfs/
H A Dsuper.c313 static int parse_opts(char *opts, kuid_t *uid, kgid_t *gid, umode_t *umask, in parse_opts() argument
345 *gid = make_kgid(current_user_ns(), option); in parse_opts()
346 if (!gid_valid(*gid)) in parse_opts()
445 kgid_t gid; in hpfs_remount_fs() local
456 uid = sbi->sb_uid; gid = sbi->sb_gid; in hpfs_remount_fs()
462 if (!(o = parse_opts(data, &uid, &gid, &umask, &lowercase, in hpfs_remount_fs()
478 sbi->sb_uid = uid; sbi->sb_gid = gid; in hpfs_remount_fs()
547 kgid_t gid; in hpfs_fill_super() local
567 gid = current_gid(); in hpfs_fill_super()
576 if (!(o = parse_opts(options, &uid, &gid, &umask, &lowercase, in hpfs_fill_super()
[all …]
/openbmc/qemu/fsdev/
H A Dvirtfs-proxy-helper.c288 static int setugid(int uid, int gid, int *suid, int *sgid) in setugid() argument
295 if (setresgid(-1, gid, *sgid) == -1) { in setugid()
304 if (uid == 0 && gid == 0) { in setugid()
644 int mode, uid, gid, cur_uid, cur_gid; in do_create_others() local
654 retval = setugid(uid, gid, &cur_uid, &cur_gid); in do_create_others()
701 int flags, mode, uid, gid, cur_uid, cur_gid; in do_create() local
709 ret = setugid(uid, gid, &cur_uid, &cur_gid); in do_create()
782 if (chown(proxy.sun_path, uid, gid) < 0) { in proxy_socket()
868 int mode, uid, gid; in process_requests() local
938 &uid, &gid); in process_requests()
[all …]
/openbmc/linux/fs/9p/
H A Dvfs_inode_dotl.c233 kgid_t gid; in v9fs_vfs_atomic_open_dotl() local
279 gid = v9fs_get_fsgid_for_create(dir); in v9fs_vfs_atomic_open_dotl()
362 kgid_t gid; in v9fs_vfs_mkdir_dotl() local
383 gid = v9fs_get_fsgid_for_create(dir); in v9fs_vfs_mkdir_dotl()
393 err = p9_client_mkdir_dotl(dfid, name, mode, gid, &qid); in v9fs_vfs_mkdir_dotl()
544 .gid = INVALID_GID, in v9fs_vfs_setattr_dotl()
561 p9attr.gid = iattr->ia_gid; in v9fs_vfs_setattr_dotl()
706 kgid_t gid; in v9fs_vfs_symlink_dotl() local
725 gid = v9fs_get_fsgid_for_create(dir); in v9fs_vfs_symlink_dotl()
844 kgid_t gid; in v9fs_vfs_mknod_dotl() local
[all …]
/openbmc/linux/samples/bpf/
H A Dsock_flags.bpf.c13 __u32 gid = gid_uid >> 32; in bpf_prog1() local
16 bpf_trace_printk(fmt2, sizeof(fmt2), uid, gid); in bpf_prog1()
/openbmc/linux/fs/smb/server/mgmt/
H A Duser_config.h15 unsigned int gid; member
59 return user->gid; in user_gid()
/openbmc/linux/net/smc/
H A Dsmc_ib.h62 static inline __be32 smc_ib_gid_to_ipv4(u8 gid[SMC_GID_SIZE]) in smc_ib_gid_to_ipv4()
64 struct in6_addr *addr6 = (struct in6_addr *)gid; in smc_ib_gid_to_ipv4()
113 unsigned short vlan_id, u8 gid[], u8 *sgid_index,
/openbmc/openbmc/poky/meta/classes-recipe/
H A Drootfs-postcommands.bbclass72 # If the id is a path, the uid/gid matchs to the target's uid/gid in the
81 # Else it is a uid:gid or uid:groupname syntax
97 def check_group_exists(d, gname=None, gid=None):
101 if name == gname or g_id == gid:
107 (name, uid, gid, comment, homedir, ushell) = user
109 # Ignore 'uid', 'gid' or 'homedir' if they are not set
113 and (gid == '-' or gid == e_gid) \
160 gid = sid or '-'
161 if '/' in gid:
166 elif gid != '-':
[all …]

12345678910>>...26