Home
last modified time | relevance | path

Searched refs:c2 (Results 1 – 12 of 12) sorted by relevance

/fs/hfsplus/
Dunicode.c35 u16 len1, len2, c1, c2; in hfsplus_strcasecmp() local
44 c1 = c2 = 0; in hfsplus_strcasecmp()
51 while (len2 && !c2) { in hfsplus_strcasecmp()
52 c2 = case_fold(be16_to_cpu(*p2)); in hfsplus_strcasecmp()
57 if (c1 != c2) in hfsplus_strcasecmp()
58 return (c1 < c2) ? -1 : 1; in hfsplus_strcasecmp()
59 if (!c1 && !c2) in hfsplus_strcasecmp()
68 u16 len1, len2, c1, c2; in hfsplus_strcmp() local
79 c2 = be16_to_cpu(*p2); in hfsplus_strcmp()
80 if (c1 != c2) in hfsplus_strcmp()
[all …]
/fs/ntfs/
Dunistr.c89 u16 c1, c2; in ntfs_collate_names() local
96 c2 = le16_to_cpu(*name2++); in ntfs_collate_names()
100 if (c2 < upcase_len) in ntfs_collate_names()
101 c2 = le16_to_cpu(upcase[c2]); in ntfs_collate_names()
105 if (c1 < c2) in ntfs_collate_names()
107 if (c1 > c2) in ntfs_collate_names()
137 u16 c1, c2; in ntfs_ucsncmp() local
142 c2 = le16_to_cpu(s2[i]); in ntfs_ucsncmp()
143 if (c1 < c2) in ntfs_ucsncmp()
145 if (c1 > c2) in ntfs_ucsncmp()
[all …]
/fs/unicode/
Dutf8-core.c24 int c1, c2; in utf8_strncmp() local
34 c2 = utf8byte(&cur2); in utf8_strncmp()
36 if (c1 < 0 || c2 < 0) in utf8_strncmp()
38 if (c1 != c2) in utf8_strncmp()
50 int c1, c2; in utf8_strncasecmp() local
60 c2 = utf8byte(&cur2); in utf8_strncasecmp()
62 if (c1 < 0 || c2 < 0) in utf8_strncasecmp()
64 if (c1 != c2) in utf8_strncasecmp()
80 int c1, c2; in utf8_strncasecmp_folded() local
88 c2 = cf->name[i++]; in utf8_strncasecmp_folded()
[all …]
/fs/hpfs/
Ddnode.c251 int c1, c2 = 0; in hpfs_add_to_dnode() local
270 if (hpfs_stop_cycles(i->i_sb, dno, &c1, &c2, "hpfs_add_to_dnode")) { in hpfs_add_to_dnode()
397 int c1, c2 = 0; in hpfs_add_dirent() local
401 if (hpfs_stop_cycles(i->i_sb, dno, &c1, &c2, "hpfs_add_dirent")) return 1; in hpfs_add_dirent()
442 int c1, c2 = 0; in move_to_top() local
446 if (hpfs_stop_cycles(i->i_sb, dno, &c1, &c2, "move_to_top")) in move_to_top()
526 int c1, c2 = 0; in delete_empty_dnode() local
528 if (hpfs_stop_cycles(i->i_sb, dno, &c1, &c2, "delete_empty_dnode")) return; in delete_empty_dnode()
750 int c1, c2 = 0; in hpfs_count_dnodes() local
755 if (hpfs_stop_cycles(s, dno, &c1, &c2, "hpfs_count_dnodes #1")) return; in hpfs_count_dnodes()
[all …]
Danode.c21 int c1, c2 = 0; in hpfs_bplus_lookup() local
23 if (hpfs_sb(s)->sb_chk) if (hpfs_stop_cycles(s, a, &c1, &c2, "hpfs_bplus_lookup")) return -1; in hpfs_bplus_lookup()
71 int c1, c2 = 0; in hpfs_add_sector_to_btree() local
92 if (hpfs_stop_cycles(s, a, &c1, &c2, "hpfs_add_sector_to_btree #1")) return -1; in hpfs_add_sector_to_btree()
164 c2 = 0; in hpfs_add_sector_to_btree()
168 if (hpfs_stop_cycles(s, up, &c1, &c2, "hpfs_add_sector_to_btree #2")) return -1; in hpfs_add_sector_to_btree()
283 int c1, c2 = 0; in hpfs_remove_btree() local
304 if (hpfs_stop_cycles(s, ano, &c1, &c2, "hpfs_remove_btree #2")) return; in hpfs_remove_btree()
407 int c1, c2 = 0; in hpfs_truncate_btree() local
448 if (hpfs_stop_cycles(s, node, &c1, &c2, "hpfs_truncate_btree")) in hpfs_truncate_btree()
Dname.c84 unsigned char c2 = upcase(hpfs_sb(s)->sb_cp_table,n2[i]); in hpfs_compare_names() local
85 if (c1 < c2) return -1; in hpfs_compare_names()
86 if (c1 > c2) return 1; in hpfs_compare_names()
Dsuper.c101 int hpfs_stop_cycles(struct super_block *s, int key, int *c1, int *c2, in hpfs_stop_cycles() argument
104 if (*c2 && *c1 == key) { in hpfs_stop_cycles()
108 (*c2)++; in hpfs_stop_cycles()
109 if (!((*c2 - 1) & *c2)) *c1 = key; in hpfs_stop_cycles()
Ddir.c74 int c1, c2 = 0; in hpfs_readdir() local
128 if (hpfs_stop_cycles(inode->i_sb, ctx->pos, &c1, &c2, "hpfs_readdir")) { in hpfs_readdir()
/fs/nfsd/
Dfilecache.c117 nfsd_match_cred(const struct cred *c1, const struct cred *c2) in nfsd_match_cred() argument
121 if (!uid_eq(c1->fsuid, c2->fsuid)) in nfsd_match_cred()
123 if (!gid_eq(c1->fsgid, c2->fsgid)) in nfsd_match_cred()
125 if (c1->group_info == NULL || c2->group_info == NULL) in nfsd_match_cred()
126 return c1->group_info == c2->group_info; in nfsd_match_cred()
127 if (c1->group_info->ngroups != c2->group_info->ngroups) in nfsd_match_cred()
130 if (!gid_eq(c1->group_info->gid[i], c2->group_info->gid[i])) in nfsd_match_cred()
/fs/smb/client/
Ddir.c819 wchar_t c1, c2; local
834 l2 = codepage->char2uni(&name->name[i], name->len - i, &c2);
855 if (cifs_toupper(c1) != cifs_toupper(c2))
Ddfs_cache.c625 wchar_t c1, c2; in dfs_path_equal() local
632 l2 = cache_cp->char2uni(&s2[i], len2 - i, &c2); in dfs_path_equal()
641 if (cifs_toupper(c1) != cifs_toupper(c2)) in dfs_path_equal()
/fs/exfat/
Dnamei.c115 wchar_t c1, c2; in exfat_d_cmp() local
125 if (charlen != t->char2uni(&str[i], blen - i, &c2)) in exfat_d_cmp()
128 if (exfat_toupper(sb, c1) != exfat_toupper(sb, c2)) in exfat_d_cmp()