/fs/hfs/ |
D | trans.c | 46 wchar_t ch; in hfs_mac2asc() local 50 size = nls_disk->char2uni(src, srclen, &ch); in hfs_mac2asc() 52 ch = '?'; in hfs_mac2asc() 58 ch = *src++; in hfs_mac2asc() 61 if (ch == '/') in hfs_mac2asc() 62 ch = ':'; in hfs_mac2asc() 63 size = nls_io->uni2char(ch, dst, dstlen); in hfs_mac2asc() 74 char ch; in hfs_mac2asc() local 77 *dst++ = (ch = *src++) == '/' ? ':' : ch; in hfs_mac2asc() 108 wchar_t ch; in hfs_asc2mac() local [all …]
|
/fs/cifs/ |
D | asn1.c | 115 asn1_octet_decode(struct asn1_ctx *ctx, unsigned char *ch) in asn1_octet_decode() argument 121 *ch = *(ctx->pointer)++; in asn1_octet_decode() 128 unsigned char ch; in asn1_tag_decode() local 133 if (!asn1_octet_decode(ctx, &ch)) in asn1_tag_decode() 136 *tag |= ch & 0x7F; in asn1_tag_decode() 137 } while ((ch & 0x80) == 0x80); in asn1_tag_decode() 145 unsigned char ch; in asn1_id_decode() local 147 if (!asn1_octet_decode(ctx, &ch)) in asn1_id_decode() 150 *cls = (ch & 0xC0) >> 6; in asn1_id_decode() 151 *con = (ch & 0x20) >> 5; in asn1_id_decode() [all …]
|
/fs/ubifs/ |
D | io.c | 100 const struct ubifs_ch *ch = buf; in ubifs_check_node() local 105 magic = le32_to_cpu(ch->magic); in ubifs_check_node() 114 type = ch->node_type; in ubifs_check_node() 121 node_len = le32_to_cpu(ch->len); in ubifs_check_node() 137 node_crc = le32_to_cpu(ch->crc); in ubifs_check_node() 183 struct ubifs_ch *ch = buf; in ubifs_pad() local 186 ch->magic = cpu_to_le32(UBIFS_NODE_MAGIC); in ubifs_pad() 187 ch->node_type = UBIFS_PAD_NODE; in ubifs_pad() 188 ch->group_type = UBIFS_NO_NODE_GROUP; in ubifs_pad() 189 ch->padding[0] = ch->padding[1] = 0; in ubifs_pad() [all …]
|
D | scan.c | 72 struct ubifs_ch *ch = buf; in ubifs_scan_a_node() local 75 magic = le32_to_cpu(ch->magic); in ubifs_scan_a_node() 88 dbg_scan("scanning %s", dbg_ntype(ch->node_type)); in ubifs_scan_a_node() 93 if (ch->node_type == UBIFS_PAD_NODE) { in ubifs_scan_a_node() 96 int node_len = le32_to_cpu(ch->len); in ubifs_scan_a_node() 197 struct ubifs_ch *ch = buf; in ubifs_add_snod() local 205 snod->sqnum = le64_to_cpu(ch->sqnum); in ubifs_add_snod() 206 snod->type = ch->node_type; in ubifs_add_snod() 208 snod->len = le32_to_cpu(ch->len); in ubifs_add_snod() 211 switch (ch->node_type) { in ubifs_add_snod() [all …]
|
D | ubifs-media.h | 460 struct ubifs_ch ch; member 500 struct ubifs_ch ch; member 523 struct ubifs_ch ch; member 544 struct ubifs_ch ch; member 558 struct ubifs_ch ch; member 591 struct ubifs_ch ch; member 653 struct ubifs_ch ch; member 694 struct ubifs_ch ch; member 723 struct ubifs_ch ch; member 735 struct ubifs_ch ch; member [all …]
|
D | recovery.c | 92 struct ubifs_ch *ch = buf; in get_master_node() local 94 if (le32_to_cpu(ch->magic) != UBIFS_NODE_MAGIC) in get_master_node() 123 struct ubifs_ch *ch = buf; in get_master_node() local 125 if (ch->node_type != UBIFS_MST_NODE) in get_master_node() 285 c->max_sqnum = le64_to_cpu(mst->ch.sqnum) - 1; in ubifs_recover_master_node() 437 struct ubifs_ch *ch = buf; in no_more_nodes() local 438 int dlen = le32_to_cpu(ch->len); in no_more_nodes() 440 if (ch->node_type == UBIFS_DATA_NODE && dlen >= UBIFS_CH_SZ && in no_more_nodes() 455 struct ubifs_ch *ch = buf; in no_more_nodes() local 456 uint32_t magic = le32_to_cpu(ch->magic); in no_more_nodes() [all …]
|
/fs/affs/ |
D | namei.c | 15 static int affs_toupper(int ch); 18 static int affs_intl_toupper(int ch); 36 affs_toupper(int ch) in affs_toupper() argument 38 return ch >= 'a' && ch <= 'z' ? ch -= ('a' - 'A') : ch; in affs_toupper() 44 affs_intl_toupper(int ch) in affs_intl_toupper() argument 46 return (ch >= 'a' && ch <= 'z') || (ch >= 0xE0 in affs_intl_toupper() 47 && ch <= 0xFE && ch != 0xF7) ? in affs_intl_toupper() 48 ch - ('a' - 'A') : ch; in affs_intl_toupper()
|
/fs/nfsd/ |
D | nfs4idmap.c | 134 idtoname_request(struct cache_detail *cd, struct cache_head *ch, char **bpp, in idtoname_request() argument 137 struct ent *ent = container_of(ch, struct ent, h); in idtoname_request() 280 struct cache_head *ch = sunrpc_cache_lookup(&idtoname_cache, in idtoname_lookup() local 283 if (ch) in idtoname_lookup() 284 return container_of(ch, struct ent, h); in idtoname_lookup() 292 struct cache_head *ch = sunrpc_cache_update(&idtoname_cache, in idtoname_update() local 295 if (ch) in idtoname_update() 296 return container_of(ch, struct ent, h); in idtoname_update() 315 nametoid_request(struct cache_detail *cd, struct cache_head *ch, char **bpp, in nametoid_request() argument 318 struct ent *ent = container_of(ch, struct ent, h); in nametoid_request() [all …]
|
D | export.c | 274 struct cache_head *ch; in svc_expkey_lookup() local 283 ch = sunrpc_cache_lookup(&svc_expkey_cache, &item->h, in svc_expkey_lookup() 285 if (ch) in svc_expkey_lookup() 286 return container_of(ch, struct svc_expkey, h); in svc_expkey_lookup() 294 struct cache_head *ch; in svc_expkey_update() local 303 ch = sunrpc_cache_update(&svc_expkey_cache, &new->h, in svc_expkey_update() 305 if (ch) in svc_expkey_update() 306 return container_of(ch, struct svc_expkey, h); in svc_expkey_update() 744 struct cache_head *ch; in svc_export_lookup() local 750 ch = sunrpc_cache_lookup(&svc_export_cache, &exp->h, in svc_export_lookup() [all …]
|
/fs/isofs/ |
D | joliet.c | 19 __be16 *ip, ch; in uni16_to_x8() local 25 while ((ch = get_unaligned(ip)) && len) { in uni16_to_x8() 27 llen = nls->uni2char(be16_to_cpu(ch), op, NLS_MAX_CHARSET_SIZE); in uni16_to_x8()
|
/fs/nls/ |
D | nls_cp932.c | 7842 unsigned char ch = (uni>>8)&0xFF; in uni2char() local 7847 if (ch == 0xFF && 0x61 <= cl && cl <= 0x9F) { in uni2char() 7851 uni2charset = page_uni2charset[ch]; in uni2char() 7861 } else if (ch == 0) { in uni2char() 7880 unsigned char ch, cl; in char2uni() local 7897 ch = rawstring[0]; in char2uni() 7899 charset2uni = page_charset2uni[ch]; in char2uni()
|
D | nls_cp936.c | 11005 unsigned char ch = (uni>>8)&0xFF; in uni2char() local 11016 if (ch == 0) { /* handle the U00 plane*/ in uni2char() 11035 uni2charset = page_uni2charset[ch]; in uni2char() 11052 unsigned char ch, cl; in char2uni() local 11068 ch = rawstring[0]; in char2uni() 11071 charset2uni = page_charset2uni[ch]; in char2uni() 11078 if (ch==0x80) {/* Euro symbol.The only exception with a non-ascii unicode */ in char2uni() 11081 *uni = ch; in char2uni()
|
D | nls_cp950.c | 9402 unsigned char ch = (uni>>8)&0xFF; in uni2char() local 9409 uni2charset = page_uni2charset[ch]; in uni2char() 9418 } else if (ch==0 && cl) { in uni2char() 9431 unsigned char ch, cl; in char2uni() local 9443 ch = rawstring[0]; in char2uni() 9446 charset2uni = page_charset2uni[ch]; in char2uni() 9453 *uni = ch; in char2uni()
|
D | nls_ascii.c | 124 unsigned char ch = (uni & 0xff00) >> 8; in uni2char() local 129 uni2charset = page_uni2charset[ch]; in uni2char()
|
D | nls_iso8859-6.c | 221 unsigned char ch = (uni & 0xff00) >> 8; in uni2char() local 226 uni2charset = page_uni2charset[ch]; in uni2char()
|
D | nls_iso8859-2.c | 266 unsigned char ch = (uni & 0xff00) >> 8; in uni2char() local 271 uni2charset = page_uni2charset[ch]; in uni2char()
|
D | nls_iso8859-1.c | 215 unsigned char ch = (uni & 0xff00) >> 8; in uni2char() local 220 uni2charset = page_uni2charset[ch]; in uni2char()
|
D | nls_iso8859-3.c | 266 unsigned char ch = (uni & 0xff00) >> 8; in uni2char() local 271 uni2charset = page_uni2charset[ch]; in uni2char()
|
D | nls_iso8859-4.c | 266 unsigned char ch = (uni & 0xff00) >> 8; in uni2char() local 271 uni2charset = page_uni2charset[ch]; in uni2char()
|
D | nls_iso8859-9.c | 230 unsigned char ch = (uni & 0xff00) >> 8; in uni2char() local 235 uni2charset = page_uni2charset[ch]; in uni2char()
|
D | nls_cp949.c | 13866 unsigned char ch = (uni>>8)&0xFF; in uni2char() local 13873 uni2charset = page_uni2charset[ch]; in uni2char() 13882 } else if (ch==0 && cl) { in uni2char() 13895 unsigned char ch, cl; in char2uni() local 13907 ch = rawstring[0]; in char2uni() 13910 charset2uni = page_charset2uni[ch]; in char2uni() 13917 *uni = ch; in char2uni()
|
D | nls_cp852.c | 295 unsigned char ch = (uni & 0xff00) >> 8; in uni2char() local 300 uni2charset = page_uni2charset[ch]; in uni2char()
|
D | nls_cp737.c | 308 unsigned char ch = (uni & 0xff00) >> 8; in uni2char() local 313 uni2charset = page_uni2charset[ch]; in uni2char()
|
D | nls_cp862.c | 379 unsigned char ch = (uni & 0xff00) >> 8; in uni2char() local 384 uni2charset = page_uni2charset[ch]; in uni2char()
|
D | nls_cp855.c | 257 unsigned char ch = (uni & 0xff00) >> 8; in uni2char() local 262 uni2charset = page_uni2charset[ch]; in uni2char()
|