Searched refs:gid (Results 76 - 100 of 549) sorted by relevance

1234567891011>>

/freebsd-12-stable/usr.sbin/pw/
H A Dpwupd.h53 struct group * (*_getgrgid)(gid_t gid);
100 #define GETGRGID(gid) PWF._getgrgid(gid)
138 struct group * vgetgrgid(gid_t gid);
144 gid_t gid, int flags);
/freebsd-12-stable/sys/ofed/drivers/infiniband/core/
H A Dib_cache.c91 union ib_gid gid; member in struct:ib_gid_table_entry
178 const union ib_gid *gid,
199 ret = ib_dev->add_gid(ib_dev, port, ix, gid, attr,
211 /* if modify_gid failed, just delete the old gid */
213 gid = &zgid;
218 memcpy(&table->data_vec[ix].gid, gid, sizeof(*gid));
236 const union ib_gid *gid,
239 return write_gid(ib_dev, port, table, ix, gid, att
234 add_gid(struct ib_device *ib_dev, u8 port, struct ib_gid_table *table, int ix, const union ib_gid *gid, const struct ib_gid_attr *attr, bool default_gid) argument
243 modify_gid(struct ib_device *ib_dev, u8 port, struct ib_gid_table *table, int ix, const union ib_gid *gid, const struct ib_gid_attr *attr, bool default_gid) argument
260 find_gid(struct ib_gid_table *table, const union ib_gid *gid, const struct ib_gid_attr *val, bool default_gid, unsigned long mask, int *pempty) argument
327 make_default_gid(struct net_device *dev, union ib_gid *gid) argument
333 ib_cache_gid_add(struct ib_device *ib_dev, u8 port, union ib_gid *gid, struct ib_gid_attr *attr) argument
371 ib_cache_gid_del(struct ib_device *ib_dev, u8 port, union ib_gid *gid, struct ib_gid_attr *attr) argument
430 __ib_cache_gid_get(struct ib_device *ib_dev, u8 port, int index, union ib_gid *gid, struct ib_gid_attr *attr) argument
459 _ib_cache_gid_table_find(struct ib_device *ib_dev, const union ib_gid *gid, const struct ib_gid_attr *val, unsigned long mask, u8 *port, u16 *index) argument
489 ib_cache_gid_find(struct ib_device *ib_dev, const union ib_gid *gid, enum ib_gid_type gid_type, struct net_device *ndev, u8 *port, u16 *index) argument
506 ib_find_cached_gid_by_port(struct ib_device *ib_dev, const union ib_gid *gid, enum ib_gid_type gid_type, u8 port, struct net_device *ndev, u16 *index) argument
563 ib_cache_gid_find_by_filter(struct ib_device *ib_dev, const union ib_gid *gid, u8 port, bool (*filter)(const union ib_gid *, const struct ib_gid_attr *, void *), void *context, u16 *index) argument
679 union ib_gid gid; local
876 ib_get_cached_gid(struct ib_device *device, u8 port_num, int index, union ib_gid *gid, struct ib_gid_attr *gid_attr) argument
898 ib_find_cached_gid(struct ib_device *device, const union ib_gid *gid, enum ib_gid_type gid_type, struct net_device *ndev, u8 *port_num, u16 *index) argument
909 ib_find_gid_by_filter(struct ib_device *device, const union ib_gid *gid, u8 port_num, bool (*filter)(const union ib_gid *gid, const struct ib_gid_attr *, void *), void *context, u16 *index) argument
[all...]
H A Dib_roce_gid_mgmt.c93 u8 port, union ib_gid *gid, struct net_device *ndev)
108 gid, &gid_attr);
112 gid, &gid_attr);
172 union ib_gid gid; local
246 if (rdma_ip2gid(&entry->ipx_addr.sa[0], &gid) != 0)
253 if (ib_find_cached_gid_by_port(device, &gid, i,
260 update_gid(GID_ADD, device, port, &gid, entry->ndev);
264 for (i = default_gids; ib_get_cached_gid(device, port, i, &gid, &gid_attr) == 0; i++) {
274 if (memcmp(&gid, &zgid, sizeof(zgid)) == 0)
280 rdma_gid2ip(&ipx.sa[0], &gid);
92 update_gid(enum gid_op_type gid_op, struct ib_device *ib_dev, u8 port, union ib_gid *gid, struct net_device *ndev) argument
[all...]
/freebsd-12-stable/contrib/ofed/libibverbs/examples/
H A Ddevinfo.c49 static int null_gid(union ibv_gid *gid) argument
51 return !(gid->raw[8] | gid->raw[9] | gid->raw[10] | gid->raw[11] |
52 gid->raw[12] | gid->raw[13] | gid->raw[14] | gid->raw[15]);
166 union ibv_gid gid; local
[all...]
H A Dsrq_pingpong.c80 union ibv_gid gid; member in struct:pingpong_dest
106 if (dest->gid.global.interface_id) {
109 attr.ah_attr.grh.dgid = dest->gid;
160 char gid[33]; local
192 gid_to_wire_gid(&my_dest[i].gid, gid);
194 my_dest[i].qpn, my_dest[i].psn, gid);
219 &rem_dest[i].psn, gid);
220 wire_gid_to_gid(gid, &rem_dest[i].gid);
251 char gid[33]; local
647 char gid[33]; local
[all...]
/freebsd-12-stable/contrib/opie/
H A Dpermsfile.c81 static VOIDRET doaline FUNCTION((line, name, ttyn, uid, gid), char *line AND char *name AND char *ttyn AND uid_t uid AND gid_t gid) argument
137 syslog(LOG_DEBUG, "setting %s to %d/%d %o", *globlist, uid, gid, applies);
139 if ((chown(*globlist, uid, gid) < 0) && (errno != ENOENT))
147 VOIDRET permsfile FUNCTION((name, ttyn, uid, gid), char *name AND char *ttyn AND uid_t uid AND gid_t gid) argument
163 doaline(buf, name, ttyn, uid, gid);
/freebsd-12-stable/usr.bin/login/
H A Dlogin_audit.c70 gid_t gid = pwd->pw_gid; local
98 if ((tok = au_to_subject32(uid, geteuid(), getegid(), uid, gid, pid,
122 gid_t gid; local
148 gid = pwd->pw_gid;
150 gid, pid, pid, &tid)) == NULL)
178 gid_t gid = pwd->pw_gid; local
195 if ((tok = au_to_subject32(uid, geteuid(), getegid(), uid, gid, pid,
/freebsd-12-stable/crypto/heimdal/kcm/
H A Dclient.c121 ccache->gid != client->gid) && !CLIENT_IS_ROOT(client))
137 ccache->gid = client->gid;
160 * default gid.
170 gid_t gid = pwd->pw_gid; local
171 kcm_chown(context, client, ccache, uid, gid);
/freebsd-12-stable/crypto/openssh/
H A Dsshpty.c168 gid_t gid; local
174 gid = (grp != NULL) ? grp->gr_gid : pw->pw_gid;
190 if (st.st_uid != pw->pw_uid || st.st_gid != gid) {
191 if (chown(tty, pw->pw_uid, gid) < 0) {
195 tty, (u_int)pw->pw_uid, (u_int)gid,
199 tty, (u_int)pw->pw_uid, (u_int)gid,
/freebsd-12-stable/contrib/netbsd-tests/usr.bin/id/
H A Dpwgr.c87 getgrgid(gid_t gid) argument
92 if (gid == 0) {
95 } else if (gid == 100) {
/freebsd-12-stable/contrib/llvm-project/lldb/bindings/interface/
H A DSBAttachInfo.i79 SetGroupID (uint32_t gid);
97 SetEffectiveGroupID (uint32_t gid);
/freebsd-12-stable/contrib/ofed/infiniband-diags/src/
H A Dibaddr.c59 ibmad_gid_t gid; local
74 mad_encode_field(gid, IB_GID_PREFIX_F, &prefix);
75 mad_encode_field(gid, IB_GID_GUID_F, &guid);
78 printf("GID %s ", inet_ntop(AF_INET6, gid, gid_str,
120 {"gid_show", 'g', 0, NULL, "show gid address only"},
128 "32\t\t# show lid range and gid of lid 32",
132 "-g 32\t\t# show gid address only",
/freebsd-12-stable/contrib/apr/user/unix/
H A Duserinfo.c92 apr_gid_t *gid,
96 *gid = getgid();
104 APR_DECLARE(apr_status_t) apr_uid_get(apr_uid_t *uid, apr_gid_t *gid,
115 *gid = pw.pw_gid;
/freebsd-12-stable/contrib/libarchive/libarchive/test/
H A Dtest_read_format_lha.c144 int uid, gid; local
147 uid = gid = 1001;
149 uid = gid = 0;
167 assertEqualInt(gid, archive_entry_gid(ae));
181 assertEqualInt(gid, archive_entry_gid(ae));
197 assertEqualInt(gid, archive_entry_gid(ae));
209 assertEqualInt(gid, archive_entry_gid(ae));
221 assertEqualInt(gid, archive_entry_gid(ae));
237 assertEqualInt(gid, archive_entry_gid(ae));
/freebsd-12-stable/contrib/libc-pwcache/
H A Dpwcache.c113 * routines that control user, group, uid and gid caches (for the archive
138 static GIDC **gidtb; /* gid to name cache */
140 static GIDC **grptb; /* group name to gid cache */
325 * caches the name (if any) for the gid. If noname clear, we always
332 group_from_gid(gid_t gid, int noname) argument
341 * see if we have this gid cached
343 pptr = gidtb + (gid % GID_SZ);
346 if ((ptr != NULL) && (ptr->valid > 0) && (ptr->gid == gid)) {
348 * have an entry for this gid
463 gid_from_group(const char *name, gid_t *gid) argument
[all...]
/freebsd-12-stable/sys/kern/
H A Dsysv_ipc.c97 } else if (groupmember(perm->gid, cred) ||
163 new->gid = old->gid;
177 old->gid = new->gid;
203 CP(*ip32, *ip, gid);
216 CP(*ip, *ip32, gid);
230 CP(*ip32, *ip, gid);
243 CP(*ip, *ip32, gid);
/freebsd-12-stable/sbin/mknod/
H A Dmknod.c105 if (*s == '\0') /* Argument was "[:.]gid". */
115 gid_t gid; local
152 uid = gid = -1;
157 gid = a_gid(cp);
166 if (chown(argv[1], uid, gid))
/freebsd-12-stable/usr.sbin/gstat/
H A Dgstat.c90 struct gident *gid; local
314 gid = geom_lookupid(&gmp, gsp->id);
315 if (gid == NULL) {
320 gid = geom_lookupid(&gmp, gsp->id);
322 if (gid == NULL)
324 if (gid->lg_what == ISCONSUMER && !flag_c)
326 if (flag_p && gid->lg_what == ISPROVIDER &&
328 (gid->lg_ptr))->lg_geom->lg_rank != 1)
336 if ((gid->lg_what == ISPROVIDER
337 || gid
[all...]
/freebsd-12-stable/contrib/pjdfstest/tests/rename/
H A D09.t39 expect ${inode},65534,65534 lstat ${n1}/${n3} inode,uid,gid
57 expect ${inode},${id},${id} lstat ${n1}/${n3} inode,uid,gid
76 expect ${inode},65534,65534 lstat ${n1}/${n3} inode,uid,gid
94 expect ${inode},${id},${id} lstat ${n0}/${n2} inode,uid,gid
96 expect 65534,65534 lstat ${n1}/${n3} uid,gid
112 expect ${inode},65534,65534 lstat ${n1}/${n3} inode,uid,gid
118 expect ${inode},65534,65534 lstat ${n1}/${n3} inode,uid,gid
131 expect ${inode},${id},${id} lstat ${n0}/${n2} inode,uid,gid
136 expect ${inode},${id},${id} lstat ${n0}/${n3} inode,uid,gid
141 expect ${inode},${id},${id} lstat ${n0}/${n2} inode,uid,gid
[all...]
/freebsd-12-stable/tools/regression/priv/
H A Dmain.c387 setup_dir(const char *test, char *dpathp, uid_t uid, gid_t gid, mode_t mode) argument
394 if (chown(dpathp, uid, gid) < 0)
396 gid);
403 setup_file(const char *test, char *fpathp, uid_t uid, gid_t gid, mode_t mode) argument
412 if (fchown(fd, uid, gid) < 0)
414 gid);
423 * Irrevocably set credentials to specific uid and gid.
426 set_creds(const char *test, uid_t uid, gid_t gid) argument
428 gid_t gids[1] = { gid };
430 if (setgid(gid) <
[all...]
/freebsd-12-stable/usr.bin/id/
H A Did.c272 gid_t gid, egid, lastgid; local
281 gid = pw->pw_gid;
285 gid = getgid();
294 getgrouplist(pw->pw_name, gid, groups, &ngroups);
304 printf(" gid=%u", gid);
305 if ((gr = getgrgid(gid)))
312 if (p_egid && (egid = getegid()) != gid) {
319 if (lastgid == (gid = groups[cnt]))
321 printf(fmt, gid);
[all...]
/freebsd-12-stable/contrib/llvm-project/lldb/include/lldb/API/
H A DSBAttachInfo.h132 void SetGroupID(uint32_t gid);
144 void SetEffectiveGroupID(uint32_t gid);
/freebsd-12-stable/contrib/subversion/subversion/libsvn_subr/
H A Duser.c40 apr_gid_t gid; local
42 if (apr_uid_current(&uid, &gid, pool) == APR_SUCCESS &&
/freebsd-12-stable/bin/pax/
H A Dtar.h95 char gid[8]; /* gid */ member in struct:__anon10
134 char gid[8]; /* gid */ member in struct:__anon11
/freebsd-12-stable/cddl/usr.sbin/dtrace/tests/common/scripting/
H A DMakefile26 tst.gid.d \
27 tst.gid.ksh \

Completed in 286 milliseconds

1234567891011>>