Lines Matching refs:nm
112 uint_t last_offset, char *nm, int nmlen, struct hsfs *fsp,
115 static int strip_trailing(struct hsfs *fsp, char *nm, int len);
116 static int hs_namelen(struct hsfs *fsp, char *nm, int len);
1445 char *nm, /* upcase nm to compare against */ in process_dirblock() argument
1565 rr_namelen = rrip_namecopy(nm, &rrip_name_str[0], in process_dirblock()
1643 !HSFS_HAVE_LOWER_CASE(fsp) && *nm < *dname) { in process_dirblock()
1644 RESTORE_NM(rrip_tmp_name, nm); in process_dirblock()
1648 if (*nm != *dname || nmlen != dnamelen) in process_dirblock()
1651 if ((res = bcmp(dname, nm, nmlen)) == 0) { in process_dirblock()
1673 RESTORE_NM(rrip_tmp_name, nm); in process_dirblock()
1678 RESTORE_NM(rrip_tmp_name, nm); in process_dirblock()
1683 RESTORE_NM(rrip_tmp_name, nm); in process_dirblock()
1689 RESTORE_NM(rrip_tmp_name, nm); in process_dirblock()
1698 RESTORE_NM(rrip_tmp_name, nm); in process_dirblock()
1720 strip_trailing(struct hsfs *fsp, char *nm, int len) in strip_trailing() argument
1725 for (c = nm + len - 1; c > nm; c--) { in strip_trailing()
1735 return ((int)(c - nm + 1)); in strip_trailing()
1739 hs_namelen(struct hsfs *fsp, char *nm, int len) in hs_namelen() argument
1741 char *p = nm + len; in hs_namelen()
1748 while (--p > &nm[1]) { in hs_namelen()
1752 return (p - nm); in hs_namelen()
1755 return (p - nm); in hs_namelen()
1761 while (--p > nm) { in hs_namelen()
1764 return (p - nm); in hs_namelen()
1767 return (p - nm); in hs_namelen()