222: if (p->size == 0 ||
223: ChkSpaceRW(p->buf, (INT)p->size) < 0) {
224: err = EX_INVAL;
286: if (p->buf == NULL || p->bufsz <= 0 ||
287: ChkSpaceRW(p->buf, (INT)p->bufsz) < 0) {
288: err = EX_INVAL;
297: if (p->count != 0 &&
298: ChkSpaceRW(p->buf, (INT)p->count) < 0) {
299: err = EX_INVAL;
351: if (ChkSpaceBstrR((void *)p->path, 0) < 0 ||
352: ChkSpaceRW(p->buf, sizeof(*p->buf)) < 0) {
353: err = EX_INVAL;
362: if (ChkSpaceBstrR((void *)p->path, 0) < 0 ||
363: ChkSpaceRW(p->ubuf, sizeof(*p->ubuf)) < 0) {
364: err = EX_INVAL;
373: if (ChkSpaceBstrR((void *)p->path, 0) < 0 ||
374: ChkSpaceRW(p->mbuf, sizeof(*p->mbuf)) < 0) {
375: err = EX_INVAL;
384: if (ChkSpaceBstrR((void *)p->path, 0) < 0 ||
385: ChkSpaceRW(p->buf64, sizeof(*p->buf64)) < 0) {
386: err = EX_INVAL;
395: if (ChkSpaceBstrR((void *)p->path, 0) < 0 ||
396: ChkSpaceRW(p->ubuf64, sizeof(*p->ubuf64)) < 0) {
397: err = EX_INVAL;
406: if (ChkSpaceBstrR((void *)p->path, 0) < 0 ||
407: ChkSpaceRW(p->mbuf64, sizeof(*p->mbuf64)) < 0) {
408: err = EX_INVAL;
416:
417: if (ChkSpaceRW(p->buf, sizeof(*p->buf)) < 0) {
418: err = EX_INVAL;
426:
427: if (ChkSpaceRW(p->ubuf, sizeof(*p->ubuf)) < 0) {
428: err = EX_INVAL;
436:
437: if (ChkSpaceRW(p->mbuf, sizeof(*p->mbuf)) < 0) {
438: err = EX_INVAL;
446:
447: if (ChkSpaceRW(p->buf64, sizeof(*p->buf64)) < 0) {
448: err = EX_INVAL;
456:
457: if (ChkSpaceRW(p->ubuf64, sizeof(*p->ubuf64)) < 0) {
458: err = EX_INVAL;
466:
467: if (ChkSpaceRW(p->mbuf64, sizeof(*p->mbuf64)) < 0) {
468: err = EX_INVAL;
513: if (p->tim != NULL) {
514: if (ChkSpaceRW((void *)p->tim,
515: sizeof(struct timeval) * 2) < 0) {
535: if (ChkSpaceBstrR((void *)p->path, 0) < 0 ||
536: (p->tim_u != NULL && ( ChkSpaceRW((void *)p->tim_u,
537: sizeof(SYSTIM_U) * 2) < 0 ||
548: if (ChkSpaceBstrR((void *)p->path, 0) < 0 ||
549: (p->tim_m != NULL && ChkSpaceRW((void *)p->tim_m,
550: sizeof(SYSTIM) * 2) < 0) ) {
560: if (ChkSpaceBstrR((void *)p->path, 0) < 0 ||
561: ChkSpaceRW(p->buf, sizeof(*p->buf)) < 0 ) {
562: err = EX_INVAL;
570:
571: if (ChkSpaceRW(p->buf, sizeof(*p->buf)) < 0) {
572: err = EX_INVAL;
606: ((p->request & IOC_OUT) != 0 &&
607: ChkSpaceRW(p->arg, len) < 0) ||
608: ((p->request & IOC_IN) != 0 &&
623: ((p->cmd & FCTL_OUT) != 0 &&
624: ChkSpaceRW(p->arg, len) < 0) ||
625: ((p->cmd & FCTL_IN) != 0 &&