Home
last modified time | relevance | path

Searched refs:kvp (Results 1 – 25 of 26) sorted by relevance

12

/titanic_44/usr/src/lib/print/libprint/common/
H A Dns_cmn_kvp.c60 ns_kvp_t *kvp; in ns_kvp_create() local
62 if ((kvp = calloc(1, sizeof (*kvp))) != NULL) { in ns_kvp_create()
63 kvp->key = strdup(key); in ns_kvp_create()
64 kvp->value = (char *)value; in ns_kvp_create()
66 return (kvp); in ns_kvp_create()
70 ns_kvp_destroy(ns_kvp_t *kvp) in ns_kvp_destroy() argument
72 if (kvp != NULL) { in ns_kvp_destroy()
73 if (kvp->key != NULL) in ns_kvp_destroy()
74 free(kvp->key); in ns_kvp_destroy()
75 if (kvp->value != NULL) in ns_kvp_destroy()
[all …]
H A Dnss_convert.c110 ns_kvp_t *kvp = printer->attributes[i]; in _cvt_printer_to_entry() local
112 if (kvp->value == NULL) in _cvt_printer_to_entry()
115 (void) strncat_escaped(buf, kvp->key, buflen, ESCAPE_CHARS); in _cvt_printer_to_entry()
117 (void) strncat_escaped(buf, kvp->value, buflen, ESCAPE_CHARS); in _cvt_printer_to_entry()
H A Dns_bsd_addr.c283 ns_kvp_t **list, *kvp; in posix_name() local
285 kvp = ns_kvp_create(NS_KEY_BSDADDR, buf); in posix_name()
286 list = (ns_kvp_t **)list_append(NULL, kvp); in posix_name()
H A DsunPrinter.oc.conf.txt116 sun-printer-kvp
H A DsunPrinter.at.conf.txt64 attribute sun-printer-kvp 1.3.6.1.4.1.42.2.27.5.1.64 cis
/titanic_44/usr/src/lib/libbsm/common/
H A Dgetdadefs.c211 kv_t *kvp; in dadef_interpret() local
227 for (i = 0, kvp = kvap->data; i < kvap->length; i++, kvp++) { in dadef_interpret()
228 (void) pack_white(kvp->key); in dadef_interpret()
229 (void) pack_white(kvp->value); in dadef_interpret()
H A Dgetdaent.c473 kv_t *kvp; in da_interpret() local
496 for (i = 0, kvp = kvap->data; i < kvap->length; i++, kvp++) { in da_interpret()
497 (void) pack_white(kvp->key); in da_interpret()
498 (void) pack_white(kvp->value); in da_interpret()
/titanic_44/usr/src/cmd/mdb/common/modules/libumem/
H A Dlibumem.c214 umastat_cache(uintptr_t addr, const umem_cache_t *cp, umastat_vmem_t **kvp) in umastat_cache() argument
254 for (kv = *kvp; kv != NULL; kv = kv->kv_next) { in umastat_cache()
260 kv->kv_next = *kvp; in umastat_cache()
262 *kvp = kv; in umastat_cache()
/titanic_44/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_bio.c116 pp = page_find(&kvp, (u_offset_t)((uintptr_t)v & ~page_offset_mask)); in _sd_add_vm_to_bp_plist()
167 VN_HOLD(&kvp); in _sdbc_iobuf_load()
184 mutex_enter(&kvp.v_lock); in _sdbc_iobuf_unload()
185 kvp.v_count = 0; in _sdbc_iobuf_unload()
186 mutex_exit(&kvp.v_lock); in _sdbc_iobuf_unload()
330 bp = pageio_setup(NULL, 0, &kvp, 0); in _sd_get_iobuf()
/titanic_44/usr/src/uts/common/vm/
H A Dseg_kp.c547 ASSERT(page_exists(&kvp, in segkp_get_internal()
550 if ((pp = page_create_va(&kvp, in segkp_get_internal()
725 pp = page_find(&kvp, (u_offset_t)(uintptr_t)va); in segkp_release_internal()
739 pp = page_lookup(&kvp, (u_offset_t)(uintptr_t)va, in segkp_release_internal()
809 ASSERT(page_exists(&kvp, (u_offset_t)(uintptr_t)red_va) == in segkp_map_red()
822 red_pp = page_create_va(&kvp, (u_offset_t)(uintptr_t)red_va, in segkp_map_red()
898 ASSERT(pp == page_find(&kvp, (u_offset_t)(uintptr_t)red_va)); in segkp_unmap_red()
909 pp = page_lookup(&kvp, (u_offset_t)(uintptr_t)red_va, SE_EXCL); in segkp_unmap_red()
H A Dseg_kmem.c397 (void) page_hashin(pp, &kvp, (u_offset_t)(uintptr_t)addr, NULL); in boot_mapin()
819 seg->s_data = &kvp; in segkmem_create()
833 vp = &kvp; in segkmem_page_create()
968 return (segkmem_alloc_vn(vmp, size, vmflag, &kvp)); in segkmem_alloc()
1043 segkmem_free_vn(vmp, inaddr, size, &kvp, func); in segkmem_xfree()
1049 segkmem_free_vn(vmp, inaddr, size, &kvp, NULL); in segkmem_free()
1120 return (page_create_va_large(&kvp, (u_offset_t)(uintptr_t)addr, size, in segkmem_page_create_large()
1232 pp = page_lookup(&kvp, (u_offset_t)(uintptr_t)addr, SE_EXCL); in segkmem_free_one_lp()
H A Dseg_kmem.h71 #define kvp (kvps[KV_KVP]) macro
H A Dpage_retire.c853 if ((datap == &kvp) || (datap == &zvp)) { in page_retire_incr_pend_count()
863 if ((datap == &kvp) || (datap == &zvp)) { in page_retire_decr_pend_count()
H A Dpage_lock.c891 if (vp == &kvp) in page_vnode_mutex()
H A Dseg_dev.c3829 pp = page_find(&kvp, (u_offset_t)(uintptr_t)addr); in devmap_free_pages()
3835 pp = page_lookup(&kvp, (u_offset_t)(uintptr_t)addr, in devmap_free_pages()
H A Dvm_page.c2211 if ((rootpp = page_get_freelist(&kvp, off, seg, vaddr, in page_create_va_large()
/titanic_44/usr/src/uts/sun4v/vm/
H A Dmach_vm_dep.c433 ppl = page_create_va_large(&kvp, (u_offset_t)(uintptr_t)addr, size, in contig_mem_span_alloc()
553 pp = page_find(&kvp, (u_offset_t)(uintptr_t)addr); in contig_mem_span_free()
559 pp = page_lookup(&kvp, in contig_mem_span_free()
/titanic_44/usr/src/uts/common/avs/ns/
H A Dcontract.h371 page_t kvp; /* We use the kernel segment */ variable
/titanic_44/usr/src/uts/common/os/
H A Dmem_cage.c982 if (kvp.v_pages) { in kcage_init()
984 pp = kvp.v_pages; in kcage_init()
992 } while ((pp = pp->p_vpnext) != kvp.v_pages); in kcage_init()
/titanic_44/usr/src/uts/sun4/vm/
H A Dsfmmu.c1105 return (page_create_va_large(&kvp, (u_offset_t)(uintptr_t)addr, size, in sfmmu_tsb_page_create()
1213 pp = page_lookup(&kvp, (u_offset_t)(uintptr_t)addr, SE_EXCL); in sfmmu_tsb_segkmem_free()
/titanic_44/usr/src/uts/i86pc/os/
H A Dddi_impl.c1006 return (page_create_io(&kvp, (u_offset_t)(uintptr_t)addr, len, in page_create_io_wrapper()
1353 ppl = page_create_io(&kvp, (u_offset_t)(uintptr_t)addr, in contig_alloc()
1387 pp = page_find(&kvp, (u_offset_t)(uintptr_t)a); in contig_free()
1393 pp = page_lookup(&kvp, in contig_free()
/titanic_44/usr/src/uts/common/io/
H A Dramdisk.c338 pp = page_get_freelist(&kvp, 0, &kseg, addr, PAGESIZE, 0, NULL); in rd_phys_alloc()
340 pp = page_get_cachelist(&kvp, 0, &kseg, addr, 0, NULL); in rd_phys_alloc()
/titanic_44/usr/src/uts/i86pc/vm/
H A Dhtable.c340 pp = page_lookup(&kvp, off, SE_EXCL); in ptable_free()
1534 ASSERT(page_exists(&kvp, offset) == NULL); in htable_attach()
1535 (void) page_hashin(pp, &kvp, offset, NULL); in htable_attach()
H A Dvm_machdep.c3976 pp = page_exists(&kvp, offset); in page_get_physical()
3981 pp = page_create_va(&kvp, offset, MMU_PAGESIZE, PG_EXCL, in page_get_physical()
/titanic_44/usr/src/cmd/ldap/ns_ldap/
H A Didsconfig.sh4369 …er information' SUP top AUXILIARY MUST printer-name MAY ( sun-printer-bsdaddr $ sun-printer-kvp ) )

12