/freebsd-11-stable/lib/libcasper/services/cap_grp/ |
H A D | cap_grp.h | 39 int cap_getgrent_r(cap_channel_t *chan, struct group *grp, char *buffer, 41 int cap_getgrnam_r(cap_channel_t *chan, const char *name, struct group *grp, 43 int cap_getgrgid_r(cap_channel_t *chan, gid_t gid, struct group *grp,
|
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | sysfs.h | 180 sysfs_create_group(struct kobject *kobj, const struct attribute_group *grp) argument 185 /* Don't create the group node if grp->name is undefined. */ 186 if (grp->name) 188 OID_AUTO, grp->name, CTLFLAG_RD|CTLFLAG_MPSAFE, NULL, grp->name); 191 for (attr = grp->attrs; *attr != NULL; attr++) { 201 sysfs_remove_group(struct kobject *kobj, const struct attribute_group *grp) argument 205 sysctl_remove_name(kobj->oidp, grp->name, 1, 1); 236 sysfs_merge_group(struct kobject *kobj, const struct attribute_group *grp) argument 240 return (sysfs_create_group(kobj, grp)); 244 sysfs_unmerge_group(struct kobject *kobj, const struct attribute_group *grp) argument [all...] |
/freebsd-11-stable/contrib/wpa/src/eap_server/ |
H A D | eap_server_pwd.c | 35 EAP_PWD_group *grp; member in struct:eap_pwd_data 157 if (data->grp) { 158 crypto_ec_deinit(data->grp->group); 159 crypto_ec_point_deinit(data->grp->pwe, 1); 160 os_free(data->grp); 250 prime_len = crypto_ec_prime_len(data->grp->group); 251 order_len = crypto_ec_order_len(data->grp->group); 254 data->my_element = crypto_ec_point_init(data->grp->group); 264 if (eap_pwd_get_rand_mask(data->grp, data->private_value, mask, 268 if (crypto_ec_point_mul(data->grp 316 u16 grp; local 749 u16 grp; local [all...] |
/freebsd-11-stable/sys/contrib/octeon-sdk/ |
H A D | cvmx-wqe.h | 496 uint64_t grp:6; member in struct:__anon8825::__anon8827 516 uint64_t grp:4; member in struct:__anon8825::__anon8828 600 int grp; local 603 grp = work->word1.cn68xx.grp; 605 grp = work->word1.cn38xx.grp; 607 return grp; 610 static inline void cvmx_wqe_set_grp(cvmx_wqe_t *work, int grp) argument 613 work->word1.cn68xx.grp [all...] |
H A D | cvmx-pow.h | 123 - fields used: address, op, grp, type, tag */ 126 - fields used: op, no_sched, grp, type, tag */ 130 - fields used: address, op, qos, grp, type, tag */ 131 CVMX_POW_TAG_OP_UPDATE_WQP_GRP = 5L,/**< just update the work queue pointer and grp for this PP 132 - fields used: address, op, grp */ 171 uint64_t grp : 4; /**< the group that the work queue entry will be scheduled to grp is used for CVMX_POW_TAG_OP_ADDWQ, CVMX_POW_TAG_OP_SWTAG_FULL, CVMX_POW_TAG_OP_SWTAG_DESCH, and CVMX_POW_TAG_OP_UPDATE_WQP_GRP */ member in struct:__anon8686::__anon8687 177 uint64_t grp : 4; 193 uint64_t grp : 6; /**< the group that the work queue entry will be scheduled to grp i member in struct:__anon8686::__anon8688 216 uint64_t grp : 6; /**< the group that the work queue entry will be scheduled to grp is used for CVMX_POW_TAG_OP_ADDWQ, CVMX_POW_TAG_OP_SWTAG_FULL, CVMX_POW_TAG_OP_SWTAG_DESCH, and CVMX_POW_TAG_OP_UPDATE_WQP_GRP */ member in struct:__anon8686::__anon8689 237 uint64_t grp : 6; /**< the group that the work queue entry will be scheduled to grp is used for CVMX_POW_TAG_OP_ADDWQ, CVMX_POW_TAG_OP_SWTAG_FULL, CVMX_POW_TAG_OP_SWTAG_DESCH, and CVMX_POW_TAG_OP_UPDATE_WQP_GRP */ member in struct:__anon8686::__anon8690 257 uint8_t grp; member in struct:__anon8691 704 uint64_t grp : 4; /**< The group attached to the core (updated when new tag list entered on SWTAG_FULL). */ member in struct:__anon8701::__anon8707 734 uint64_t grp : 6; /**< The group attached to the core (updated when new tag list entered on member in struct:__anon8701::__anon8708 769 uint64_t grp : 4; /**< The group attached to the core (updated when new tag list entered on SWTAG_FULL). */ member in struct:__anon8701::__anon8709 799 uint64_t grp : 6; /**< The group attached to the core (updated when new tag list entered on member in struct:__anon8701::__anon8710 823 uint64_t grp : 4; /**< The group attached to the core (updated when new tag list entered on SWTAG_FULL). */ member in struct:__anon8701::__anon8711 843 uint64_t grp : 6; /**< The group attached to the core (updated when new tag list entered on member in struct:__anon8701::__anon8712 878 uint64_t grp : 4; /**< The group attached to the core (updated when new tag list entered on SWTAG_FULL). */ member in struct:__anon8701::__anon8713 898 uint64_t grp : 4; /**< The group of the POW entry. */ member in struct:__anon8701::__anon8714 945 uint64_t grp : 4; /**< The group of the POW entry. */ member in struct:__anon8701::__anon8716 964 uint64_t grp : 6; /**< The group of the SSO entry. */ member in struct:__anon8701::__anon8717 985 uint64_t grp : 4; /**< The group of the POW entry. */ member in struct:__anon8701::__anon8718 1246 uint64_t grp : 6; member in struct:__anon8728::__anon8729 1915 cvmx_pow_work_submit(cvmx_wqe_t *wqp, uint32_t tag, cvmx_pow_tag_type_t tag_type, uint64_t qos, uint64_t grp) argument [all...] |
H A D | cvmx-npi.h | 75 uint64_t grp : 4; /**< POW Group */ member in struct:__anon8656::__anon8657 83 uint64_t grp : 4;
|
/freebsd-11-stable/sys/arm/ti/twl/ |
H A D | twl_clks.c | 203 uint8_t grp, state; local 222 err = twl_clks_read_1(sc, clk, TWL_CLKS_GRP, &grp); 224 *enabled = (grp & TWL4030_P1_GRP); 232 err = twl_clks_read_1(sc, clk, TWL_CLKS_GRP, &grp); 238 if (!(grp & TWL6030_P1_GRP)) { 280 uint8_t grp; local 289 err = twl_clks_read_1(sc, clk, TWL_CLKS_GRP, &grp); 299 grp |= TWL4030_P1_GRP; 301 grp &= ~(TWL4030_P1_GRP | TWL4030_P2_GRP | TWL4030_P3_GRP); 303 err = twl_clks_write_1(sc, clk, TWL_CLKS_GRP, grp); [all...] |
H A D | twl_vreg.c | 355 uint8_t grp; local 381 err = twl_vreg_read_1(sc, regulator, TWL_VREG_GRP, &grp); 385 if (!(grp & TWL6030_P1_GRP)) { 429 uint8_t grp; local 441 err = twl_vreg_read_1(sc, regulator, TWL_VREG_GRP, &grp); 448 grp &= ~(TWL4030_P1_GRP | TWL4030_P2_GRP | TWL4030_P3_GRP); 449 err = twl_vreg_write_1(sc, regulator, TWL_VREG_GRP, grp); 455 grp = TWL6030_P1_GRP | TWL6030_P2_GRP | TWL6030_P3_GRP; 457 grp = 0x00; 460 err = twl_vreg_write_1(sc, regulator, TWL_VREG_STATE, (grp << 492 uint8_t grp; local [all...] |
/freebsd-11-stable/contrib/wpa/src/eap_peer/ |
H A D | eap_pwd.c | 37 EAP_PWD_group *grp; member in struct:eap_pwd_data 191 if (data->grp) { 192 crypto_ec_deinit(data->grp->group); 193 crypto_ec_point_deinit(data->grp->pwe, 1); 194 os_free(data->grp); 310 if (data->id_server || data->grp) { 327 data->grp = get_eap_pwd_group(data->group_num); 328 if (data->grp == NULL) { 376 if (!data->grp) { 383 prime_len = crypto_ec_prime_len(data->grp 694 u16 grp; local [all...] |
/freebsd-11-stable/contrib/sendmail/include/sm/ |
H A D | heap.h | 44 # define sm_malloc_tagged(size, file, line, grp) sm_malloc(size) 45 # define sm_malloc_tagged_x(size, file, line, grp) sm_malloc_x(size) 47 # define sm_heap_register(ptr, size, file, line, grp) (true)
|
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/ |
H A D | main.c | 38 #include <grp.h> 182 struct group *grp = getgrnam(group); local 184 if (grp == NULL) { 190 gid = grp->gr_gid; 232 " -g grp specify group\n" \
|
/freebsd-11-stable/usr.sbin/pw/ |
H A D | pwupd.h | 39 #include <grp.h> 131 int addgrent(struct group * grp); 132 int delgrent(struct group * grp); 133 int chggrent(char const * name, struct group * grp);
|
/freebsd-11-stable/usr.sbin/nscd/agents/ |
H A D | group.c | 34 #include <grp.h> 49 group_marshal_func(struct group *grp, char *buffer, size_t *buffer_size) argument 58 if (grp->gr_name != NULL) 59 desired_size += strlen(grp->gr_name) + 1; 60 if (grp->gr_passwd != NULL) 61 desired_size += strlen(grp->gr_passwd) + 1; 63 if (grp->gr_mem != NULL) { 65 for (mem = grp->gr_mem; *mem; ++mem) { 79 memcpy(&new_grp, grp, sizeof(struct group));
|
/freebsd-11-stable/sys/rpc/ |
H A D | svc_generic.c | 90 SVCGROUP *grp; local 101 grp = &pool->sp_groups[g]; 102 mtx_lock(&grp->sg_lock); 103 TAILQ_FOREACH(xprt, &grp->sg_xlist, xp_link) { 107 mtx_unlock(&grp->sg_lock); 115 mtx_lock(&grp->sg_lock); 118 mtx_lock(&grp->sg_lock); 122 mtx_unlock(&grp->sg_lock);
|
/freebsd-11-stable/lib/libc/stdio/ |
H A D | xprintf_int.c | 90 int needgrp, char thousep, const char *grp) 123 * If (*grp == CHAR_MAX) then no more grouping 126 if (needgrp && ndig == *grp && *grp != CHAR_MAX 131 * If (*(grp+1) == '\0') then we have to 132 * use *grp character (last grouping rule) 135 if (*(grp+1) != '\0') 136 grp++; 166 int needgrp, char thousep, const char *grp) 189 * If (*grp 89 __ultoa(u_long val, char *endp, int base, const char *xdigs, int needgrp, char thousep, const char *grp) argument 165 __ujtoa(uintmax_t val, char *endp, int base, const char *xdigs, int needgrp, char thousep, const char *grp) argument [all...] |
/freebsd-11-stable/lib/libcasper/services/cap_grp/tests/ |
H A D | grp_test.c | 38 #include <grp.h> 878 group_fields(const struct group *grp) argument 884 if (grp->gr_name != NULL && grp->gr_name[0] != '\0') 887 if (grp->gr_passwd != NULL && grp->gr_passwd[0] != '\0') 890 if (grp->gr_gid != (gid_t)-1) 893 if (grp->gr_mem != NULL && grp->gr_mem[0] != NULL) 903 struct group *grp; local 1209 struct group *grp; local [all...] |
/freebsd-11-stable/contrib/ntp/sntp/libevent/ |
H A D | bufferevent_ratelim.c | 949 struct bufferevent_rate_limit_group *grp) 952 LOCK_GROUP(grp); 953 r = grp->rate_limit.read_limit; 954 UNLOCK_GROUP(grp); 962 struct bufferevent_rate_limit_group *grp) 965 LOCK_GROUP(grp); 966 r = grp->rate_limit.write_limit; 967 UNLOCK_GROUP(grp); 1029 struct bufferevent_rate_limit_group *grp, ev_ssize_t decr) 1033 LOCK_GROUP(grp); 948 bufferevent_rate_limit_group_get_read_limit( struct bufferevent_rate_limit_group *grp) argument 961 bufferevent_rate_limit_group_get_write_limit( struct bufferevent_rate_limit_group *grp) argument 1028 bufferevent_rate_limit_group_decrement_read( struct bufferevent_rate_limit_group *grp, ev_ssize_t decr) argument 1048 bufferevent_rate_limit_group_decrement_write( struct bufferevent_rate_limit_group *grp, ev_ssize_t decr) argument 1068 bufferevent_rate_limit_group_get_totals(struct bufferevent_rate_limit_group *grp, ev_uint64_t *total_read_out, ev_uint64_t *total_written_out) argument 1079 bufferevent_rate_limit_group_reset_totals(struct bufferevent_rate_limit_group *grp) argument [all...] |
/freebsd-11-stable/lib/libc/rpc/ |
H A D | netnamer.c | 51 #include <grp.h> 151 struct group *grp; local 157 while ((grp = getgrent())) { 158 for (i = 0; grp->gr_mem[i]; i++) 159 if (!strcmp(grp->gr_mem[i], uname)) { 170 if (groups[j] == grp->gr_gid) { 175 groups[ngroups++] = grp->gr_gid;
|
/freebsd-11-stable/usr.bin/showmount/ |
H A D | showmount.c | 115 register struct grouplist *grp; local 205 grp = exp->ex_groups; 206 if (grp == NULL) { 209 while (grp) { 210 printf("%s ", grp->gr_name); 211 grp = grp->gr_next;
|
/freebsd-11-stable/usr.bin/wall/ |
H A D | wall.c | 55 #include <grp.h> 103 struct group *grp; local 134 grp = getgrnam(g->name); 135 if (grp != NULL) 136 g->gid = grp->gr_gid; 161 else if ((grp = getgrgid(g->gid)) != NULL) { 162 for (np = grp->gr_mem; *np; np++) {
|
/freebsd-11-stable/contrib/netbsd-tests/fs/tmpfs/ |
H A D | t_setattr.sh | 75 atf_check -s eq:0 -o empty -e empty mkdir grp 76 eval $(stat -s grp | sed -e 's|st_|ost_|g') 77 atf_check -s eq:0 -o empty -e empty chgrp 5678 grp 78 eval $(stat -s grp)
|
/freebsd-11-stable/lib/libutil/ |
H A D | login_ok.c | 135 char *grp; local 139 grp = te ? te->ty_group : NULL; 142 if (ttl != NULL && !login_str2inlist(ttl, tty, grp, 0)) 147 if (ttl != NULL && login_str2inlist(ttl, tty, grp, 0))
|
/freebsd-11-stable/sbin/mksnap_ffs/ |
H A D | mksnap_ffs.c | 47 #include <grp.h> 96 struct group *grp; local 158 if ((grp = getgrnam("operator")) == NULL) 182 if (fchown(fd, -1, grp->gr_gid) != 0)
|
/freebsd-11-stable/contrib/openpam/lib/libpam/ |
H A D | openpam_restore_cred.c | 44 #include <grp.h>
|
/freebsd-11-stable/contrib/binutils/binutils/ |
H A D | mclex.c | 209 mc_add_keyword_ascii (const char *sz, int rid, const char *grp, rc_uint_type nv, const char *sv) argument 217 mc_add_keyword (usz, rid, grp, nv, usv); 221 mc_add_keyword (unichar *usz, int rid, const char *grp, rc_uint_type nv, unichar *sv) argument 240 if (! strcmp (grp, "keyword") || strcmp (c->group_name, grp) != 0) 245 if (! strcmp (grp, "language")) 261 n->group_name = grp; 266 if (! strcmp (grp, "language"))
|