Home
last modified time | relevance | path

Searched refs:spp (Results 1 – 25 of 29) sorted by relevance

12

/openbsd/sys/uvm/
H A Duvm_swap.c308 struct swappri *spp; in uvm_swap_initcrypt_all() local
452 struct swappri *spp; in uvm_swap_finicrypt_all() local
500 pspp = spp; in swaplist_insert()
506 if (spp == NULL || spp->spi_priority != priority) { in swaplist_insert()
541 struct swappri *spp; in swaplist_find() local
582 free(spp, M_VMSWAP, sizeof(*spp)); in swaplist_trim()
752 spp = malloc(sizeof *spp, M_VMSWAP, M_WAITOK); in sys_swapctl()
762 free(spp, M_VMSWAP, sizeof(*spp)); in sys_swapctl()
784 spp = malloc(sizeof *spp, M_VMSWAP, M_WAITOK); in sys_swapctl()
804 free(spp, M_VMSWAP, sizeof *spp); in sys_swapctl()
[all …]
/openbsd/sys/arch/luna88k/luna88k/
H A Ddisksubr.c250 struct sun_dkpart *spp; in disklabel_om_to_bsd() local
286 spp = &sl->sl_part[i]; in disklabel_om_to_bsd()
290 DL_SETPSIZE(npp, spp->sdkp_nsectors); in disklabel_om_to_bsd()
340 spp = &sl->sl_xpart[i]; in disklabel_om_to_bsd()
379 struct sun_dkpart *spp; in disklabel_bsd_to_om() local
403 spp = &sl->sl_part[i]; in disklabel_bsd_to_om()
405 spp->sdkp_cyloffset = 0; in disklabel_bsd_to_om()
406 spp->sdkp_nsectors = 0; in disklabel_bsd_to_om()
416 spp = &sl->sl_xpart[i]; in disklabel_bsd_to_om()
418 spp->sdkp_cyloffset = 0; in disklabel_bsd_to_om()
[all …]
/openbsd/sys/arch/sparc64/sparc64/
H A Ddisksubr.c227 struct sun_dkpart *spp; in disklabel_sun_to_bsd() local
265 spp = &sl->sl_part[i]; in disklabel_sun_to_bsd()
268 DL_SETPSIZE(npp, spp->sdkp_nsectors); in disklabel_sun_to_bsd()
311 spp = &sl->sl_xpart[i]; in disklabel_sun_to_bsd()
386 struct sun_dkpart *spp; in disklabel_bsd_to_sun() local
408 spp = &sl->sl_part[i]; in disklabel_bsd_to_sun()
410 spp->sdkp_cyloffset = 0; in disklabel_bsd_to_sun()
411 spp->sdkp_nsectors = 0; in disklabel_bsd_to_sun()
422 spp = &sl->sl_xpart[i]; in disklabel_bsd_to_sun()
424 spp->sdkp_cyloffset = 0; in disklabel_bsd_to_sun()
[all …]
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/
H A D20011229-1.c28 unsigned char spp; member
61 int spp = penum->spp; in image_render_color() local
62 unsigned char *psrc = buffer + data_x * spp; in image_render_color()
69 if (spp == 4) in image_render_color()
/openbsd/sys/arch/luna88k/stand/boot/
H A Dufs_disksubr.c121 struct sun_dkpart *spp; in readdisklabel() local
170 spp = &slp->sl_part[i]; in readdisklabel()
173 DL_SETPOFFSET(npp, spp->sdkp_cyloffset); in readdisklabel()
174 DL_SETPSIZE(npp, spp->sdkp_nsectors); in readdisklabel()
225 spp = &slp->sl_xpart[i]; in readdisklabel()
227 DL_SETPOFFSET(npp, spp->sdkp_cyloffset); in readdisklabel()
228 DL_SETPSIZE(npp, spp->sdkp_nsectors); in readdisklabel()
/openbsd/gnu/usr.bin/binutils/gdb/osf-share/
H A Dcma_sched.h156 (tcb)->sched.spp = cma_c_true; \
163 (tcb)->sched.spp = cma_c_true; \
170 (tcb)->sched.spp = cma_c_false; \
177 (tcb)->sched.spp = cma_c_false; \
184 (tcb)->sched.spp = cma_c_true; \
191 (tcb)->sched.spp = cma_c_false; \
H A Dcma_tcb_defs.h163 cma_t_boolean spp; /* "Strict Priority Preemption" sched */ member
/openbsd/sbin/disklabel/
H A Deditor.c1184 const struct partition **spp; in has_overlap() local
1193 if (DL_GETPOFFSET(spp[i]) + DL_GETPSIZE(spp[i]) > in has_overlap()
1194 DL_GETPOFFSET(spp[i+1])) in has_overlap()
1197 if (spp[i+1] == NULL) { in has_overlap()
1252 memset(spp, 0, sizeof(spp)); in sort_partitions()
1265 if (mergesort((void *)spp, npartitions, sizeof(spp[0]), in sort_partitions()
1269 return spp; in sort_partitions()
1353 const struct partition **spp; in free_chunks() local
1362 if (spp[0] == NULL) { in free_chunks()
1377 start = DL_GETPOFFSET(spp[i]) + DL_GETPSIZE(spp[i]); in free_chunks()
[all …]
/openbsd/usr.bin/vi/common/
H A Dscreen.c36 screen_init(GS *gp, SCR *orig, SCR **spp) in screen_init() argument
41 *spp = NULL; in screen_init()
43 *spp = sp; in screen_init()
113 *spp = sp; in screen_init()
/openbsd/sys/arch/sparc64/stand/ofwboot/
H A Dofdev.c277 struct sun_dkpart *spp; in disklabel_sun_to_bsd() local
314 spp = &sl->sl_part[i]; in disklabel_sun_to_bsd()
316 DL_SETPOFFSET(npp, spp->sdkp_cyloffset * secpercyl); in disklabel_sun_to_bsd()
317 DL_SETPSIZE(npp, spp->sdkp_nsectors); in disklabel_sun_to_bsd()
360 spp = &sl->sl_xpart[i]; in disklabel_sun_to_bsd()
362 DL_SETPOFFSET(npp, spp->sdkp_cyloffset * secpercyl); in disklabel_sun_to_bsd()
363 DL_SETPSIZE(npp, spp->sdkp_nsectors); in disklabel_sun_to_bsd()
/openbsd/usr.sbin/amd/amq/
H A Damq.c425 amq_string *spp = amqproc_getvers_57(NULL, clnt); in main() local
426 if (spp && *spp) { in main()
427 printf("%s.\n", *spp); in main()
428 free(*spp); in main()
/openbsd/sys/arch/sh/dev/
H A Dshpcic.c87 const struct shpcic_product *spp; in shpcic_lookup() local
99 for (spp = shpcic_products; spp->sp_name != NULL; spp++) { in shpcic_lookup()
100 if (PCI_PRODUCT(id) == spp->sp_product) { in shpcic_lookup()
101 return (spp); in shpcic_lookup()
142 const struct shpcic_product *spp; in shpcic_attach() local
150 spp = shpcic_lookup(); in shpcic_attach()
151 if (spp == NULL) { in shpcic_attach()
161 printf(": HITACHI %s\n", spp->sp_name); in shpcic_attach()
/openbsd/usr.sbin/tcpdump/
H A Dprint-nfs.c1333 struct nfsv3_pathconf *spp; in parsepathconf() local
1344 spp = (struct nfsv3_pathconf *)dp; in parsepathconf()
1345 TCHECK(*spp); in parsepathconf()
1348 (u_int32_t) ntohl(spp->pc_linkmax), in parsepathconf()
1349 (u_int32_t) ntohl(spp->pc_namemax), in parsepathconf()
1350 ntohl(spp->pc_notrunc) ? "notrunc" : "", in parsepathconf()
1351 ntohl(spp->pc_chownrestricted) ? "chownres" : "", in parsepathconf()
1352 ntohl(spp->pc_caseinsensitive) ? "igncase" : "", in parsepathconf()
1353 ntohl(spp->pc_casepreserving) ? "keepcase" : ""); in parsepathconf()
/openbsd/usr.bin/mandoc/
H A Dtbl_term.c565 tbl_hrule(struct termp *tp, const struct tbl_span *spp, in tbl_hrule() argument
579 cpp = spp == NULL ? NULL : spp->layout->first; in tbl_hrule()
603 (spp == NULL ? 0 : BUP * bw) + in tbl_hrule()
605 (spp == NULL || cpn == NULL || in tbl_hrule()
639 } else if (spp != NULL && opts & TBL_OPT_ALLBOX) in tbl_hrule()
699 (spp == NULL ? 0 : BUP * bw) + in tbl_hrule()
701 (spp == NULL || spn == NULL || in tbl_hrule()
/openbsd/games/gomoku/
H A Dpickmove.c1193 struct combostr **spp, **cpp; in sortcombo() local
1218 spp = scbpp + n; in sortcombo()
1223 *--spp = fcbp; in sortcombo()
1225 *--spp = *cpp; in sortcombo()
1229 *--spp = *cpp; in sortcombo()
1231 *--spp = fcbp; in sortcombo()
1251 spp = scbpp + n; in sortcombo()
1254 if (*--spp != *--cpp) in sortcombo()
1460 struct combostr **spp, **cpp; in list_eq() local
1462 spp = scbpp + n; in list_eq()
[all …]
/openbsd/gnu/usr.bin/binutils/bfd/
H A Delf32-i370.c765 asection **spp; local
767 for (spp = &s->output_section->owner->sections;
768 *spp != NULL;
769 spp = &(*spp)->next)
771 if (*spp == s->output_section)
773 bfd_section_list_remove (s->output_section->owner, spp);
/openbsd/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.jason/
H A Dreport.C31 char ***spp = &sp; variable
/openbsd/lib/libcurses/base/
H A Dlib_set_term.c315 SCREEN **spp, in NCURSES_SP_NAME()
339 assert(spp != 0); in NCURSES_SP_NAME()
340 sp = *spp; in NCURSES_SP_NAME()
345 *spp = sp; in NCURSES_SP_NAME()
/openbsd/usr.bin/vi/vi/
H A Dvs_split.c196 vs_discard(SCR *sp, SCR **spp) in vs_discard() argument
233 if (spp != NULL) in vs_discard()
234 *spp = sp; in vs_discard()
H A Dvi.c63 vi(SCR **spp) in vi() argument
73 sp = *spp; in vi()
256 *spp = next; in vi()
409 *spp = sp; in vi()
/openbsd/bin/ksh/
H A Dlex.c91 int promptlen(const char *cp, const char **spp);
1211 dopprompt(const char *sp, int ntruncate, const char **spp, int doprint) in dopprompt() argument
1497 if (spp) in dopprompt()
1498 *spp = sp; in dopprompt()
1509 promptlen(const char *cp, const char **spp) in promptlen() argument
1511 return dopprompt(cp, 0, spp, 0); in promptlen()
/openbsd/gnu/usr.bin/binutils-2.17/ld/emultempl/
H A Dxtensaelf.em75 asection **spp;
76 for (spp = &abfd->sections; *spp; spp = &(*spp)->next)
77 if (*spp == os)
79 *spp = os->next;
/openbsd/gnu/gcc/gcc/
H A Dggc-zone.c1600 struct small_page_entry **spp, *sp, *snext; in sweep_pages() local
1647 spp = &zone->pages; in sweep_pages()
1741 *spp = snext; in sweep_pages()
1760 spp = &sp->next; in sweep_pages()
/openbsd/usr.bin/vi/ex/
H A Dex.c49 ex(SCR **spp) in ex() argument
57 sp = *spp; in ex()
145 *spp = sp; in ex()
161 *spp = screen_next(sp); in ex()
/openbsd/gnu/usr.bin/binutils-2.17/ld/
H A Dldlang.c4027 asection **sections, **spp; in lang_check_section_addresses() local
4059 spp = sections; in lang_check_section_addresses()
4060 s = *spp++; in lang_check_section_addresses()
4071 s = *spp++; in lang_check_section_addresses()

12