Home
last modified time | relevance | path

Searched refs:WIN_CHARS (Results 1 – 4 of 4) sorted by relevance

/dflybsd-src/usr.sbin/makefs/msdos/
H A Dmsdosfs_conv.c156 return howmany(unlen, WIN_CHARS); in winSlotCnt()
167 uint16_t buf[WIN_CHARS]; in winChkName()
183 i = ((wep->weCnt & WIN_CNT) - 1) * WIN_CHARS; in winChkName()
193 if ((wep->weCnt & WIN_LAST) && (len - i > WIN_CHARS)) in winChkName()
209 if (!(char8match(&wn[i], buf, WIN_CHARS))) in winChkName()
252 i = (cnt - 1) * WIN_CHARS; in unix2winfn()
280 if (len > i + WIN_CHARS) in unix2winfn()
H A Ddirentry.h101 #define WIN_CHARS 13 /* Number of chars per winentry */ macro
/dflybsd-src/sys/vfs/msdosfs/
H A Dmsdosfs_conv.c542 unlen = mbsadjpos((const char **)&un, unlen, (cnt - 1) * WIN_CHARS, 2, in unix2winfn()
638 uint8_t *np, name[WIN_CHARS * 2 + 1]; in win2unixfn()
642 if ((wep->weCnt&WIN_CNT) > howmany(WIN_MAXLEN, WIN_CHARS) in win2unixfn()
761 return howmany(WIN_MAXLEN - wlen/2, WIN_CHARS); in winSlotCnt()
766 return howmany(unlen, WIN_CHARS); in winSlotCnt()
1044 slot = &nbp->nb_buf[id * WIN_CHARS]; in mbnambuf_write()
1053 if (count > WIN_CHARS && nbp->nb_len != 0) { in mbnambuf_write()
1054 if ((id * WIN_CHARS + count + nbp->nb_len) > in mbnambuf_write()
1058 memmove(slot + count, slot + WIN_CHARS, nbp->nb_len); in mbnambuf_write()
H A Ddirentry.h101 #define WIN_CHARS 13 /* Number of chars per winentry */ macro