Home
last modified time | relevance | path

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

/fs/ntfs/
Dunistr.c89 u16 c1, c2; in ntfs_collate_names() local
95 c1 = le16_to_cpu(*name1++); in ntfs_collate_names()
98 if (c1 < upcase_len) in ntfs_collate_names()
99 c1 = le16_to_cpu(upcase[c1]); in ntfs_collate_names()
103 if (c1 < 64 && legal_ansi_char_array[c1] & 8) in ntfs_collate_names()
105 if (c1 < c2) in ntfs_collate_names()
107 if (c1 > c2) in ntfs_collate_names()
115 c1 = le16_to_cpu(*name1); in ntfs_collate_names()
116 if (c1 < 64 && legal_ansi_char_array[c1] & 8) in ntfs_collate_names()
137 u16 c1, c2; in ntfs_ucsncmp() local
[all …]
/fs/hfsplus/
Dunicode.c35 u16 len1, len2, c1, c2; in hfsplus_strcasecmp() local
44 c1 = c2 = 0; in hfsplus_strcasecmp()
46 while (len1 && !c1) { in hfsplus_strcasecmp()
47 c1 = case_fold(be16_to_cpu(*p1)); 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
78 c1 = be16_to_cpu(*p1); in hfsplus_strcmp()
80 if (c1 != c2) in hfsplus_strcmp()
[all …]
/fs/unicode/
Dutf8-core.c28 int c1, c2; in utf8_strncmp() local
37 c1 = utf8byte(&cur1); in utf8_strncmp()
40 if (c1 < 0 || c2 < 0) in utf8_strncmp()
42 if (c1 != c2) in utf8_strncmp()
44 } while (c1); in utf8_strncmp()
55 int c1, c2; in utf8_strncasecmp() local
64 c1 = utf8byte(&cur1); in utf8_strncasecmp()
67 if (c1 < 0 || c2 < 0) in utf8_strncasecmp()
69 if (c1 != c2) in utf8_strncasecmp()
71 } while (c1); in utf8_strncasecmp()
[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 …]
Dname.c83 unsigned char c1 = upcase(hpfs_sb(s)->sb_cp_table,n1[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()
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()
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()
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()
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()
109 if (!((*c2 - 1) & *c2)) *c1 = key; in hpfs_stop_cycles()
/fs/nfsd/
Dfilecache.c863 nfsd_match_cred(const struct cred *c1, const struct cred *c2) in nfsd_match_cred() argument
867 if (!uid_eq(c1->fsuid, c2->fsuid)) in nfsd_match_cred()
869 if (!gid_eq(c1->fsgid, c2->fsgid)) in nfsd_match_cred()
871 if (c1->group_info == NULL || c2->group_info == NULL) in nfsd_match_cred()
872 return c1->group_info == c2->group_info; in nfsd_match_cred()
873 if (c1->group_info->ngroups != c2->group_info->ngroups) in nfsd_match_cred()
875 for (i = 0; i < c1->group_info->ngroups; i++) { in nfsd_match_cred()
876 if (!gid_eq(c1->group_info->gid[i], c2->group_info->gid[i])) in nfsd_match_cred()
/fs/cifs/
Ddir.c847 wchar_t c1, c2; in cifs_ci_compare() local
861 l1 = codepage->char2uni(&str[i], len - i, &c1); in cifs_ci_compare()
883 if (cifs_toupper(c1) != cifs_toupper(c2)) in cifs_ci_compare()
/fs/exfat/
Dnamei.c109 wchar_t c1, c2; in exfat_d_cmp() local
116 charlen = t->char2uni(&name->name[i], alen - i, &c1); in exfat_d_cmp()
122 if (exfat_toupper(sb, c1) != exfat_toupper(sb, c2)) in exfat_d_cmp()
/fs/ubifs/
Dsuper.c2262 struct ubifs_info *c1 = data; in sb_test() local
2265 return c->vi.cdev == c1->vi.cdev; in sb_test()
2313 struct ubifs_info *c1 = sb->s_fs_info; in ubifs_mount() local
2317 if (!!(flags & SB_RDONLY) != c1->ro_mount) { in ubifs_mount()