Lines Matching defs:current
323 struct dirent current;
372 cl = idp->current.d_namlen;
373 cname = idp->current.d_name;
388 idp->current.d_reclen = DIRSIZ(&idp->current);
390 bcopy(&idp->current,&idp->saveent,idp->current.d_reclen);
435 idp->saveent.d_type = idp->current.d_type = DT_UNKNOWN;
486 idp->current.d_namlen = isonum_711(ep->name_len);
488 if (reclen < ISO_DIRECTORY_RECORD_SIZE + idp->current.d_namlen) {
504 idp->current.d_fileno = isodirino(ep, imp);
506 idp->current.d_fileno = ((daddr_t)buf_blkno(bp) << imp->im_bshift) +
514 cd9660_rrip_getname(ep,idp->current.d_name, &namelen,
515 &idp->current.d_fileno,imp);
516 idp->current.d_namlen = (u_char)namelen;
517 if (idp->current.d_namlen)
518 error = iso_uiodir(idp,&idp->current,idp->curroff);
522 ucsfntrans((u_int16_t *)ep->name, idp->current.d_namlen,
523 idp->current.d_name, &namelen,
526 idp->current.d_namlen = (u_char)namelen;
527 if (idp->current.d_namlen)
528 error = iso_uiodir(idp,&idp->current,idp->curroff);
532 strlcpy(idp->current.d_name, "..",
536 idp->current.d_namlen = 1;
537 error = iso_uiodir(idp,&idp->current,idp->curroff);
540 idp->current.d_namlen = 2;
541 error = iso_uiodir(idp,&idp->current,idp->curroff);
544 isofntrans(ep->name,idp->current.d_namlen,
545 idp->current.d_name, &namelen,
548 idp->current.d_namlen = (u_char)namelen;
552 error = iso_uiodir(idp,&idp->current,idp->curroff);
563 idp->current.d_namlen = 0;
938 * complex, and the current code only adds 2.5% overhead compared to reading
953 off_t sect_off; /* starting offset into current sector */
954 u_int count; /* number of bytes to transfer in current block */