/freebsd/contrib/tcsh/ |
H A D | sh.exec.c | 148 Char *dp, **pv, **opv, **av, *sav; in doexec() local 165 pv = globall(blk, gflag); in doexec() 166 if (pv == 0) { in doexec() 172 pv = saveblk(blk); in doexec() 173 cleanup_push(pv, blk_cleanup); in doexec() 175 trim(pv); in doexec() 178 expath = Strsave(pv[0]); in doexec() 206 cleanup_ignore(pv); in doexec() 207 cleanup_until(pv); in doexec() 208 t->t_dcom = blkspl(pv, av); in doexec() [all …]
|
H A D | sh.sem.c | 89 int pv[2]; in execute() local 701 execute(t->t_dcdr, wanttty, pv, pipeout, do_glob); in execute() 704 execute(t->t_dcar, wanttty, pipein, pv, do_glob); in execute() 708 execute(t->t_dcar, wanttty, pipein, pv, do_glob); in execute() 711 execute(t->t_dcdr, wanttty, pv, pipeout, do_glob); in execute() 796 Char **pv; in splicepipe() local 804 pv = globall(blk, gflag); in splicepipe() 805 if (pv == NULL) { in splicepipe() 810 if (pv[1] != NULL) { /* we need to fix the command vector */ in splicepipe() 811 Char **av = blkspl(t->t_dcom, &pv[1]); in splicepipe() [all …]
|
H A D | tw.init.c | 205 Char **pv; in tw_cmd_cmd() local 214 for (pv = v->vec; *pv; pv++) { in tw_cmd_cmd() 215 if (pv[0][0] != '/') { in tw_cmd_cmd() 220 if ((dirp = opendir(short2str(*pv))) == NULL) in tw_cmd_cmd() 225 dir = Strspl(*pv, STRslash); in tw_cmd_cmd()
|
/freebsd/sys/geom/linux_lvm/ |
H A D | g_linux_lvm.c | 196 struct g_llvm_pv *pv; in g_llvm_start() local 235 pv = NULL; in g_llvm_start() 252 pv = sg->sg_pv; in g_llvm_start() 266 pv = sg->sg_pv; in g_llvm_start() 275 KASSERT(pv != NULL, ("Can't find PV for chunk %zu", in g_llvm_start() 278 cb->bio_to = pv->pv_gprov; in g_llvm_start() 282 cb->bio_caller1 = pv; in g_llvm_start() 290 pv->pv_name, cb->bio_offset); in g_llvm_start() 301 pv = cb->bio_caller1; in g_llvm_start() 305 g_io_request(cb, pv->pv_gcons); in g_llvm_start() [all …]
|
/freebsd/sys/geom/raid/ |
H A D | md_promise.c | 540 struct g_raid_md_promise_pervolume *pv; in g_raid_md_promise_get_volume() local 543 pv = vol->v_md_data; in g_raid_md_promise_get_volume() 544 if (pv->pv_id == id) in g_raid_md_promise_get_volume() 554 struct g_raid_md_promise_pervolume *pv; in g_raid_md_promise_purge_volumes() local 559 pv = vol->v_md_data; in g_raid_md_promise_purge_volumes() 560 if (!pv->pv_started || vol->v_stopping) in g_raid_md_promise_purge_volumes() 670 struct g_raid_md_promise_pervolume *pv; in g_raid_md_promise_start_disk() local 678 pv = vol->v_md_data; in g_raid_md_promise_start_disk() 679 meta = pv->pv_meta; in g_raid_md_promise_start_disk() 708 if (!pv->pv_started) in g_raid_md_promise_start_disk() [all …]
|
H A D | md_intel.c | 895 struct g_raid_md_intel_pervolume *pv; in g_raid_md_intel_get_volume() local 898 pv = mvol->v_md_data; in g_raid_md_intel_get_volume() 899 if (pv->pv_volume_pos == id) in g_raid_md_intel_get_volume() 913 struct g_raid_md_intel_pervolume *pv; in g_raid_md_intel_start_disk() local 1036 pv = sd->sd_volume->v_md_data; in g_raid_md_intel_start_disk() 1037 mvol = intel_get_volume(meta, pv->pv_volume_pos); in g_raid_md_intel_start_disk() 1066 (!pv->pv_cng || pv->pv_cng_master_disk != disk_pos)) { in g_raid_md_intel_start_disk() 1074 } else if (mvol->dirty && (!pv->pv_cng || in g_raid_md_intel_start_disk() 1075 pv->pv_cng_master_disk != disk_pos)) { in g_raid_md_intel_start_disk() 1107 } else if (mvol->dirty && (!pv->pv_cng || in g_raid_md_intel_start_disk() [all …]
|
H A D | md_ddf.c | 1392 struct g_raid_md_ddf_pervolume *pv; in g_raid_md_ddf_get_volume() local 1395 pv = vol->v_md_data; in g_raid_md_ddf_get_volume() 1396 if (memcmp(pv->pv_meta.vde->VD_GUID, GUID, 24) == 0) in g_raid_md_ddf_get_volume() 1614 struct g_raid_md_ddf_pervolume *pv; in g_raid_md_ddf_start_disk() local 1632 pv = vol->v_md_data; in g_raid_md_ddf_start_disk() 1633 vmeta = &pv->pv_meta; in g_raid_md_ddf_start_disk() 1657 if (!pv->pv_started) in g_raid_md_ddf_start_disk() 1797 struct g_raid_md_ddf_pervolume *pv; in g_raid_md_ddf_refill() local 1804 pv = vol->v_md_data; in g_raid_md_ddf_refill() 1805 if (!pv->pv_started || vol->v_stopping) in g_raid_md_ddf_refill() [all …]
|
/freebsd/contrib/libarchive/libarchive/test/ |
H A D | test_read_format_zip_high_compression.c | 47 const void *pv; in DEFINE_TEST() 64 assertEqualInt(ARCHIVE_OK, archive_read_data_block(a, &pv, &s, &o)); in DEFINE_TEST() 68 assertEqualInt(ARCHIVE_OK, archive_read_data_block(a, &pv, &s, &o)); in DEFINE_TEST() 72 assertEqualInt(ARCHIVE_EOF, archive_read_data_block(a, &pv, &s, &o)); in DEFINE_TEST() 107 const void *pv; in DEFINE_TEST() 135 assertEqualInt(ARCHIVE_OK, archive_read_data_block(a, &pv, &s, &o)); in DEFINE_TEST() 139 assertEqualInt(ARCHIVE_OK, archive_read_data_block(a, &pv, &s, &o)); in DEFINE_TEST() 143 assertEqualInt(ARCHIVE_EOF, archive_read_data_block(a, &pv, &s, &o)); in DEFINE_TEST() 49 const void *pv; DEFINE_TEST() local 109 const void *pv; DEFINE_TEST() local
|
H A D | test_read_format_lha_bugfix_0.c | 32 const void *pv; in DEFINE_TEST() 48 archive_read_data_block(a, &pv, &s, &o)); in DEFINE_TEST() 51 archive_read_data_block(a, &pv, &s, &o)); in DEFINE_TEST() 33 const void *pv; DEFINE_TEST() local
|
H A D | test_read_format_lha.c | 140 const void *pv; in verify() 169 archive_read_data_block(a, &pv, &s, &o)); in verify() 183 archive_read_data_block(a, &pv, &s, &o)); in verify() 141 const void *pv; verify() local
|
/freebsd/bin/sh/tests/builtins/ |
H A D | command7.0 | 13 check '"$(PATH=/libexec command -pv ld-elf.so.1)" = ""' 14 check '"$(PATH=/libexec command -pv ld-elf.so.1; :)" = ""' 20 check '"$(command -pv ld-elf.so.1)" = ""' 21 check '"$(command -pv ld-elf.so.1; :)" = ""' 26 case $(command -pv ls) in 29 echo "Failed: \$(command -pv ls) match /*/ls"
|
/freebsd/contrib/wpa/src/crypto/ |
H A D | dh_groups.c | 1195 struct wpabuf *pv; in dh_init() local 1207 pv = wpabuf_alloc(pv_len); in dh_init() 1208 if (pv == NULL) { in dh_init() 1214 wpabuf_mhead(*priv), wpabuf_mhead(pv)) < 0) { in dh_init() 1215 wpabuf_clear_free(pv); in dh_init() 1222 wpabuf_put(pv, dh->prime_len); in dh_init() 1224 wpa_hexdump_buf(MSG_DEBUG, "DH: public value", pv); in dh_init() 1226 return pv; in dh_init()
|
/freebsd/sys/net/ |
H A D | if_bridgevar.h | 294 #define PV2ID(pv, epri, eaddr) do { \ argument 295 epri = pv >> 48; \ 296 eaddr[0] = pv >> 40; \ 297 eaddr[1] = pv >> 32; \ 298 eaddr[2] = pv >> 24; \ 299 eaddr[3] = pv >> 16; \ 300 eaddr[4] = pv >> 8; \ 301 eaddr[5] = pv >> 0; \
|
H A D | bridgestp.c | 74 #define PV2ADDR(pv, eaddr) do { \ argument 75 eaddr[0] = pv >> 40; \ 76 eaddr[1] = pv >> 32; \ 77 eaddr[2] = pv >> 24; \ 78 eaddr[3] = pv >> 16; \ 79 eaddr[4] = pv >> 8; \ 80 eaddr[5] = pv >> 0; \ 755 bstp_info_cmp(struct bstp_pri_vector *pv, in bstp_info_cmp() argument 758 if (cpv->pv_root_id < pv->pv_root_id) in bstp_info_cmp() 760 if (cpv->pv_root_id > pv->pv_root_id) in bstp_info_cmp() [all …]
|
/freebsd/sys/riscv/riscv/ |
H A D | pmap.c | 307 static void free_pv_entry(pmap_t pmap, pv_entry_t pv); 1991 free_pv_entry(pmap_t pmap, pv_entry_t pv) in free_pv_entry() argument 2001 pc = pv_to_chunk(pv); in free_pv_entry() 2002 idx = pv - &pc->pc_pventry[0]; in free_pv_entry() 2048 pv_entry_t pv; in get_pv_entry() local 2065 pv = &pc->pc_pventry[field * 64 + bit]; in get_pv_entry() 2075 return (pv); in get_pv_entry() 2100 pv = &pc->pc_pventry[0]; in get_pv_entry() 2104 return (pv); in get_pv_entry() 2188 pv_entry_t pv; in pmap_pvh_remove() local [all …]
|
/freebsd/sys/powerpc/aim/ |
H A D | mmu_radix.c | 674 * Data for the pv entry allocation mechanism. 1164 pv_to_chunk(pv_entry_t pv) in pv_to_chunk() argument 1167 return ((struct pv_chunk *)((uintptr_t)pv & ~(uintptr_t)PAGE_MASK)); in pv_to_chunk() 1170 #define PV_PMAP(pv) (pv_to_chunk(pv)->pc_pmap) argument 1252 * First find and then remove the pv entry for the specified pmap and virtual 1253 * address from the specified pv list. Returns the pv entry if found and NULL 1254 * otherwise. This operation can be performed on pv lists for either 4KB or 1260 pv_entry_t pv; in pmap_pvh_remove() local 1291 pv_entry_t pv; pmap_pv_demote_l3e() local 1382 pv_entry_t pv; reclaim_pv_chunk() local 1549 free_pv_entry(pmap_t pmap,pv_entry_t pv) free_pv_entry() argument 1609 pv_entry_t pv; get_pv_entry() local 1679 pv_entry_t pv; pmap_pv_promote_l3e() local 1719 pv_entry_t pv; pmap_pvh_free() local 1734 pv_entry_t pv; pmap_try_insert_pv_entry() local 2429 pv_entry_t next_pv, pv; mmu_radix_clear_modify() local 2833 pv_entry_t pv; mmu_radix_enter() local 3757 pv_entry_t pv; pmap_page_test_mappings() local 3898 pv_entry_t pv, pvf; mmu_radix_ts_referenced() local 4132 pv_entry_t pv; mmu_radix_page_exists_quick() local 4183 pv_entry_t pv; mmu_radix_page_wired_mappings() local 4883 pv_entry_t pv; pmap_pv_insert_l3e() local 5337 pv_entry_t pv; mmu_radix_remove_all() local 5450 pv_entry_t pv; mmu_radix_remove_pages() local 5623 pv_entry_t next_pv, pv; mmu_radix_remove_write() local 6507 pv_entry_t pv; pmap_page_print_mappings() local [all...] |
/freebsd/contrib/bc/tests/bc/errors/ |
H A D | 31.txt | 2 p^pv =x=pv =x= "striu(v)zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz… 3 p^pv =x=pv =x= "striu(v)zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz…
|
/freebsd/sys/i386/i386/ |
H A D | pmap.c | 246 * Data for the pv entry allocation mechanism 287 static void free_pv_entry(pmap_t pmap, pv_entry_t pv); 653 * Initialize the global pv list lock. in __CONCAT() 655 rw_init(&pvh_global_lock, "pmap pv global"); in __CONCAT() 994 * Initialize the address space (zone) for the pv entries. Set a in __CONCAT() 996 * numbers of pv entries. in __CONCAT() 1032 * Calculate the size of the pv head table for superpages. in __CONCAT() 1039 * Allocate memory for the pv head table for superpages. in __CONCAT() 1050 panic("pmap_init: not enough kvm for pv chunks"); in __CONCAT() 1555 * the pv list 2316 pv_entry_t pv; pmap_pv_reclaim() local 2448 free_pv_entry(pmap_t pmap,pv_entry_t pv) free_pv_entry() argument 2508 pv_entry_t pv; get_pv_entry() local 2579 pv_entry_t pv; pmap_pvh_remove() local 2595 pv_entry_t pv; pmap_pv_demote_pde() local 2629 pv_entry_t pv; pmap_pv_promote_pde() local 2663 pv_entry_t pv; pmap_pvh_free() local 2691 pv_entry_t pv; pmap_insert_entry() local 2706 pv_entry_t pv; pmap_try_insert_pv_entry() local 2726 pv_entry_t pv; pmap_pv_insert_pde() local 3207 pv_entry_t pv; __CONCAT() local 3656 pv_entry_t pv; __CONCAT() local 4732 pv_entry_t pv; __CONCAT() local 4799 pv_entry_t pv; pmap_pvh_wired_mappings() local 4847 pv_entry_t pv; __CONCAT() local 5007 pv_entry_t pv; pmap_is_modified_pvh() local 5077 pv_entry_t pv; pmap_is_referenced_pvh() local 5105 pv_entry_t next_pv, pv; __CONCAT() local 5181 pv_entry_t pv, pvf; __CONCAT() local 5410 pv_entry_t next_pv, pv; __CONCAT() local [all...] |
/freebsd/sys/sys/ |
H A D | _pv_entry.h | 132 pv_to_chunk(pv_entry_t pv) in pv_to_chunk() argument 134 return ((struct pv_chunk *)((uintptr_t)pv & ~(uintptr_t)PAGE_MASK)); in pv_to_chunk() 137 #define PV_PMAP(pv) (pv_to_chunk(pv)->pc_pmap) argument
|
/freebsd/sys/arm64/arm64/ |
H A D | pmap.c | 457 static void free_pv_entry(pmap_t pmap, pv_entry_t pv); 3068 pv_entry_t pv; in reclaim_pv_chunk_domain() local 3144 pv = &pc->pc_pventry[field * 64 + bit]; in reclaim_pv_chunk_domain() 3145 va = pv->pv_va; in reclaim_pv_chunk_domain() 3164 TAILQ_REMOVE(&m->md.pv_list, pv, pv_next); in reclaim_pv_chunk_domain() 3261 free_pv_entry(pmap_t pmap, pv_entry_t pv) in free_pv_entry() argument 3270 pc = pv_to_chunk(pv); in free_pv_entry() 3271 idx = pv - &pc->pc_pventry[0]; in free_pv_entry() 3352 pv_entry_t pv; in get_pv_entry() local 3368 pv = &pc->pc_pventry[field * 64 + bit]; in get_pv_entry() [all …]
|
/freebsd/sys/amd64/amd64/ |
H A D | pmap.c | 1267 static void free_pv_entry(pmap_t pmap, pv_entry_t pv); 5290 pv_entry_t pv; in reclaim_pv_chunk_domain() local 5386 pv = &pc->pc_pventry[field * 64 + bit]; in reclaim_pv_chunk_domain() 5387 va = pv->pv_va; in reclaim_pv_chunk_domain() 5403 TAILQ_REMOVE(&m->md.pv_list, pv, pv_next); in reclaim_pv_chunk_domain() 5499 free_pv_entry(pmap_t pmap, pv_entry_t pv) in free_pv_entry() argument 5508 pc = pv_to_chunk(pv); in free_pv_entry() 5509 idx = pv - &pc->pc_pventry[0]; in free_pv_entry() 5591 pv_entry_t pv; in get_pv_entry() local 5607 pv = &pc->pc_pventry[field * 64 + bit]; in get_pv_entry() [all …]
|
/freebsd/usr.bin/locate/locate/ |
H A D | util.c | 85 char **pv; in colon() local 100 for(vlen = 0, pv = dbv; *pv != NULL; pv++, vlen++); in colon()
|
/freebsd/contrib/sendmail/vacation/ |
H A D | vacation.c | 1060 char *pv[8]; local 1078 pv[0] = "sendmail"; 1079 pv[1] = "-oi"; 1080 pv[2] = "-f"; 1082 pv[3] = sender; 1084 pv[3] = myname; 1085 pv[4] = "--"; 1086 pv[5] = From; 1087 pv[6] = NULL; 1100 (void) execv(_PATH_SENDMAIL, pv);
|
/freebsd/contrib/byacc/test/btyacc/ |
H A D | rename_debug.c | 1104 YYSTYPE *pv; in YYPARSE_DECL() local 1108 for (pv = yystack.l_base, pp = yystack.p_base; pv <= yystack.l_mark; ++pv, ++pp) in YYPARSE_DECL() 1110 yystos[*(yystack.s_base + (pv - yystack.l_base))], pv, pp); in YYPARSE_DECL() 1112 for (pv = yystack.l_base; pv <= yystack.l_mark; ++pv) in YYPARSE_DECL() 1114 yystos[*(yystack.s_base + (pv - yystack.l_base))], pv); in YYPARSE_DECL()
|
H A D | btyacc_destroy1.tab.c | 1439 YYSTYPE *pv; in YYPARSE_DECL() local 1443 for (pv = yystack.l_base, pp = yystack.p_base; pv <= yystack.l_mark; ++pv, ++pp) in YYPARSE_DECL() 1445 yystos[*(yystack.s_base + (pv - yystack.l_base))], pv, pp); in YYPARSE_DECL() 1447 for (pv = yystack.l_base; pv <= yystack.l_mark; ++pv) in YYPARSE_DECL() 1449 yystos[*(yystack.s_base + (pv - yystack.l_base))], pv); in YYPARSE_DECL()
|