Searched refs:WIN_CHARS (Results 1 – 4 of 4) sorted by relevance
/freebsd/usr.sbin/makefs/msdos/ |
H A D | msdosfs_conv.c | 153 return howmany(unlen, WIN_CHARS); in winSlotCnt() 164 uint16_t buf[WIN_CHARS]; in winChkName() 180 i = ((wep->weCnt & WIN_CNT) - 1) * WIN_CHARS; in winChkName() 190 if ((wep->weCnt & WIN_LAST) && (len - i > WIN_CHARS)) in winChkName() 206 if (!(char8match(&wn[i], buf, WIN_CHARS))) in winChkName() 249 i = (cnt - 1) * WIN_CHARS; in unix2winfn() 277 if (len > i + WIN_CHARS) in unix2winfn()
|
H A D | direntry.h | 100 #define WIN_CHARS 13 /* Number of chars per winentry */ macro
|
/freebsd/sys/fs/msdosfs/ |
H A D | msdosfs_conv.c | 533 unlen = mbsadjpos((const char **)&un, unlen, (cnt - 1) * WIN_CHARS, 2, in unix2winfn() 634 uint8_t *np, name[WIN_CHARS * 3 + 1]; in win2unixfn() 638 if ((wep->weCnt&WIN_CNT) > howmany(WIN_MAXLEN, WIN_CHARS) in win2unixfn() 753 return howmany(WIN_MAXLEN - wlen/2, WIN_CHARS); in winSlotCnt() 758 return howmany(unlen, WIN_CHARS); in winSlotCnt() 1030 slot = &nbp->nb_buf[id * WIN_CHARS]; in mbnambuf_write() 1041 if (count > WIN_CHARS && nbp->nb_len != 0) { in mbnambuf_write() 1042 if ((id * WIN_CHARS + count + nbp->nb_len) > in mbnambuf_write() 1046 memmove(slot + count, slot + WIN_CHARS, nbp->nb_len); in mbnambuf_write()
|
H A D | direntry.h | 100 #define WIN_CHARS 13 /* Number of chars per winentry */ macro
|