Lines Matching defs:oflp
948 bsd_to_sunos_flock(struct flock *iflp, struct sunos_flock *oflp)
951 memset(oflp, 0, sizeof(*oflp));
955 oflp->l_type = SUNOS_F_RDLCK;
958 oflp->l_type = SUNOS_F_WRLCK;
961 oflp->l_type = SUNOS_F_UNLCK;
964 oflp->l_type = -1;
968 oflp->l_whence = (short) iflp->l_whence;
969 oflp->l_start = (long) iflp->l_start;
970 oflp->l_len = (long) iflp->l_len;
971 oflp->l_pid = (short) iflp->l_pid;
972 oflp->l_xxx = 0;
977 sunos_to_bsd_flock(struct sunos_flock *iflp, struct flock *oflp)
980 memset(oflp, 0, sizeof(*oflp));
984 oflp->l_type = F_RDLCK;
987 oflp->l_type = F_WRLCK;
990 oflp->l_type = F_UNLCK;
993 oflp->l_type = -1;
997 oflp->l_whence = iflp->l_whence;
998 oflp->l_start = (off_t) iflp->l_start;
999 oflp->l_len = (off_t) iflp->l_len;
1000 oflp->l_pid = (pid_t) iflp->l_pid;