HomeSort by: relevance | last modified time | path
    Searched defs:odp (Results 1 - 4 of 4) sorted by relevancy

  /src/lib/libc/compat/sys/
compat_getdents.c 54 struct dirent12 *odp; local in function:getdents
62 odp = (struct dirent12 *)(void *)buf;
67 * In-place conversion. This works because odp
76 odp->d_ino = (uint32_t)ino;
77 if (ndp->d_namlen >= sizeof(odp->d_name))
78 odp->d_namlen = sizeof(odp->d_name) - 1;
80 odp->d_namlen = (u_int8_t)ndp->d_namlen;
81 odp->d_type = ndp->d_type;
82 (void)memcpy(odp->d_name, ndp->d_name, (size_t)odp->d_namlen)
    [all...]
  /src/sys/compat/netbsd32/
netbsd32_conv.h 853 struct dirent12 *odp; local in function:netbsd32_to_dirent12
855 odp = (struct dirent12 *)(void *)buf;
860 * In-place conversion. This works because odp
866 odp->d_fileno = (uint32_t)ndp->d_fileno;
867 if (ndp->d_namlen >= sizeof(odp->d_name))
868 odp->d_namlen = sizeof(odp->d_name) - 1;
870 odp->d_namlen = (uint8_t)ndp->d_namlen;
871 odp->d_type = ndp->d_type;
872 (void)memcpy(odp->d_name, ndp->d_name, (size_t)odp->d_namlen)
    [all...]
  /src/sbin/restore/
dirs.c 342 struct odirect *odp; local in function:putdir
349 for (odp = (struct odirect *)buf; odp < eodp; odp++)
350 if (odp->d_ino != 0) {
351 dcvt(odp, &cvtbuf);
442 dcvt(struct odirect *odp, struct direct *ndp)
447 ndp->d_ino = bswap16(odp->d_ino);
449 ndp->d_ino = odp->d_ino;
451 (void) strncpy(ndp->d_name, odp->d_name, ODIRSIZ)
    [all...]
  /src/sys/net/
if_ppp.c 497 struct ppp_option_data *odp; local in function:pppioctl
598 odp = (struct ppp_option_data *)data;
599 nb = odp->length;
604 if ((error = copyin(odp->ptr, ccp_option, nb)) != 0)
622 if (odp->transmit) {

Completed in 33 milliseconds