Lines Matching defs:forbidden
1477 * Check whether a name contains no chars forbidden
1480 * If @strict is TRUE, then trailing dots and spaces are forbidden.
1489 BOOL forbidden;
1500 forbidden = (len == 0) ||
1510 forbidden = TRUE;
1512 if (forbidden)
1514 return (forbidden);
1518 * Check whether a name contains no forbidden chars and
1524 * If @strict is TRUE, then trailing dots and spaces are forbidden.
1528 * If the name is forbidden, errno is set to EINVAL
1534 BOOL forbidden;
1550 forbidden = ntfs_forbidden_chars(name, len, strict);
1551 if (!forbidden && (len >= 3)) {
1567 forbidden = TRUE;
1573 forbidden = TRUE;
1579 forbidden = TRUE;
1588 forbidden = TRUE;
1597 forbidden = TRUE;
1603 if (forbidden)
1605 return (forbidden);