Lines Matching defs:udp
237 struct direct *udp;
256 udp = &hsdep->hs_ufs_dir;
257 if (udp->d_namlen == 1 &&
258 udp->d_name[0] == '.' &&
259 udp->d_name[1] == '\0')
261 if (udp->d_namlen == 2 &&
262 udp->d_name[0] == '.' &&
263 udp->d_name[1] == '.' &&
264 udp->d_name[2] == '\0')
266 if (udp->d_namlen == len && (strcmp(s, udp->d_name)) == 0) {
270 filep->fi_blocknum = hdbtodb(udp->d_ino);
275 ip->i_number = udp->d_ino;
276 return (udp->d_ino);
289 struct direct *udp = &hsdep.hs_ufs_dir;
314 if (udp->d_reclen == 0 && dirp->loc <= ip->i_size) {
644 struct direct *udp = &hsdep->hs_ufs_dir; /* ufs-style dir info */
654 udp->d_reclen = IDE_DIR_LEN(bufp);
655 if (udp->d_reclen == 0)
667 udp->d_ino = hdp->ext_lbn;
692 udp->d_name[0] = '.';
693 udp->d_name[1] = '\0';
694 udp->d_namlen = 1;
697 udp->d_name[0] = '.';
698 udp->d_name[1] = '.';
699 udp->d_name[2] = '\0';
700 udp->d_namlen = 2;
703 udp->d_namlen = 0;
711 udp->d_name[udp->d_namlen++] = c;
713 udp->d_name[udp->d_namlen] = '\0';
720 return (udp->d_reclen);
753 return (udp->d_reclen);
763 struct direct *udp = &hsdep->hs_ufs_dir; /* ufs-style info */
801 udp->d_namlen = RRIP_NAME_LEN(susp);
803 udp->d_name, udp->d_namlen);
804 udp->d_name[udp->d_namlen] = '\0';