/fs/ntfs/ |
D | unistr.c | 89 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/ |
D | unicode.c | 35 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/ |
D | utf8-core.c | 24 int c1, c2; in utf8_strncmp() local 33 c1 = utf8byte(&cur1); in utf8_strncmp() 36 if (c1 < 0 || c2 < 0) in utf8_strncmp() 38 if (c1 != c2) in utf8_strncmp() 40 } while (c1); in utf8_strncmp() 50 int c1, c2; in utf8_strncasecmp() local 59 c1 = utf8byte(&cur1); in utf8_strncasecmp() 62 if (c1 < 0 || c2 < 0) in utf8_strncasecmp() 64 if (c1 != c2) in utf8_strncasecmp() 66 } while (c1); in utf8_strncasecmp() [all …]
|
/fs/hpfs/ |
D | dnode.c | 251 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 …]
|
D | name.c | 83 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()
|
D | anode.c | 21 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()
|
D | dir.c | 74 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()
|
D | super.c | 101 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/ |
D | filecache.c | 117 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() 129 for (i = 0; i < c1->group_info->ngroups; i++) { 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/ |
D | dir.c | 819 wchar_t c1, c2; local 833 l1 = codepage->char2uni(&str[i], len - i, &c1); 855 if (cifs_toupper(c1) != cifs_toupper(c2))
|
D | dfs_cache.c | 625 wchar_t c1, c2; in dfs_path_equal() local 631 l1 = cache_cp->char2uni(&s1[i], len1 - i, &c1); in dfs_path_equal() 641 if (cifs_toupper(c1) != cifs_toupper(c2)) in dfs_path_equal()
|
/fs/exfat/ |
D | namei.c | 115 wchar_t c1, c2; in exfat_d_cmp() local 122 charlen = t->char2uni(&name->name[i], alen - i, &c1); in exfat_d_cmp() 128 if (exfat_toupper(sb, c1) != exfat_toupper(sb, c2)) in exfat_d_cmp()
|
/fs/ubifs/ |
D | super.c | 2267 struct ubifs_info *c1 = data; in sb_test() local 2270 return c->vi.cdev == c1->vi.cdev; in sb_test() 2318 struct ubifs_info *c1 = sb->s_fs_info; in ubifs_mount() local 2322 if (!!(flags & SB_RDONLY) != c1->ro_mount) { in ubifs_mount()
|
/fs/ |
D | namei.c | 3047 struct dentry *lock_rename_child(struct dentry *c1, struct dentry *p2) in lock_rename_child() argument 3049 if (READ_ONCE(c1->d_parent) == p2) { in lock_rename_child() 3058 if (likely(c1->d_parent == p2)) in lock_rename_child() 3068 mutex_lock(&c1->d_sb->s_vfs_rename_mutex); in lock_rename_child() 3072 if (likely(c1->d_parent != p2)) in lock_rename_child() 3073 return lock_two_directories(c1->d_parent, p2); in lock_rename_child() 3081 mutex_unlock(&c1->d_sb->s_vfs_rename_mutex); in lock_rename_child()
|