Searched defs:pg (Results 1 - 25 of 103) sorted by relevance

12345

/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/
H A Drec_search.c75 db_pgno_t pg; local
81 for (pg = P_ROOT, total = 0;;) {
82 if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
96 BT_PUSH(t, pg, idx - 1);
98 pg = r->pgno;
H A Drec_put.c202 db_pgno_t pg; local
214 if (__ovfl_put(t, data, &pg) == RET_ERROR)
218 *(db_pgno_t *)db = pg;
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dpg.c31 #include "pg.h"
70 pg(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) function
72 pg_t pg; local
77 int is_cmt = 0; /* This is CMT pg */
103 * Read pg at specified address
105 if (mdb_vread(&pg, sizeof (struct pg), addr) == -1) {
106 mdb_warn("unable to read 'pg' at %p", addr);
111 * In quiet mode just print pg address
119 (uintptr_t)pg
[all...]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
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)
115 for (p = *buf;; p = (char *)p + nb, pg = h->nextpg) {
116 if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
141 __ovfl_put(t, dbt, pg)
144 db_pgno_t *pg;
174 *pg = h->pgno;
200 db_pgno_t pg; local
204 memmove(&pg,
[all...]
H A Dbt_search.c75 db_pgno_t pg; local
79 for (pg = P_ROOT;;) {
80 if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
134 pg = GETBINTERNAL(h, idx)->pgno;
H A Dbt_put.c80 db_pgno_t pg; local
130 storekey: if (__ovfl_put(t, key, &pg) == RET_ERROR)
134 memmove(kb, &pg, sizeof(db_pgno_t));
145 if (__ovfl_put(t, data, &pg) == RET_ERROR)
149 memmove(db, &pg, sizeof(db_pgno_t));
163 if ((h = mpool_get(t->bt_mp, t->bt_cursor.pg.pgno, 0)) == NULL)
165 idx = t->bt_cursor.pg.index;
232 t->bt_cursor.pg.pgno == h->pgno && t->bt_cursor.pg.index >= idx)
233 ++t->bt_cursor.pg
[all...]
H A Dbt_delete.c102 if ((h = mpool_get(t->bt_mp, c->pg.pgno, 0)) == NULL)
113 status = __bt_dleaf(t, NULL, h, c->pg.index);
171 if (h->pgno == c->pg.pgno)
180 while (h->pgno != c->pg.pgno) {
220 if (h->pgno == c->pg.pgno)
235 while (h->pgno != c->pg.pgno) {
278 return ((*hp = mpool_get(t->bt_mp, c->pg.pgno, 0)) == NULL);
385 PAGE *pg; local
405 if ((pg = mpool_get(t->bt_mp, parent->pgno, 0)) == NULL)
409 bi = GETBINTERNAL(pg, id
549 PAGE *pg; local
644 PAGE *pg; local
[all...]
H A Dbt_seq.c191 db_pgno_t pg; local
213 for (pg = P_ROOT;;) {
214 if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
225 pg = GETBINTERNAL(h, 0)->pgno;
234 for (pg = P_ROOT;;) {
235 if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL)
246 pg = GETBINTERNAL(h, NEXTINDEX(h) - 1)->pgno;
280 db_pgno_t pg; local
325 c->pg.pgno = ep->page->pgno;
326 c->pg
412 db_pgno_t pg; local
732 db_pgno_t pg; local
829 db_pgno_t pg; local
[all...]
/illumos-gate/usr/src/lib/pam_modules/sample/
H A Dsample_acct_mgmt.c51 char *pg; local
65 if (pam_get_item(pamh, PAM_SERVICE, (void **)&pg) != PAM_SUCCESS)
79 if (strcmp(pg, "su") == 0) {
/illumos-gate/usr/src/lib/libshare/common/
H A Dscfutil.h48 scf_propertygroup_t *pg; member in struct:scfutilhandle
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Dconfig.c62 scf_propertygroup_t *pg = NULL; local
77 pg = scf_pg_create(handle);
83 if (handle == NULL || sc == NULL || svc == NULL || pg == NULL ||
110 if (scf_service_get_pg(svc, ISNS_SERVER_CONFIG, pg) == -1) {
120 if (scf_pg_get_property(pg, CONFIG_ESI_THRESHOLD, prop) == -1) {
150 if (scf_pg_get_property(pg, CONFIG_MGMT_SCN, prop) == -1) {
174 if (scf_pg_get_property(pg, CONFIG_DATA_STORE, prop) == -1) {
198 if (scf_pg_get_property(pg, CONFIG_CONTROL_NODES, prop) == -1) {
270 if (pg != NULL) {
271 scf_pg_destroy(pg);
[all...]
/illumos-gate/usr/src/cmd/svc/startd/
H A Dmisc.c86 const char *instance, *pg; local
93 scf_parse_svc_fmri(cf, NULL, NULL, &instance, &pg,
99 if (instance == NULL || pg != NULL) {
H A Dexpand.c108 const char *pgn, const char *pn, scf_propertygroup_t *pg,
113 ret = scf_instance_get_pg_composed(inst, snap, pgn, pg);
117 ret = scf_instance_get_pg_composed(inst, snap, pgn, pg);
122 if (scf_pg_get_property(pg, pn, prop) == 0)
128 ret = scf_instance_get_pg_composed(inst, NULL, pgn, pg);
132 if (scf_pg_get_property(pg, pn, prop) == 0)
163 scf_propertygroup_t *pg = NULL; local
189 (pg = scf_pg_create(h)) == NULL ||
201 if (scf_service_get_pg(svc, pgn, pg) != 0)
203 if (scf_pg_get_property(pg, p
107 get_prop(const scf_instance_t *inst, scf_snapshot_t *snap, const char *pgn, const char *pn, scf_propertygroup_t *pg, scf_property_t *prop) argument
[all...]
/illumos-gate/usr/src/cmd/sendmail/db/btree/
H A Dbt_rsearch.c78 db_pgno_t pg; local
102 pg = PGNO_ROOT;
105 0, pg, stack ? DB_LOCK_WRITE : DB_LOCK_READ, &lock)) != 0)
107 if ((ret = memp_fget(dbp->mpf, &pg, 0, &h)) != 0) {
125 if ((ret = __bam_lget(dbc, 0, pg, DB_LOCK_WRITE, &lock)) != 0)
127 if ((ret = memp_fget(dbp->mpf, &pg, 0, &h)) != 0) {
210 pg = bi->pgno;
226 pg = ri->pgno;
244 __bam_lget(dbc, 0, pg, DB_LOCK_WRITE, &lock)) != 0)
260 __bam_lget(dbc, 1, pg, stac
[all...]
H A Dbt_search.c85 db_pgno_t pg; local
112 pg = PGNO_ROOT;
115 0, pg, stack ? DB_LOCK_WRITE : DB_LOCK_READ, &lock)) != 0)
117 if ((ret = memp_fget(dbp->mpf, &pg, 0, &h)) != 0) {
135 if ((ret = __bam_lget(dbc, 0, pg, DB_LOCK_WRITE, &lock)) != 0)
137 if ((ret = memp_fget(dbp->mpf, &pg, 0, &h)) != 0) {
209 next: pg = GET_BINTERNAL(h, indx)->pgno;
221 __bam_lget(dbc, 0, pg, DB_LOCK_WRITE, &lock)) != 0)
237 __bam_lget(dbc, 1, pg, stack && LF_ISSET(S_WRITE) ?
241 if ((ret = memp_fget(dbp->mpf, &pg,
[all...]
/illumos-gate/usr/src/uts/common/disp/
H A Dcmt_policy.c125 pg_cmt_t *pg, *pg_tmp, *tpg = NULL; local
147 pg = GROUP_ACCESS(cmt_pgs, level);
151 siblings = pg->cmt_siblings;
178 if (pg_tmp != pg &&
196 if (cmt_should_migrate(pg, tpg, pg->cmt_policy, self))
204 pg = GROUP_ACCESS(cmt_pgs, level);
205 siblings = pg->cmt_siblings;
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_2xml.c230 txml_print_pgroup(topo_hdl_t *thp, FILE *fp, tnode_t *node, topo_pgroup_t *pg) argument
232 topo_ipgroup_info_t *pip = pg->tpg_info;
242 for (plp = topo_list_next(&pg->tpg_pvals); plp != NULL;
263 topo_pgroup_t *pg; local
267 for (pg = topo_list_next(&node->tn_pgroups); pg != NULL;
268 pg = topo_list_next(pg)) {
269 txml_print_pgroup(thp, fp, node, pg);
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Drepval.c69 static scf_propertygroup_t *pg = NULL; variable
132 } else if (((pg = scf_pg_create(rep_handle)) == NULL) ||
159 scf_pg_destroy(pg);
160 pg = NULL;
340 * SCF_ERROR_PERMISSION_DENIED if insufficient privileges to modify pg.
341 * SCF_ERROR_BACKEND_ACCESS if the repository back-end refused the pg modify.
355 * Fetch the instance state pg, and if it doesn't exist try and
358 if (scf_instance_get_pg(inst, PG_NAME_INSTANCE_STATE, pg) < 0) {
362 SCF_GROUP_FRAMEWORK, SCF_PG_FLAG_NONPERSISTENT, pg) < 0)
371 if (scf_transaction_start(trans, pg) <
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/kssl/ksslcfg/
H A Dksslcfg_create.c66 scf_propertygroup_t *pg; local
68 pg = scf_pg_create(handle);
69 if (pg == NULL) {
78 if (scf_instance_add_pg(instance, pg_name, pg_type, 0, pg) != 0) {
89 scf_pg_destroy(pg);
95 return (pg);
186 scf_propertygroup_t *pg; local
188 pg = add_property_group_to_instance(handle, instance,
190 if (pg == NULL) {
207 if (scf_transaction_start(tran, pg) !
[all...]
/illumos-gate/usr/src/cmd/sendmail/db/include/
H A Dbtree_auto.h56 DBT pg; member in struct:_bam_split_args
/illumos-gate/usr/src/cmd/acctadm/
H A Daconf.c322 scf_propertygroup_t *pg; local
331 if ((pg = scf_pg_create(handle)) == NULL ||
332 scf_instance_get_pg(inst, AC_PGNAME, pg) == -1 ||
337 if (scf_pg_update(pg) == -1 ||
338 scf_transaction_start(tx, pg) == -1)
363 scf_pg_destroy(pg);
451 scf_propertygroup_t *pg; local
456 if ((pg = scf_pg_create(handle)) == NULL)
459 if (scf_instance_get_pg_composed(inst, NULL, pgname, pg) == -1) {
460 scf_pg_destroy(pg);
480 scf_propertygroup_t *pg; local
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dutil.c382 * pg is the property group to look up
399 get_property_value(const char *fmri, const char *pg, const char *prop, argument
406 running ? res->sr_snap : NULL, pg, res->sr_pg) != 0) {
597 nwamd_set_count_property(const char *fmri, const char *pg, const char *prop, argument
605 if (scf_instance_add_pg(res.sr_inst, pg, SCF_GROUP_APPLICATION,
609 if (scf_instance_get_pg_composed(res.sr_inst, NULL, pg,
630 nwamd_set_string_property(const char *fmri, const char *pg, const char *prop, argument
638 if (scf_instance_add_pg(res.sr_inst, pg, SCF_GROUP_APPLICATION,
642 if (scf_instance_get_pg_composed(res.sr_inst, NULL, pg,
664 * Deletes property prop from property group pg i
668 nwamd_delete_scf_property(const char *fmri, const char *pg, const char *prop) argument
[all...]
/illumos-gate/usr/src/cmd/ipf/svc/
H A Dipfd.c195 "for pg type %s: %s\n", SCF_GROUP_FRAMEWORK,
221 pg_get_prop_value(const scf_propertygroup_t *pg, const char *pname, argument
224 if (pg == NULL || pname == NULL || v == NULL)
227 if (scf_pg_get_property(pg, pname, scratch_prop) == -1 ||
245 is_correct_event(const char *fmri, const scf_propertygroup_t *pg, argument
254 if (scf_pg_get_name(pg, scratch_name, max_scf_name_size) < 0) {
295 if (pg_get_prop_value(pg, proplist[i],
473 * read firewall pg, just continue and listen for
495 repository_event_process(scf_propertygroup_t *pg) argument
504 if (scf_pg_get_parent_instance(pg, ins
569 scf_propertygroup_t *pg; local
[all...]
/illumos-gate/usr/src/cmd/svc/common/
H A Dmanifest_hash.c121 scf_propertygroup_t *pg; local
138 (pg = scf_pg_create(hndl)) == NULL ||
155 if (scf_service_get_pg(svc, name, pg) != SCF_SUCCESS) {
160 if (scf_pg_get_property(pg, MHASH_PROP, prop) != SCF_SUCCESS) {
196 if (scf_pg_get_property(pg, MHASH_APPLY_PROP, prop) !=
224 scf_pg_destroy(pg);
237 scf_propertygroup_t *pg = NULL; local
253 (pg = scf_pg_create(hndl)) == NULL ||
315 if (scf_service_get_pg(svc, name, pg) == SCF_SUCCESS)
327 MHASH_PG_FLAGS, pg)
[all...]
/illumos-gate/usr/src/cmd/svc/svcadm/
H A Dsynch.c73 scf_propertygroup_t *pg; local
76 if ((pg = scf_pg_create(h)) == NULL)
79 if (scf_instance_get_pg(inst, SCF_PG_GENERAL_OVR, pg) == 0 &&
80 get_bool_prop(pg, SCF_PROPERTY_ENABLED, &bp) == 0) {
81 scf_pg_destroy(pg);
85 if (scf_instance_get_pg(inst, SCF_PG_GENERAL, pg) == 0 &&
86 get_bool_prop(pg, SCF_PROPERTY_ENABLED, &bp) == 0) {
87 scf_pg_destroy(pg);
91 scf_pg_destroy(pg);
101 read_astring_prop(scf_propertygroup_t *pg, scf_value_ argument
145 prop_walk_init(scf_propertygroup_t *pg, const char *name) argument
455 scf_propertygroup_t *pg; local
[all...]

Completed in 78 milliseconds

12345