/fs/hfsplus/ |
D | unicode.c | 34 u16 len1, len2, c1, c2; in hfsplus_strcasecmp() local 43 c1 = c2 = 0; in hfsplus_strcasecmp() 50 while (len2 && !c2) { in hfsplus_strcasecmp() 51 c2 = case_fold(be16_to_cpu(*p2)); in hfsplus_strcasecmp() 56 if (c1 != c2) in hfsplus_strcasecmp() 57 return (c1 < c2) ? -1 : 1; in hfsplus_strcasecmp() 58 if (!c1 && !c2) in hfsplus_strcasecmp() 67 u16 len1, len2, c1, c2; in hfsplus_strcmp() local 78 c2 = be16_to_cpu(*p2); in hfsplus_strcmp() 79 if (c1 != c2) in hfsplus_strcmp() [all …]
|
/fs/ntfs/ |
D | unistr.c | 103 u16 c1, c2; in ntfs_collate_names() local 110 c2 = le16_to_cpu(*name2++); in ntfs_collate_names() 114 if (c2 < upcase_len) in ntfs_collate_names() 115 c2 = le16_to_cpu(upcase[c2]); in ntfs_collate_names() 119 if (c1 < c2) in ntfs_collate_names() 121 if (c1 > c2) in ntfs_collate_names() 151 u16 c1, c2; in ntfs_ucsncmp() local 156 c2 = le16_to_cpu(s2[i]); in ntfs_ucsncmp() 157 if (c1 < c2) in ntfs_ucsncmp() 159 if (c1 > c2) in ntfs_ucsncmp() [all …]
|
/fs/adfs/ |
D | dir.c | 118 char c1, c2; in adfs_match() local 121 c2 = obj->name[i]; in adfs_match() 125 if (c2 >= 'A' && c2 <= 'Z') in adfs_match() 126 c2 += 'a' - 'A'; in adfs_match() 128 if (c1 != c2) in adfs_match()
|
/fs/hpfs/ |
D | dnode.c | 240 int c1, c2 = 0; in hpfs_add_to_dnode() local 259 if (hpfs_stop_cycles(i->i_sb, dno, &c1, &c2, "hpfs_add_to_dnode")) { in hpfs_add_to_dnode() 386 int c1, c2 = 0; in hpfs_add_dirent() local 390 if (hpfs_stop_cycles(i->i_sb, dno, &c1, &c2, "hpfs_add_dirent")) return 1; in hpfs_add_dirent() 432 int c1, c2 = 0; in move_to_top() local 436 if (hpfs_stop_cycles(i->i_sb, dno, &c1, &c2, "move_to_top")) in move_to_top() 516 int c1, c2 = 0; in delete_empty_dnode() local 518 if (hpfs_stop_cycles(i->i_sb, dno, &c1, &c2, "delete_empty_dnode")) return; in delete_empty_dnode() 739 int c1, c2 = 0; in hpfs_count_dnodes() local 744 if (hpfs_stop_cycles(s, dno, &c1, &c2, "hpfs_count_dnodes #1")) return; in hpfs_count_dnodes() [all …]
|
D | name.c | 82 unsigned char c2 = upcase(hpfs_sb(s)->sb_cp_table,n2[i]); in hpfs_compare_names() local 83 if (c1 < c2) return -1; in hpfs_compare_names() 84 if (c1 > c2) return 1; in hpfs_compare_names()
|
D | anode.c | 20 int c1, c2 = 0; in hpfs_bplus_lookup() local 22 if (hpfs_sb(s)->sb_chk) if (hpfs_stop_cycles(s, a, &c1, &c2, "hpfs_bplus_lookup")) return -1; in hpfs_bplus_lookup() 70 int c1, c2 = 0; in hpfs_add_sector_to_btree() local 91 if (hpfs_stop_cycles(s, a, &c1, &c2, "hpfs_add_sector_to_btree #1")) return -1; in hpfs_add_sector_to_btree() 163 c2 = 0; in hpfs_add_sector_to_btree() 167 if (hpfs_stop_cycles(s, up, &c1, &c2, "hpfs_add_sector_to_btree #2")) return -1; in hpfs_add_sector_to_btree() 282 int c1, c2 = 0; in hpfs_remove_btree() local 303 if (hpfs_stop_cycles(s, ano, &c1, &c2, "hpfs_remove_btree #2")) return; in hpfs_remove_btree() 406 int c1, c2 = 0; in hpfs_truncate_btree() local 447 if (hpfs_stop_cycles(s, node, &c1, &c2, "hpfs_truncate_btree")) in hpfs_truncate_btree()
|
D | super.c | 92 int hpfs_stop_cycles(struct super_block *s, int key, int *c1, int *c2, in hpfs_stop_cycles() argument 95 if (*c2 && *c1 == key) { in hpfs_stop_cycles() 99 (*c2)++; in hpfs_stop_cycles() 100 if (!((*c2 - 1) & *c2)) *c1 = key; in hpfs_stop_cycles()
|
D | dir.c | 69 int c1, c2 = 0; in hpfs_readdir() local 123 if (hpfs_stop_cycles(inode->i_sb, filp->f_pos, &c1, &c2, "hpfs_readdir")) { in hpfs_readdir()
|