Searched refs:mplen (Results 1 – 5 of 5) sorted by relevance
/illumos-gate/usr/src/cmd/halt/ |
H A D | halt.c | 837 validate_unix(char *arg, int *mplen, int *is_zfs, char *bootfs_arg) in validate_unix() argument 871 *mplen = location - arg; in validate_unix() 1007 int mplen; /* length of the mount point */ in parse_fastboot_args() local 1152 mplen = strlen(mountpoint); in parse_fastboot_args() 1153 bcopy(mountpoint, unixfile, mplen); in parse_fastboot_args() 1159 bcopy(newarg, &unixfile[mplen], strlen(newarg)); 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() [all …]
|
/illumos-gate/usr/src/lib/libumem/amd64/ |
H A D | umem_genasm.c | 561 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 D | umem_genasm.c | 551 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/uts/common/io/mac/ |
H A D | mac_test.c | 188 size_t mplen; in mac_sw_cksum_ipv4_tcp_test() local 207 mplen = ehsz + ipsz + tcpsz + msglen; in mac_sw_cksum_ipv4_tcp_test() 208 mp = allocb(mplen, 0); in mac_sw_cksum_ipv4_tcp_test() 210 mp->b_wptr = mp->b_rptr + mplen; in mac_sw_cksum_ipv4_tcp_test() 263 size_t mplen; in mac_sw_cksum_ipv4_bad_proto_test() local 280 mplen = ehsz + ipsz + tcpsz + msglen; in mac_sw_cksum_ipv4_bad_proto_test() 281 mp = allocb(mplen, 0); in mac_sw_cksum_ipv4_bad_proto_test() 283 mp->b_wptr = mp->b_rptr + mplen; in mac_sw_cksum_ipv4_bad_proto_test()
|
/illumos-gate/usr/src/cmd/svr4pkg/pkgcond/ |
H A D | main.c | 2164 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()
|