/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/recno/ |
H A D | rec_search.c | 73 db_pgno_t pg; local 79 for (pg = P_ROOT, total = 0;;) { 80 if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL) 94 BT_PUSH(t, pg, idx - 1); 96 pg = r->pgno;
|
H A D | rec_put.c | 200 db_pgno_t pg; local 212 if (__ovfl_put(t, data, &pg) == RET_ERROR) 216 *(db_pgno_t *)db = pg;
|
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/ |
H A D | bt_overflow.c | 88 db_pgno_t pg; local 92 memmove(&pg, p, sizeof(db_pgno_t)); 97 if (pg == P_INVALID || sz == 0) 113 for (p = *buf;; p = (char *)p + nb, pg = h->nextpg) { 114 if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL) 139 __ovfl_put(t, dbt, pg) 142 db_pgno_t *pg; 172 *pg = h->pgno; 198 db_pgno_t pg; local 202 memmove(&pg, [all...] |
H A D | bt_search.c | 73 db_pgno_t pg; local 77 for (pg = P_ROOT;;) { 78 if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL) 132 pg = GETBINTERNAL(h, idx)->pgno;
|
H A D | bt_put.c | 78 db_pgno_t pg; local 128 storekey: if (__ovfl_put(t, key, &pg) == RET_ERROR) 132 memmove(kb, &pg, sizeof(db_pgno_t)); 143 if (__ovfl_put(t, data, &pg) == RET_ERROR) 147 memmove(db, &pg, sizeof(db_pgno_t)); 161 if ((h = mpool_get(t->bt_mp, t->bt_cursor.pg.pgno, 0)) == NULL) 163 idx = t->bt_cursor.pg.index; 230 t->bt_cursor.pg.pgno == h->pgno && t->bt_cursor.pg.index >= idx) 231 ++t->bt_cursor.pg [all...] |
H A D | bt_delete.c | 100 if ((h = mpool_get(t->bt_mp, c->pg.pgno, 0)) == NULL) 111 status = __bt_dleaf(t, NULL, h, c->pg.index); 169 if (h->pgno == c->pg.pgno) 178 while (h->pgno != c->pg.pgno) { 218 if (h->pgno == c->pg.pgno) 233 while (h->pgno != c->pg.pgno) { 276 return ((*hp = mpool_get(t->bt_mp, c->pg.pgno, 0)) == NULL); 383 PAGE *pg; local 403 if ((pg = mpool_get(t->bt_mp, parent->pgno, 0)) == NULL) 407 bi = GETBINTERNAL(pg, id 547 PAGE *pg; local 642 PAGE *pg; local [all...] |
H A D | bt_seq.c | 185 db_pgno_t pg; local 207 for (pg = P_ROOT;;) { 208 if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL) 219 pg = GETBINTERNAL(h, 0)->pgno; 228 for (pg = P_ROOT;;) { 229 if ((h = mpool_get(t->bt_mp, pg, 0)) == NULL) 240 pg = GETBINTERNAL(h, NEXTINDEX(h) - 1)->pgno; 274 db_pgno_t pg; local 319 c->pg.pgno = ep->page->pgno; 320 c->pg 406 db_pgno_t pg; local 729 db_pgno_t pg; local 826 db_pgno_t pg; local [all...] |
/osnet-11/usr/src/lib/pam_modules/sample/ |
H A D | sample_acct_mgmt.c | 51 char *pg; local 65 if (pam_get_item(pamh, PAM_SERVICE, (void **)&pg) != PAM_SUCCESS) 79 if (strcmp(pg, "su") == 0) {
|
/osnet-11/usr/src/cmd/sendmail/db/btree/ |
H A D | bt_rsearch.c | 78 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 D | bt_search.c | 85 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...] |
/osnet-11/usr/src/lib/libfedfs/common/ |
H A D | smf_params.c | 89 "FedFS failed to find binddn property in pg %s:%s\n", 105 "FedFS failed to find bindpw property in pg %s:%s\n", 143 "FedFS failed to find sectype property in pg %s:%s\n", 162 "FedFS failed to find certpath property in pg %s:%s\n", 181 "FedFS failed to find nce property in pg %s:%s\n", 215 get_pg_value(scf_handle_t *h, scf_propertygroup_t *pg, argument 224 if (scf_pg_get_property(pg, name, prop) == -1) 252 scf_propertygroup_t *pg = NULL; local 264 (pg = scf_pg_create(h)) == NULL || 285 if (scf_iter_next_pg(iter, pg) ! 342 scf_propertygroup_t *pg = NULL; local 385 set_pg_value(scf_handle_t *h, scf_propertygroup_t *pg, char *propname, char *propvalue) argument 464 scf_propertygroup_t *pg = NULL; local 668 scf_propertygroup_t *pg = NULL; local 726 scf_propertygroup_t *pg = NULL; local [all...] |
/osnet-11/usr/src/lib/fm/libasr/common/ |
H A D | asr_scf.c | 301 scf_propertygroup_t *pg = NULL; local 320 if (NULL == (pg = scf_pg_create(handle))) { 326 if ((err = scf_instance_get_pg(instance, pgname, pg)) == -1) { 328 instance, pgname, "application", 0, pg) != SCF_SUCCESS) { 340 if ((err = scf_pg_update(pg)) == -1) { 344 if ((err = scf_transaction_start(tx, pg)) == -1) { 367 scf_pg_destroy(pg); 381 char *pg = scf_simple_prop_pgname(prop); local 387 if (pg == NULL || name == NULL) 393 if (snprintf(pname, sizeof (pname), "%s/%s", pg, nam [all...] |
/osnet-11/usr/src/cmd/sendmail/db/include/ |
H A D | btree_auto.h | 56 DBT pg; member in struct:_bam_split_args
|
/osnet-11/usr/src/lib/libuvfs/common/ |
H A D | svc.c | 224 scf_propertygroup_t *pg = NULL; local 272 pg = scf_pg_create(fs->fs_scf_handle); 273 rc = scf_instance_add_pg(instance, "filesys", "application", 0, pg); 278 (scf_instance_get_pg(instance, "filesys", pg))) 283 rc = scf_transaction_start(trans, pg); 326 if (pg != NULL) 327 scf_pg_destroy(pg);
|
/osnet-11/usr/src/lib/nsswitch/pynss/common/ |
H A D | nscd.py | 115 for pg in self.ALLPGS: # Generate cache DB props 116 if pg == self.configPG: 119 prop = self.join(pg, p) 240 for p in self.cachePROPS: # Get any default pg props 256 pval = defp[cprop] # Attempt the default pg value 257 db[p] = pval # Set SMF default pg value 283 pg = self.DBMAP[map] variable in class:Nscd.init 285 pg = map variable in class:Nscd.init 286 self.traceit(' pg= ', pg) [all...] |
/osnet-11/usr/src/lib/libfcoe/common/ |
H A D | libfcoe.c | 182 scf_propertygroup_t *pg = NULL; local 209 if (((pg = scf_pg_create(handle)) == NULL) || 219 if (scf_service_get_pg(svc, FCOE_PG_NAME, pg) == -1) { 222 SCF_GROUP_APPLICATION, 0, pg) == -1) { 223 syslog(LOG_ERR, "add pg failed - %s", 230 syslog(LOG_ERR, "get pg failed - %s", 241 if (scf_pg_get_property(pg, FCOE_PORT_LIST, prop) == -1) { 254 if (scf_transaction_start(tran, pg) == -1) { 291 if (scf_pg_get_property(pg, FCOE_PORT_LIST, prop) == -1) { 437 if (pg ! 842 scf_propertygroup_t *pg = NULL; local [all...] |
/osnet-11/usr/src/lib/fm/libdiskstatus/common/ |
H A D | ds_scsi_uscsi.c | 1200 struct mode_page *pg; local 1254 pg = (struct mode_page *)((ulong_t)mode_sense_buf + 1277 (void) memcpy(page_data, (caddr_t)pg, page_data_len); 1292 if (pg->code != page_code) { 1294 page_code, pg->code); 1304 if (((int)pg->length) > maximum) { 1307 page_code, pg->length, maximum); 1312 (void) memcpy(page_data, (caddr_t)pg, MODESENSE_PAGE_LEN(pg)); 1318 ddump("data:", page_data, MODESENSE_PAGE_LEN(pg)); 1337 struct mode_page *pg; local [all...] |
/osnet-11/usr/src/lib/fm/topo/libtopo/common/ |
H A D | svc.c | 698 scf_propertygroup_t *pg = NULL; local 716 (pg = scf_pg_create(hdl)) == NULL || 764 if (scf_instance_get_pg(inst, SCF_PG_RESTARTER, pg) != 0 || 765 scf_pg_get_property(pg, SCF_PROPERTY_STATE, prop) != 0 || 790 scf_pg_destroy(pg);
|
H A D | topo_2xml.c | 340 txml_print_pgroup(topo_hdl_t *thp, FILE *fp, tnode_t *node, topo_pgroup_t *pg) argument 342 topo_ipgroup_info_t *pip = pg->tpg_info; 352 for (plp = topo_list_next(&pg->tpg_pvals); plp != NULL; 373 topo_pgroup_t *pg; local 377 for (pg = topo_list_next(&node->tn_pgroups); pg != NULL; 378 pg = topo_list_next(pg)) { 379 txml_print_pgroup(thp, fp, node, pg);
|
/osnet-11/usr/src/lib/libscf/common/ |
H A D | notify_params.c | 188 * Get the pg from the running snapshot of the instance (composed or not) 192 scf_propertygroup_t *pg, int composed) 214 if (scf_instance_get_pg_composed(i, snap, n, pg) != 0) 218 scf_snaplevel_get_pg(slvl, n, pg) != 0) 222 if (scf_service_get_pg(s, n, pg) != 0) 235 * Add a pg if it does not exist, or get it if it exists. 242 uint32_t flags, scf_propertygroup_t *pg) 247 r = scf_instance_add_pg(i, n, t, flags, pg); 249 r = scf_service_add_pg(s, n, t, flags, pg); 257 r = scf_instance_get_pg(i, n, pg); 191 get_pg(scf_service_t *s, scf_instance_t *i, const char *n, scf_propertygroup_t *pg, int composed) argument 241 get_or_add_pg(scf_service_t *s, scf_instance_t *i, const char *n, const char *t, uint32_t flags, scf_propertygroup_t *pg) argument 283 del_pg(scf_service_t *s, scf_instance_t *i, const char *n, scf_propertygroup_t *pg) argument 675 notify_set_params(scf_propertygroup_t *pg, nvlist_t *params) argument 1272 scf_propertygroup_t *pg = scf_pg_create(h); local 1394 _scf_notify_get_params(scf_propertygroup_t *pg, nvlist_t *params) argument 1508 get_stn_pg(scf_service_t *s, scf_instance_t *i, scf_instance_t *g, const char *pgname, scf_propertygroup_t *pg) argument 1528 get_pg_source(scf_propertygroup_t *pg, nvlist_t *params) argument 1584 scf_propertygroup_t *pg = scf_pg_create(h); local 1707 scf_propertygroup_t *pg = scf_pg_create(h); local 1884 scf_propertygroup_t *pg = scf_pg_create(h); local [all...] |
/osnet-11/usr/src/lib/libshare_plugins/legacy/ |
H A D | libshare_legacy.c | 286 scf_propertygroup_t *pg = NULL; local 304 pg = scf_pg_create(hdl->legacy_smf_hdl); 305 if (pg == NULL) { 310 if (scf_instance_get_pg(hdl->legacy_smf_instance, LEGACY_PG, pg) != 0) { 312 SCF_GROUP_FRAMEWORK, 0, pg) != 0) { 325 if (scf_transaction_start(trans, pg) != 0) { 388 if (pg != NULL) 389 scf_pg_destroy(pg);
|
/osnet-11/usr/src/lib/libntsvcs/common/ |
H A D | svcctl_scm.c | 99 scf_propertygroup_t *pg, const char *propname, scf_type_t ty, void *vp, 107 if (scf_pg_get_property(pg, propname, mgr_ctx->mc_scf_gprop) == -1) 286 if (wip->pg == NULL) { 326 if (wip->pg != NULL) 371 if (wip->pg == NULL) { 385 if (svcctl_scm_pg_get_val(mgr_ctx, wip->pg, 98 svcctl_scm_pg_get_val(svcctl_manager_context_t *mgr_ctx, scf_propertygroup_t *pg, const char *propname, scf_type_t ty, void *vp, size_t sz, uint_t flags) argument
|
/osnet-11/usr/src/lib/libnwam/common/ |
H A D | libnwam_util.c | 925 scf_propertygroup_t *pg = NULL; local 937 (pg = scf_pg_create(h)) == NULL || 953 if (scf_instance_get_pg_composed(inst, snap, pgname, pg) != 0 || 954 scf_pg_get_property(pg, propname, prop) != 0 || 965 scf_pg_destroy(pg); 980 scf_propertygroup_t *pg = NULL; local 991 (pg = scf_pg_create(h)) == NULL || 1002 scf_instance_get_pg_composed(inst, NULL, pgname, pg) != 0) { 1008 if (scf_transaction_start(tx, pg) == -1 || 1022 if (scf_pg_update(pg) [all...] |
/osnet-11/usr/src/lib/libipadm/common/ |
H A D | ipadm_cong.c | 241 * on success, with pg parameter set to the property group; or 1 on failure. 245 scf_propertygroup_t *pg) 255 scfrtn = scf_instance_get_pg(ss->inst, IPADM_CONG_PG, pg); 261 scfrtn = scf_service_get_pg(ss->svc, IPADM_CONG_PG, pg); 271 SCF_GROUP_APPLICATION, 0, pg); 274 SCF_GROUP_APPLICATION, 0, pg); 294 scf_propertygroup_t *pg = NULL; local 299 if ((pg = scf_pg_create(h)) == NULL || 306 if (scf_instance_get_pg(inst, SCF_PG_GENERAL, pg) < 0 || 307 scf_pg_get_property(pg, SCF_PROPERTY_ENABLE 244 i_ipadm_cong_get_pg(ipadm_scf_state_t *ss, boolean_t needinst, scf_propertygroup_t *pg) argument 586 scf_propertygroup_t *pg = NULL; local 635 scf_propertygroup_t *pg = NULL; local 725 scf_propertygroup_t *pg = NULL; local [all...] |
/osnet-11/usr/src/lib/fm/libfmnotify/common/ |
H A D | libfmnotify.c | 145 scf_propertygroup_t *pg = NULL, *ret = NULL; local 149 pg = scf_pg_create(handle); 151 if (sc == NULL || svc == NULL || pg == NULL) { 153 scf_pg_destroy(pg); 160 scf_service_get_pg(svc, pgname, pg) != -1) 161 ret = pg; 163 scf_pg_destroy(pg); 177 scf_propertygroup_t *pg; local 186 if ((pg = nd_get_pg(nhdl, handle, svcname, pgname)) == NULL) { 197 if (scf_pg_get_property(pg, propnam 221 scf_propertygroup_t *pg; local [all...] |