Home
last modified time | relevance | path

Searched refs:grp (Results 1 – 25 of 123) sorted by relevance

12345

/illumos-gate/usr/src/uts/common/io/aggr/
H A Daggr_send.c68 grp->lg_tx_policy = policy; in aggr_send_update_policy()
82 aggr_grp_t *grp = arg; in aggr_find_tx_ring() local
97 port = grp->lg_tx_ports[hash % grp->lg_ntx_ports]; in aggr_find_tx_ring()
117 rw_exit(&grp->lg_tx_lock); in aggr_find_tx_ring()
154 grp->lg_tx_blocked_rings[grp->lg_tx_blocked_cnt]; in aggr_tx_notify_thread()
213 grp->lg_tx_blocked_rings[grp->lg_tx_blocked_cnt] = pseudo_mrh; in aggr_tx_ring_update()
214 grp->lg_tx_blocked_cnt++; in aggr_tx_ring_update()
251 if (grp->lg_tx_ports_size < grp->lg_ntx_ports+1) { in aggr_send_port_enable()
272 grp->lg_tx_ports[grp->lg_ntx_ports++] = port; in aggr_send_port_enable()
300 ntx = grp->lg_ntx_ports; in aggr_send_port_disable()
[all …]
H A Daggr_grp.c207 bzero(grp, sizeof (*grp)); in aggr_grp_constructor()
610 if (grp->lg_nports > grp->lg_nports_high) in aggr_grp_add_port()
611 grp->lg_nports_high = grp->lg_nports; in aggr_grp_add_port()
1570 grp->lg_mac_addr_port = grp->lg_ports; in aggr_grp_create()
1840 grp->lg_mac_addr_port = grp->lg_ports; in aggr_grp_rem_port()
2173 (grp->lg_key > AGGR_MAX_KEY) ? 0 : grp->lg_key, grp->lg_addr, in aggr_grp_info()
2174 grp->lg_addr_fixed, grp->lg_force, grp->lg_tx_policy, in aggr_grp_info()
2175 grp->lg_nports, grp->lg_lacp_mode, grp->aggr.PeriodicTimer); in aggr_grp_info()
3089 grp->lg_vlan) != grp->lg_vlan) { in aggr_grp_capab_check()
3094 grp->lg_zcopy) != grp->lg_zcopy) { in aggr_grp_capab_check()
[all …]
H A Daggr_port.c348 ASSERT(MAC_PERIM_HELD(grp->lg_mh)); in aggr_port_notify_link()
378 mutex_enter(&grp->lg_stat_lock); in aggr_port_notify_link()
385 mutex_exit(&grp->lg_stat_lock); in aggr_port_notify_link()
414 ASSERT(MAC_PERIM_HELD(grp->lg_mh)); in aggr_port_notify_unicst()
458 aggr_grp_t *grp = port->lp_grp; in aggr_port_notify_cb() local
476 mac_tx_update(grp->lg_mh); in aggr_port_notify_cb()
480 mac_link_update(grp->lg_mh, grp->lg_link_state); in aggr_port_notify_cb()
486 mac_unicst_update(grp->lg_mh, grp->lg_addr); in aggr_port_notify_cb()
488 mac_link_update(grp->lg_mh, grp->lg_link_state); in aggr_port_notify_cb()
552 aggr_grp_t *grp = port->lp_grp; in aggr_port_unicst() local
[all …]
H A Daggr_ctl.c151 laioc_info_group_t grp; in aggr_ioc_info_new_grp() local
156 grp.lg_linkid = linkid; in aggr_ioc_info_new_grp()
157 grp.lg_key = key; in aggr_ioc_info_new_grp()
159 grp.lg_mac_fixed = mac_fixed; in aggr_ioc_info_new_grp()
160 grp.lg_force = force; in aggr_ioc_info_new_grp()
161 grp.lg_policy = policy; in aggr_ioc_info_new_grp()
162 grp.lg_nports = nports; in aggr_ioc_info_new_grp()
163 grp.lg_lacp_mode = lacp_mode; in aggr_ioc_info_new_grp()
164 grp.lg_lacp_timer = lacp_timer; in aggr_ioc_info_new_grp()
166 if (ddi_copyout(&grp, state->where, sizeof (grp), state->mode) != 0) in aggr_ioc_info_new_grp()
[all …]
H A Daggr_recv.c58 aggr_grp_t *grp = port->lp_grp; in aggr_recv_lacp() local
61 if (grp->lg_promisc) { in aggr_recv_lacp()
65 aggr_mac_rx(grp->lg_mh, mrh, nmp); in aggr_recv_lacp()
81 aggr_grp_t *grp = port->lp_grp; in aggr_recv_path_cb() local
83 if (grp->lg_lacp_mode == AGGR_LACP_OFF) { in aggr_recv_path_cb()
84 aggr_mac_rx(grp->lg_mh, mrh, mp); in aggr_recv_path_cb()
106 aggr_mac_rx(grp->lg_mh, mrh, in aggr_recv_path_cb()
141 aggr_mac_rx(grp->lg_mh, mrh, in aggr_recv_path_cb()
160 aggr_mac_rx(grp->lg_mh, mrh, head); in aggr_recv_path_cb()
H A Daggr_lacp.c245 ASSERT((grp->lg_mh == NULL) || MAC_PERIM_HELD(grp->lg_mh)); in lacp_port_unselect()
991 ASSERT(!grp->lg_closing); in aggr_lacp_update_mode()
996 grp->lg_lacp_mode = mode; in aggr_lacp_update_mode()
1057 mode = grp->lg_lacp_mode; in aggr_port_lacp_set_mode()
1088 grp->lg_lacp_mode = mode; in aggr_lacp_set_mode()
2249 if (grp->lg_lacp_done) { in aggr_lacp_rx_enqueue()
2256 grp->lg_lacp_head = grp->lg_lacp_tail = dmp; in aggr_lacp_rx_enqueue()
2259 grp->lg_lacp_tail = dmp; in aggr_lacp_rx_enqueue()
2340 cv_wait(&grp->lg_lacp_cv, &grp->lg_lacp_lock); in aggr_lacp_rx_thread()
2345 grp->lg_lacp_head = grp->lg_lacp_tail = NULL; in aggr_lacp_rx_thread()
[all …]
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_bcast.c331 for (grp = *last_grp; grp != NULL; in mac_bcast_add()
332 last_grp = &grp->mbg_next, grp = grp->mbg_next) { in mac_bcast_add()
351 grp); in mac_bcast_add()
376 grp, FLOW_MCAST, &grp->mbg_flow_ent); in mac_bcast_add()
382 grp->mbg_flow_ent->fe_mbg = grp; in mac_bcast_add()
409 grp->mbg_flow_ent->fe_cb_arg1 = grp; in mac_bcast_add()
454 kmem_free(grp->mbg_clients, grp->mbg_nclients * in mac_bcast_add()
512 for (grp = mip->mi_bcast_grp; grp != NULL; prev = &grp->mbg_next, in mac_bcast_delete()
513 grp = grp->mbg_next) { in mac_bcast_delete()
628 for (grp = mip->mi_mcast_addrs; grp != NULL; grp = next) { in mac_bcast_refresh()
[all …]
/illumos-gate/usr/src/cmd/mdb/intel/modules/genunix/
H A Dgcore_isadep.c58 grp[REG_RDI] = rp->r_rdi; in gcore_getgregs()
59 grp[REG_RSI] = rp->r_rsi; in gcore_getgregs()
60 grp[REG_RDX] = rp->r_rdx; in gcore_getgregs()
62 grp[REG_R8] = rp->r_r8; in gcore_getgregs()
63 grp[REG_R9] = rp->r_r9; in gcore_getgregs()
81 grp[REG_DS] = rp->r_ds; in gcore_getgregs()
82 grp[REG_ES] = rp->r_es; in gcore_getgregs()
83 grp[REG_FS] = rp->r_fs; in gcore_getgregs()
84 grp[REG_GS] = rp->r_gs; in gcore_getgregs()
89 grp[REG_CS] = rp->r_cs; in gcore_getgregs()
[all …]
/illumos-gate/usr/src/uts/intel/os/
H A Darchdep.c403 grp[REG_R8] = rp->r_r8; in getgregs()
404 grp[REG_R9] = rp->r_r9; in getgregs()
424 grp[REG_DS] = rp->r_ds; in getgregs()
425 grp[REG_ES] = rp->r_es; in getgregs()
426 grp[REG_FS] = rp->r_fs; in getgregs()
427 grp[REG_GS] = rp->r_gs; in getgregs()
434 grp[REG_CS] = rp->r_cs; in getgregs()
435 grp[REG_SS] = rp->r_ss; in getgregs()
467 grp[ESP] = 0; in getgregs32()
651 rp->r_r8 = grp[REG_R8]; in setgregs()
[all …]
/illumos-gate/usr/src/cmd/getent/
H A Ddogetgr.c40 if (grp == NULL) { in putgrent()
45 grp->gr_name != NULL ? grp->gr_name : "", in putgrent()
46 grp->gr_passwd != NULL ? grp->gr_passwd : "", in putgrent()
47 grp->gr_gid) == EOF) in putgrent()
50 mem = grp ->gr_mem; in putgrent()
69 struct group *grp; in dogetgr() local
75 while ((grp = getgrent()) != NULL) in dogetgr()
76 (void) putgrent(grp, stdout); in dogetgr()
93 grp = getgrnam(*list); in dogetgr()
95 if (grp == NULL) in dogetgr()
[all …]
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dipmp.c45 #define IPMP_GRP_TO_IPST(grp) PHYINT_TO_IPST((grp)->gr_phyint) argument
136 (void) strlcpy(grp->gr_name, grname, sizeof (grp->gr_name)); in ipmp_grp_create()
163 return (grp); in ipmp_grp_create()
268 bzero(grp->gr_kstats0, sizeof (grp->gr_kstats0)); in ipmp_grp_destroy_kstats()
285 return (grp); in ipmp_grp_lookup()
303 lifgr->gi_nv4 = grp->gr_nv4 + grp->gr_pendv4; in ipmp_grp_info()
304 lifgr->gi_nv6 = grp->gr_nv6 + grp->gr_pendv6; in ipmp_grp_info()
1066 ASSERT(grp->gr_v6 == NULL || grp->gr_v6 == illg); in ipmp_illgrp_link_grp()
1069 ASSERT(grp->gr_v4 == NULL || grp->gr_v4 == illg); in ipmp_illgrp_link_grp()
1087 if (grp->gr_nv6 + grp->gr_pendv6 != 0) in ipmp_illgrp_unlink_grp()
[all …]
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarf_groups.c126 if (!grp->gd_map) { in _dwarf_insert_in_group_map()
129 dwarf_initialize_search_hash(&grp->gd_map, in _dwarf_insert_in_group_map()
131 if (!grp->gd_map) { in _dwarf_insert_in_group_map()
154 ++grp->gd_map_entry_count; in _dwarf_insert_in_group_map()
171 if (!grp->gd_map) { in _dwarf_section_get_target_group_from_map()
274 struct Dwarf_Group_Data_s *grp = 0; in dwarf_sec_group_map() local
281 grp = &dbg->de_groupnumbers; in dwarf_sec_group_map()
291 dwarf_twalk(grp->gd_map,grp_walk_map); in dwarf_sec_group_map()
376 struct Dwarf_Group_Data_s *grp = 0; in _dwarf_section_in_group_by_name() local
378 grp = &dbg->de_groupnumbers; in _dwarf_section_in_group_by_name()
[all …]
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_lgrp.c277 smb_group_t grp; in smb_lgrp_add() local
288 bzero(&grp, sizeof (grp)); in smb_lgrp_add()
373 smb_group_t grp; in smb_lgrp_rename() local
460 smb_group_t grp; in smb_lgrp_setcmnt() local
491 smb_group_t grp; in smb_lgrp_getcmnt() local
565 smb_group_t grp; in smb_lgrp_getpriv() local
719 grp = &tmpgrp; in smb_lgrp_getbyrid()
780 if (grp == NULL) in smb_lgrp_free()
952 if (grp == NULL || grp->sg_members == NULL || sid == NULL) in smb_lgrp_is_member()
1499 grp->sg_name, dom_idx, grp->sg_rid, grp->sg_id.gs_type, in smb_lgrp_gtbl_insert()
[all …]
/illumos-gate/usr/src/test/smbclient-tests/tests/smbmount/
H A Dtp_smbmount_016.ksh66 grp=$(ls -ld $TMNT|awk '{ print $4}')
67 if [[ $grp != "$tc_gid" ]]; then
68 cti_fail "FAIL: ls -ld, expected $tc_gid, got $grp"
74 grp=$(cd $TMNT; ls -l a|awk '{ print $4}')
75 if [[ $grp != "$tc_gid" ]]; then
76 cti_fail "FAIL: touch a, expected $tc_gid usr, got $grp"
83 grp=$(cd $TMNT; ls -ld b|awk '{ print $4}')
84 if [[ $grp != "$tc_gid" ]]; then
85 cti_fail "FAIL: mkdir b, expected $tc_gid usr, got $grp"
/illumos-gate/usr/src/lib/libpkg/common/
H A Dncgrpw.c116 struct group *grp; in cgrnam() local
141 if (dup_gr_ent(grp)) in cgrnam()
176 return (grp); in cgrnam()
276 struct group *grp; in cgrgid() local
298 if (dup_gr_ent(grp)) in cgrgid()
332 return (grp); in cgrgid()
413 dup_gr_ent(struct group *grp) in dup_gr_ent() argument
419 if (grp) { in dup_gr_ent()
425 } else if ((grp->gr_name = strdup(grp->gr_name)) == NULL) { in dup_gr_ent()
435 } else if ((grp->gr_passwd = strdup(grp->gr_passwd)) == NULL) { in dup_gr_ent()
[all …]
/illumos-gate/usr/src/lib/libcmdutils/common/
H A Dgid.c51 struct group *grp; in findnextgid() local
55 for (grp = getgrent(); grp != NULL; grp = getgrent()) { in findnextgid()
56 if (isreservedgid(grp->gr_gid)) /* Skip reserved IDs */ in findnextgid()
58 if (grp->gr_gid >= gid) { in findnextgid()
59 if (grp->gr_gid == stop) { /* Overflow check */ in findnextgid()
63 gid = grp->gr_gid + 1; in findnextgid()
66 if (grp == NULL && errno != 0) { in findnextgid()
/illumos-gate/usr/src/lib/fm/libfmd_log/common/
H A Dfmd_log.c107 ea_object_t *grp, *obj; in fmd_log_load_record() local
122 ea_free_object(grp, EUP_ALLOC); in fmd_log_load_record()
127 rp->rec_grp = grp; in fmd_log_load_record()
325 ea_object_t *grp, *obj; in fmd_log_load_xrefs() local
351 for (grp = rgrp->eo_group.eg_objs; grp != NULL; grp = grp->eo_next) { in fmd_log_load_xrefs()
380 ea_object_t *grp, *obj; in fmd_log_open() local
420 ea_free_object(grp, EUP_ALLOC); in fmd_log_open()
471 ea_free_object(grp, EUP_ALLOC); in fmd_log_open()
485 ea_free_object(grp, EUP_ALLOC); in fmd_log_open()
489 ea_free_object(grp, EUP_ALLOC); in fmd_log_open()
[all …]
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Ddirectory_provider_nsswitch.c83 struct group *grp = NULL; in directory_provider_nsswitch_get() local
149 if (grp == NULL) { in directory_provider_nsswitch_get()
208 grp = getgrnam(name); in directory_provider_nsswitch_get()
209 if (grp == NULL && errno != 0) { in directory_provider_nsswitch_get()
227 if (pwd == NULL && grp == NULL) in directory_provider_nsswitch_get()
251 struct group *grp, in directory_provider_nsswitch_populate() argument
262 if (pwd != NULL && grp != NULL) { in directory_provider_nsswitch_populate()
360 } else if (grp != NULL) { in directory_provider_nsswitch_populate()
365 const char *p = grp->gr_name; in directory_provider_nsswitch_populate()
378 grp->gr_gid + LOCALRID_GID_MIN); in directory_provider_nsswitch_populate()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Did.c197 register struct group* grp; in getids() local
289 gname = (grp = getgrgid(group)) ? grp->gr_name : (char*)0; in getids()
308 while (grp = getgrent()) in getids()
309 if (p = grp->gr_mem) in getids()
318 sfprintf(sp, "%s", grp->gr_name); in getids()
319 else sfprintf(sp, "%u(%s)", grp->gr_gid, grp->gr_name); in getids()
334 putid(sp, flags, " egid", (grp = getgrgid(egid)) ? grp->gr_name : (char*)0, egid); in getids()
343 if (grp = getgrgid(group)) in getids()
378 while (grp = getgrent()) in getids()
379 if (p = grp->gr_mem) in getids()
[all …]
/illumos-gate/usr/src/uts/sparc/v9/os/
H A Dv9dep.c356 rp->r_y = grp[REG_Y]; in setgregs()
358 rp->r_g1 = grp[REG_G1]; in setgregs()
359 rp->r_g2 = grp[REG_G2]; in setgregs()
360 rp->r_g3 = grp[REG_G3]; in setgregs()
361 rp->r_g4 = grp[REG_G4]; in setgregs()
362 rp->r_g5 = grp[REG_G5]; in setgregs()
363 rp->r_g6 = grp[REG_G6]; in setgregs()
364 rp->r_g7 = grp[REG_G7]; in setgregs()
425 grp[REG_FPRS] = fprs; in getgregs()
445 grp[REG_Y] = rp->r_y; in getgregs32()
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dutil.c65 struct group *grp; in make_group_list() local
87 while ((grp = (*this->next)(this)) != NULL) { in make_group_list()
88 if ((gid_t)grp->gr_gid == basegid) in make_group_list()
90 for (i = 0; grp->gr_mem[i]; i++) { in make_group_list()
91 if (!strcmp(grp->gr_mem[i], name)) { in make_group_list()
94 groups[ng++] = grp->gr_gid; in make_group_list()
/illumos-gate/usr/src/cmd/oamuser/lib/
H A Dvgroup.c59 struct group *grp; in valid_group() local
75 if ((r = valid_gid((gid_t)l, &grp)) == NOTUNIQUE) { in valid_group()
78 *gptr = grp; in valid_group()
86 if (valid_gname(group, &grp, &warn) == NOTUNIQUE) { in valid_group()
90 *gptr = grp; in valid_group()
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/lib/snmp/
H A Dsnmplib.c321 oidgroup_t *grp; in snmp_get_int() local
350 fetch_bulk(smd, grp->oidstrs, grp->n_oids, row, grp->is_volatile, &err); in snmp_get_int()
375 oidgroup_t *grp; in snmp_get_str() local
410 fetch_bulk(smd, grp->oidstrs, grp->n_oids, row, grp->is_volatile, &err); in snmp_get_str()
439 oidgroup_t *grp; in snmp_get_bitstr() local
475 fetch_bulk(smd, grp->oidstrs, grp->n_oids, row, grp->is_volatile, &err); in snmp_get_bitstr()
760 oidgroup_t *grp; in locate_oid_group() local
768 for (grp = smd->group; grp; grp = grp->next) { in locate_oid_group()
769 if (search_oid_in_group(prefix, grp->oidstrs, in locate_oid_group()
770 grp->n_oids) == 0) { in locate_oid_group()
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dgroup.h58 #define GROUP_SIZE(grp) ((grp)->grp_size) argument
63 #define GROUP_ACCESS(grp, index) ((grp)->grp_set[index]) argument
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_log.c223 ea_object_t *grp, *obj; in fmd_log_check_hdr() local
240 ea_free_object(grp, EUP_ALLOC); in fmd_log_check_hdr()
268 ea_free_object(grp, EUP_ALLOC); in fmd_log_check_hdr()
280 ea_free_object(grp, EUP_ALLOC); in fmd_log_check_hdr()
294 ea_free_object(grp, EUP_ALLOC); in fmd_log_check_hdr()
308 grp->eo_catalog != CAT_FMA_GROUP || grp->eo_group.eg_nobjs < 1 || in fmd_log_check_hdr()
310 ea_free_object(grp, EUP_ALLOC); in fmd_log_check_hdr()
326 ea_free_object(grp, EUP_ALLOC); in fmd_log_check_hdr()
852 ea_object_t obj, *grp; in fmd_log_replay() local
920 if (grp->eo_catalog == c && in fmd_log_replay()
[all …]

12345