Home
last modified time | relevance | path

Searched refs:pg (Results 1 – 25 of 154) sorted by relevance

1234567

/illumos-gate/usr/src/uts/common/os/
H A Dpghw.c333 pghw_t *pg; in pghw_find_pg() local
338 return (pg); in pghw_find_pg()
352 pghw_t *pg; in pghw_find_by_instance() local
361 return (pg); in pghw_find_by_instance()
524 pg->pghw_kstat->ks_private = pg; in pghw_kstat_create()
542 pg->pghw_cu_kstat->ks_private = pg; in pghw_kstat_create()
599 if (pg->pghw_kstat_gen != pg->pghw_generation) { in pghw_cu_kstat_update()
611 pg->pghw_kstat_gen = pg->pghw_generation; in pghw_cu_kstat_update()
624 pg->pghw_cpulist, pg->pghw_cpulist_len, cpu2id); in pghw_cu_kstat_update()
683 pg->pghw_kstat_gen != pg->pghw_generation) { in pghw_cpulist_alloc()
[all …]
H A Dpg.c151 (pg)->pg_class->pgc_ops->free(pg) : \
160 (pg)->pg_class->pgc_ops->policy_name(pg) : NULL) \
340 pg_t *pg; in pg_cpu_find_pg() local
362 pg_t *pg = itr->pg; in pg_cpu_next() local
396 pg_t *pg; in pg_create() local
406 pg->pg_relation = pg->pg_class->pgc_relation; in pg_create()
776 pg_free_default(struct pg *pg) in pg_free_default() argument
799 pg_t *pg; in pg_ev_thread_swtch() local
805 pg->pg_cb.thread_swtch(pg, cp, now, old, new); in pg_ev_thread_swtch()
820 pg_t *pg; in pg_ev_thread_remain() local
[all …]
/illumos-gate/usr/src/uts/common/disp/
H A Dcmt.c502 pg_cmt_t *pg; in pg_cmt_cpu_init() local
701 pg->cmt_siblings == pg->cmt_parent->cmt_children)); in pg_cmt_cpu_init()
725 pg->cmt_siblings = pg->cmt_parent->cmt_children; in pg_cmt_cpu_init()
772 pg_cmt_t *pg; in pg_cmt_cpu_fini() local
844 pg = pg->cmt_parent; in pg_cmt_cpu_fini()
887 pg_t *pg; in pg_cmt_cpupart_in() local
920 pg_t *pg; in pg_cmt_cpupart_move() local
976 pg_cmt_t *pg; in pg_cmt_cpu_active() local
1011 err = group_add(pg->cmt_siblings, pg, GRP_NORESIZE); in pg_cmt_cpu_active()
1298 (pg->cmt_parent->cmt_policy != pg->cmt_policy) && in cmt_pad_enable()
[all …]
/illumos-gate/usr/src/cmd/pgstat/
H A Dpgstat.pl515 $pgs{$pg}->{pg} = $pg;
589 $pg, $shname,
597 $pg, $shname,
685 $pgs{$pg}->{pg} = $pg;
697 $pgs{$pg}->{pg} = $pg;
705 $pgs{$pg}->{minhwload} = $history->{$pg}->{minhwload};
706 $pgs{$pg}->{maxhwload} = $history->{$pg}->{maxhwload};
707 $pgs{$pg}->{minswload} = $history->{$pg}->{minswload} || 0;
708 $pgs{$pg}->{maxswload} = $history->{$pg}->{maxswload} || 0;
764 $pg, $shname;
[all …]
/illumos-gate/usr/src/lib/lib9p/common/
H A Drfuncs.c240 (pg->r_pgbuf = reallocf(pg->r_pgbuf, nsize)) == NULL) in r_pgexpand()
249 free(pg->r_pgbuf); in r_pgfree()
258 r_pginit(pg); in r_getpwuid()
260 error = r_pgexpand(pg); in r_getpwuid()
263 pg->r_pgbuf, pg->r_pgbufsize, &result); in r_getpwuid()
275 r_pginit(pg); in r_getgrgid()
280 pg->r_pgbuf, pg->r_pgbufsize, &result); in r_getgrgid()
293 r_pginit(pg); in r_cap_getpwuid()
298 pg->r_pgbuf, pg->r_pgbufsize, &result); in r_cap_getpwuid()
310 r_pginit(pg); in r_cap_getgrgid()
[all …]
/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Pg/
H A DPg.pm387 return $pg->{level} if defined($pg->{level});
389 $pg->{level} = 0;
393 $pg->{level}++;
896 my $pg = ();
935 $pg->{parent} = PG_PARENT_UNDEF unless defined $pg->{parent};
942 return $pg;
951 my $pg = ();
956 $pg->{util} = 0;
968 return ($pg);
996 $pgtree->{$id} = $pg if $pg;
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/include/
H A Ddb_page.h203 PGNO(pg) = n; \
206 NUM_ENT(pg) = 0; \
208 LEVEL(pg) = btl; \
216 #define LOFFSET(pg) (P_OVERHEAD + NUM_ENT(pg) * sizeof(db_indx_t)) argument
219 #define P_FREESPACE(pg) (HOFFSET(pg) - LOFFSET(pg)) argument
222 #define P_ENTRY(pg, indx) ((u_int8_t *)pg + ((PAGE *)pg)->inp[indx]) argument
268 #define HPAGE_TYPE(pg, indx) (*P_ENTRY(pg, indx)) argument
299 (((indx) == 0 ? pgsize : pg->inp[indx - 1]) - pg->inp[indx])
325 #define H_NUMPAIRS(pg) (NUM_ENT(pg) / 2) argument
328 #define H_PAIRKEY(pg, pindx) P_ENTRY(pg, H_KEYINDEX(pindx)) argument
[all …]
/illumos-gate/usr/src/cmd/svc/lsvcrun/
H A Dlsvcrun.c214 return (pg); in get_start_pg()
235 pg = NULL; in get_start_pg()
252 pg = NULL; in get_start_pg()
260 pg = NULL; in get_start_pg()
279 pg = NULL; in get_start_pg()
283 pg = NULL; in get_start_pg()
292 return (pg); in get_start_pg()
376 pg = NULL; in pg_match()
382 return (pg); in pg_match()
428 return (pg); in get_stop_pg()
[all …]
/illumos-gate/usr/src/cmd/pginfo/
H A Dpginfo.pl333 foreach my $pg (@pgs) {
426 my $pg = shift;
434 my $cpus = $p->cpus($pg);
447 my $pg = shift;
465 my $pg = shift;
473 print "$pg ($sharing)";
489 my $pg = shift;
508 pg_print_node ($p, $pg);
540 $pg_tree->{$pg}->{parent} = $p->parent($pg);
554 my $pg = shift;
[all …]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_delete.c385 PAGE *pg; local
427 pg->flags = P_BLEAF;
429 if (__bt_relink(t, pg) || __bt_free(t, pg))
436 from = (char *)pg + pg->upper;
438 pg->upper += nksize;
491 t->bt_cursor.pg.pgno == h->pgno && t->bt_cursor.pg.index == idx &&
521 t->bt_cursor.pg.pgno == h->pgno && t->bt_cursor.pg.index > idx)
549 PAGE *pg; local
597 e.page = pg;
609 e.page = pg;
[all …]
H A Dbt_seq.c191 db_pgno_t pg; local
280 db_pgno_t pg; local
347 idx = c->pg.index;
349 pg = h->nextpg;
372 pg = h->prevpg;
412 db_pgno_t pg; local
482 pg = h->nextpg;
732 db_pgno_t pg; local
829 db_pgno_t pg; local
857 pg = e->pgno;
[all …]
H A Dbt_overflow.c90 db_pgno_t pg; local
94 memmove(&pg, p, sizeof(db_pgno_t));
99 if (pg == P_INVALID || sz == 0)
141 __ovfl_put(t, dbt, pg) in __ovfl_put() argument
144 db_pgno_t *pg;
174 *pg = h->pgno;
200 db_pgno_t pg; local
204 memmove(&pg, p, sizeof(db_pgno_t));
208 if (pg == P_INVALID || sz == 0)
211 if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/hash/
H A Dhash_conv.c38 __ham_pgin(pg, pp, cookie) in __ham_pgin() argument
39 db_pgno_t pg; in __ham_pgin()
51 if (pg != PGNO_METADATA && pg != tpgno) {
53 pg, PGNO_INVALID, PGNO_INVALID, 0, P_HASH);
59 return (pg == PGNO_METADATA ?
71 __ham_pgout(pg, pp, cookie) in __ham_pgout() argument
72 db_pgno_t pg; in __ham_pgout()
81 return (pg == PGNO_METADATA ?
92 __ham_mswap(pg) in __ham_mswap() argument
93 void *pg; in __ham_mswap()
[all …]
/illumos-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg_xml.c838 pgroup_t *pg; in lxml_get_pgroup() local
1050 pgroup_t *pg; in lxml_get_entity_method_context() local
1061 pgroup_t *pg; in lxml_get_exec_method() local
1152 pgroup_t *pg; in lxml_get_dependency() local
1257 pgroup_t *pg; in lxml_get_dependent() local
1374 pgroup_t *pg; in lxml_get_entity_stability() local
1396 pgroup_t *pg; in lxml_get_restarter() local
1913 pgroup_t *pg; in lxml_get_tm_common_name() local
1935 pgroup_t *pg; in lxml_get_tm_description() local
2083 pgroup_t *pg; in lxml_get_tm_manpage() local
[all …]
H A Dsvccfg_internal.c325 pgroup_t *pg; in internal_service_free() local
370 pgroup_t *pg; in internal_instance_free() local
424 uu_free(pg); in internal_pgroup_free()
430 pgroup_t *pg; in find_pgroup() local
433 pg != NULL; in find_pgroup()
434 pg = uu_list_next(list, pg)) { in find_pgroup()
439 return (pg); in find_pgroup()
442 return (pg); in find_pgroup()
464 pgroup_t *pg; in internal_pgroup_create_common() local
471 return (pg); in internal_pgroup_create_common()
[all …]
H A Dsvccfg_tmpl.c587 pgroup_t *pg; in composed_pg_destroy() local
687 pgroup_t *pg; in build_composed_property_groups() local
693 pg = uu_list_next(inst->sc_pgroups, pg)) { in build_composed_property_groups()
710 pg = uu_list_next(svc->sc_pgroups, pg)) { in build_composed_property_groups()
1095 pgroup_t *pg; in find_restarter() local
2101 pgroup_t *pg; in gather_pattern() local
2119 pg = uu_list_next(e->sc_pgroups, pg)) { in gather_pattern()
2255 pgroup_t *pg; in next_pattern_pg() local
2271 pg = NULL; in next_pattern_pg()
2282 pg); in next_pattern_pg()
[all …]
/illumos-gate/usr/src/cmd/svc/svcprop/
H A Dsvcprop.c445 display_pg(pg); in process_ent()
465 display_pg(pg); in process_ent()
504 pg); in process_ent()
556 display_pg(pg); in process_ent()
591 scf_pg_destroy(pg); in process_ent()
610 display_pg(pg); in process_pg()
787 pg = wip->pg; in do_wait()
825 pg = wip->pg; in do_wait()
872 pg = lpg; in do_wait()
920 pg = lpg; in do_wait()
[all …]
/illumos-gate/usr/src/cmd/sendmail/db/btree/
H A Dbt_conv.c31 __bam_pgin(pg, pp, cookie) in __bam_pgin() argument
32 db_pgno_t pg; in __bam_pgin()
41 return (pg == PGNO_METADATA ?
42 __bam_mswap(pp) : __db_pgin(pg, pginfo->db_pagesize, pp));
53 __bam_pgout(pg, pp, cookie) in __bam_pgout() argument
54 db_pgno_t pg; in __bam_pgout()
63 return (pg == PGNO_METADATA ?
64 __bam_mswap(pp) : __db_pgout(pg, pginfo->db_pagesize, pp));
74 __bam_mswap(pg) in __bam_mswap() argument
75 PAGE *pg; in __bam_mswap()
[all …]
/illumos-gate/usr/src/cmd/svc/startd/
H A Dlibscf.c473 scf_pg_destroy(pg); in libscf_get_stn_tset()
1100 scf_pg_destroy(pg); in libscf_get_deathrow()
1231 scf_pg_destroy(pg); in libscf_get_basic_instance_data()
1592 scf_pg_destroy(pg); in libscf_inst_set_boolean_prop()
1653 scf_pg_destroy(pg); in libscf_inst_set_count_prop()
1838 scf_pg_destroy(pg); in libscf_get_milestone()
2194 scf_pg_destroy(pg); in libscf_get_template_values()
2324 scf_pg_destroy(pg); in libscf_get_startd_properties()
2454 scf_pg_destroy(pg); in libscf_read_method_ids()
2522 scf_pg_destroy(pg); in libscf_write_start_pid()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/
H A Dmpd_tables.c301 for (pg = phyint_groups; pg != NULL; pg = pg->pg_next) { in phyint_group_lookup()
305 return (pg); in phyint_group_lookup()
341 pg->pg_sig++; in phyint_insert()
531 return (pg); in phyint_group_create()
611 pg = NULL; in phyint_inst_init_from_k()
1114 assert(phyint_groups == pg || pg->pg_prev != NULL); in phyint_group_delete()
1117 pg->pg_prev->pg_next = pg->pg_next; in phyint_group_delete()
1122 pg->pg_next->pg_prev = pg->pg_prev; in phyint_group_delete()
1131 free(pg); in phyint_group_delete()
3348 for (ngroup = 0, pg = phyint_groups; pg != NULL; pg = pg->pg_next) in getgrouplist()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dpg.c70 pg(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) in pg() function
72 pg_t pg; in pg() local
105 if (mdb_vread(&pg, sizeof (struct pg), addr) == -1) { in pg()
119 (uintptr_t)pg.pg_class) == -1) { in pg()
120 mdb_warn("unable to read 'pg_class' at %p", pg.pg_class); in pg()
132 if (pg.pg_relation == PGR_PHYSICAL) { in pg()
141 pg.pg_id, addr, pghw.pghw_instance, in pg()
143 pg.pg_cpus.grp_size, in pg()
150 pg.pg_id, addr, pg_class.pgc_name, in pg()
151 pg.pg_cpus.grp_size); in pg()
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_prop.c82 for (pg = topo_list_next(&node->tn_pgroups); pg != NULL; in pgroup_get()
83 pg = topo_list_next(pg)) { in pgroup_get()
85 return (pg); in pgroup_get()
97 if (pg == NULL) in propval_get()
983 for (pg = topo_list_next(&node->tn_pgroups); pg != NULL; in topo_prop_method_unregister()
984 pg = topo_list_next(pg)) { in topo_prop_method_unregister()
1132 pg = topo_list_next(pg)) { in topo_pgroup_info()
1194 pg = topo_list_next(pg)) { in topo_pgroup_create()
1238 pg = topo_list_next(pg)) { in topo_pgroup_destroy()
1426 pg = topo_list_next(pg)) { in topo_prop_getpgrp()
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dpg.h49 struct pg;
65 void (*thread_swtch)(struct pg *, struct cpu *, hrtime_t,
67 void (*thread_remain)(struct pg *, struct cpu *,
74 typedef struct pg { struct
86 struct pg *(*alloc)();
87 void (*free)(struct pg *);
96 int (*cpu_belongs)(struct pg *, struct cpu *);
97 char *(*policy_name)(struct pg *);
119 struct pg *cmt_lineage; /* Ascending lineage chain */
126 pg_t *pg; member
[all …]
/illumos-gate/usr/src/cmd/svc/svcadm/
H A Dsvcadm.c519 pg) == EPERM) { in restarter_setup()
579 scf_pg_destroy(pg); in restarter_setup()
729 if (pg == NULL) in set_inst_enabled()
892 scf_pg_destroy(pg); in set_inst_enabled()
903 scf_pg_destroy(pg); in set_inst_enabled()
1446 scf_pg_destroy(pg); in enable_fmri_rec()
1601 scf_pg_destroy(pg); in set_inst_action()
1681 *pgp = pg; in inst_get_state()
1804 scf_pg_destroy(pg); in set_astring_prop()
1871 if (pg) in wait_fmri_enabled()
[all …]
/illumos-gate/usr/src/lib/libstmf/common/
H A Dstore.c579 if (pg != NULL) { in iPsAddRemoveGroupMember()
889 if (pg != NULL) { in iPsAddRemoveLuViewEntry()
1260 if (pg != NULL) { in iPsAddViewEntry()
1357 if (pg != NULL) { in psClearProviderData()
1651 if (pg != NULL) { in iPsCreateDeleteGroup()
1831 if (pg != NULL) { in iPsGetGroupList()
1998 if (pg != NULL) { in iPsGetGroupMemberList()
2253 if (pg != NULL) { in iPsGetSetPersistType()
2526 if (pg != NULL) { in iPsGetSetStmfProp()
2806 if (pg != NULL) { in iPsGetServiceVersion()
[all …]

1234567