Lines Matching defs:fd
775 int fd = CAST_DOWN_EXPLICIT(int,uap->sem);
779 AUDIT_ARG(fd, fd); /* XXX This seems wrong; uap->sem is a pointer */
782 error = fp_lookup(p,fd, &fp, 1);
787 procfdtbl_markclosefd(p, fd);
789 fdrelse(p, fd);
806 int fd = CAST_DOWN_EXPLICIT(int,uap->sem);
813 error = fp_getfpsem(p, fd, &fp, &pnode);
858 fp_drop(p, fd, fp, 0);
866 int fd = CAST_DOWN_EXPLICIT(int,uap->sem);
874 error = fp_getfpsem(p, fd, &fp, &pnode);
924 fp_drop(p, fd, fp, 0);
931 int fd = CAST_DOWN_EXPLICIT(int,uap->sem);
938 error = fp_getfpsem(p, fd, &fp, &pnode);
983 fp_drop(p, fd, fp, 0);