Home
last modified time | relevance | path

Searched refs:mplen (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/halt/
H A Dhalt.c871 *mplen = location - arg; in validate_unix()
1152 mplen = strlen(mountpoint); in parse_fastboot_args()
1153 bcopy(mountpoint, unixfile, mplen); in parse_fastboot_args()
1162 } else if (mplen != 0) { in parse_fastboot_args()
1170 (void) snprintf(&unixfile[mplen], in parse_fastboot_args()
1171 sizeof (unixfile) - mplen, in parse_fastboot_args()
1174 (void) snprintf(&unixfile[mplen], in parse_fastboot_args()
1175 sizeof (unixfile) - mplen, in parse_fastboot_args()
1209 if (mplen > 0) { in parse_fastboot_args()
1214 bcopy(&unixfile[mplen], &bootargs_buf[mplen + space], in parse_fastboot_args()
[all …]
/illumos-gate/usr/src/lib/libumem/amd64/
H A Dumem_genasm.c561 size_t mplen, fplen; in umem_genasm() local
572 mplen = P2ROUNDUP(umem_genasm_msize, pagesize); in umem_genasm()
583 mplen += pagesize; in umem_genasm()
591 if (mprotect((void *)mpbase, mplen, PROT_READ | PROT_WRITE | in umem_genasm()
598 if (mprotect((void *)mpbase, mplen, PROT_READ | PROT_EXEC) != in umem_genasm()
655 if (mprotect((void *)mpbase, mplen, PROT_READ | PROT_EXEC) != 0) { in umem_genasm()
/illumos-gate/usr/src/lib/libumem/i386/
H A Dumem_genasm.c551 size_t mplen, fplen; in umem_genasm() local
562 mplen = P2ROUNDUP(umem_genasm_msize, pagesize); in umem_genasm()
573 mplen += pagesize; in umem_genasm()
581 if (mprotect((void *)mpbase, mplen, PROT_READ | PROT_WRITE | in umem_genasm()
588 if (mprotect((void *)mpbase, mplen, PROT_READ | PROT_EXEC) != in umem_genasm()
647 if (mprotect((void *)mpbase, mplen, PROT_READ | PROT_EXEC) != 0) { in umem_genasm()
/illumos-gate/usr/src/cmd/svr4pkg/pkgcond/
H A Dmain.c2164 long mplen = strlen(list[n].fsi_mntPoint); in cmd_is_path_writable() local
2165 if (rootPathLen < mplen) { in cmd_is_path_writable()
2169 if (strncmp(rootPath, list[n].fsi_mntPoint, mplen) == 0) { in cmd_is_path_writable()