/fs/hfs/ |
D | trans.c | 48 wchar_t ch; in hfs_mac2asc() local 52 size = nls_disk->char2uni(src, srclen, &ch); in hfs_mac2asc() 54 ch = '?'; in hfs_mac2asc() 60 ch = *src++; in hfs_mac2asc() 63 if (ch == '/') in hfs_mac2asc() 64 ch = ':'; in hfs_mac2asc() 65 size = nls_io->uni2char(ch, dst, dstlen); in hfs_mac2asc() 76 char ch; in hfs_mac2asc() local 79 *dst++ = (ch = *src++) == '/' ? ':' : ch; in hfs_mac2asc() 110 wchar_t ch; in hfs_asc2mac() local [all …]
|
/fs/cifs/ |
D | asn1.c | 107 asn1_octet_decode(struct asn1_ctx *ctx, unsigned char *ch) in asn1_octet_decode() argument 113 *ch = *(ctx->pointer)++; in asn1_octet_decode() 121 unsigned char ch; 128 ch = *(ctx->pointer)++; /* ch has 0xa, ptr points to length octet */ 129 if ((ch) == ASN1_ENUM) /* if ch value is ENUM, 0xa */ 142 unsigned char ch; in asn1_tag_decode() local 147 if (!asn1_octet_decode(ctx, &ch)) in asn1_tag_decode() 150 *tag |= ch & 0x7F; in asn1_tag_decode() 151 } while ((ch & 0x80) == 0x80); in asn1_tag_decode() 159 unsigned char ch; in asn1_id_decode() local [all …]
|
/fs/ubifs/ |
D | io.c | 230 const struct ubifs_ch *ch = buf; in ubifs_check_node() local 235 magic = le32_to_cpu(ch->magic); in ubifs_check_node() 244 type = ch->node_type; in ubifs_check_node() 251 node_len = le32_to_cpu(ch->len); in ubifs_check_node() 267 node_crc = le32_to_cpu(ch->crc); in ubifs_check_node() 313 struct ubifs_ch *ch = buf; in ubifs_pad() local 316 ch->magic = cpu_to_le32(UBIFS_NODE_MAGIC); in ubifs_pad() 317 ch->node_type = UBIFS_PAD_NODE; in ubifs_pad() 318 ch->group_type = UBIFS_NO_NODE_GROUP; in ubifs_pad() 319 ch->padding[0] = ch->padding[1] = 0; in ubifs_pad() [all …]
|
D | ubifs-media.h | 516 struct ubifs_ch ch; member 557 struct ubifs_ch ch; member 578 struct ubifs_ch ch; member 599 struct ubifs_ch ch; member 613 struct ubifs_ch ch; member 653 struct ubifs_ch ch; member 723 struct ubifs_ch ch; member 767 struct ubifs_ch ch; member 780 struct ubifs_ch ch; member 794 struct ubifs_ch ch; member [all …]
|
D | scan.c | 60 struct ubifs_ch *ch = buf; in ubifs_scan_a_node() local 63 magic = le32_to_cpu(ch->magic); in ubifs_scan_a_node() 77 dbg_ntype(ch->node_type), lnum, offs); in ubifs_scan_a_node() 82 if (ch->node_type == UBIFS_PAD_NODE) { in ubifs_scan_a_node() 85 int node_len = le32_to_cpu(ch->len); in ubifs_scan_a_node() 184 struct ubifs_ch *ch = buf; in ubifs_add_snod() local 192 snod->sqnum = le64_to_cpu(ch->sqnum); in ubifs_add_snod() 193 snod->type = ch->node_type; in ubifs_add_snod() 195 snod->len = le32_to_cpu(ch->len); in ubifs_add_snod() 198 switch (ch->node_type) { in ubifs_add_snod() [all …]
|
D | recovery.c | 117 struct ubifs_ch *ch = buf; in get_master_node() local 119 if (le32_to_cpu(ch->magic) != UBIFS_NODE_MAGIC) in get_master_node() 148 struct ubifs_ch *ch = buf; in get_master_node() local 150 if (ch->node_type != UBIFS_MST_NODE) in get_master_node() 338 c->max_sqnum = le64_to_cpu(mst->ch.sqnum) - 1; in ubifs_recover_master_node() 461 struct ubifs_ch *ch = buf; in no_more_nodes() local 462 int skip, dlen = le32_to_cpu(ch->len); in no_more_nodes() 566 struct ubifs_ch *ch; in drop_last_group() local 570 ch = snod->node; in drop_last_group() 571 if (ch->group_type != UBIFS_IN_NODE_GROUP) in drop_last_group() [all …]
|
/fs/nfs/ |
D | dns_resolve.c | 142 struct cache_head *ch, in nfs_dns_request() argument 145 struct nfs_dns_ent *key = container_of(ch, struct nfs_dns_ent, h); in nfs_dns_request() 152 struct cache_head *ch) in nfs_dns_upcall() argument 154 struct nfs_dns_ent *key = container_of(ch, struct nfs_dns_ent, h); in nfs_dns_upcall() 159 ret = sunrpc_cache_pipe_upcall(cd, ch); in nfs_dns_upcall() 206 struct cache_head *ch; in nfs_dns_lookup() local 208 ch = sunrpc_cache_lookup_rcu(cd, in nfs_dns_lookup() 211 if (!ch) in nfs_dns_lookup() 213 return container_of(ch, struct nfs_dns_ent, h); in nfs_dns_lookup() 220 struct cache_head *ch; in nfs_dns_update() local [all …]
|
/fs/nfsd/ |
D | nfs4idmap.c | 126 idtoname_request(struct cache_detail *cd, struct cache_head *ch, char **bpp, in idtoname_request() argument 129 struct ent *ent = container_of(ch, struct ent, h); in idtoname_request() 268 struct cache_head *ch = sunrpc_cache_lookup_rcu(cd, &item->h, in idtoname_lookup() local 270 if (ch) in idtoname_lookup() 271 return container_of(ch, struct ent, h); in idtoname_lookup() 279 struct cache_head *ch = sunrpc_cache_update(cd, &new->h, &old->h, in idtoname_update() local 281 if (ch) in idtoname_update() 282 return container_of(ch, struct ent, h); in idtoname_update() 299 nametoid_request(struct cache_detail *cd, struct cache_head *ch, char **bpp, in nametoid_request() argument 302 struct ent *ent = container_of(ch, struct ent, h); in nametoid_request() [all …]
|
D | export.c | 278 struct cache_head *ch; in svc_expkey_lookup() local 281 ch = sunrpc_cache_lookup_rcu(cd, &item->h, hash); in svc_expkey_lookup() 282 if (ch) in svc_expkey_lookup() 283 return container_of(ch, struct svc_expkey, h); in svc_expkey_lookup() 292 struct cache_head *ch; in svc_expkey_update() local 295 ch = sunrpc_cache_update(cd, &new->h, &old->h, hash); in svc_expkey_update() 296 if (ch) in svc_expkey_update() 297 return container_of(ch, struct svc_expkey, h); in svc_expkey_update() 793 struct cache_head *ch; in svc_export_lookup() local 796 ch = sunrpc_cache_lookup_rcu(exp->cd, &exp->h, hash); in svc_export_lookup() [all …]
|
/fs/affs/ |
D | namei.c | 20 affs_toupper(int ch) in affs_toupper() argument 22 return ch >= 'a' && ch <= 'z' ? ch -= ('a' - 'A') : ch; in affs_toupper() 28 affs_intl_toupper(int ch) in affs_intl_toupper() argument 30 return (ch >= 'a' && ch <= 'z') || (ch >= 0xE0 in affs_intl_toupper() 31 && ch <= 0xFE && ch != 0xF7) ? in affs_intl_toupper() 32 ch - ('a' - 'A') : ch; in affs_intl_toupper()
|
/fs/cachefiles/ |
D | key.c | 35 unsigned char csum, ch; in cachefiles_cook_key() local 47 ch = raw[loop]; in cachefiles_cook_key() 48 csum += ch; in cachefiles_cook_key() 49 print &= cachefiles_filecharmap[ch]; in cachefiles_cook_key()
|
/fs/isofs/ |
D | joliet.c | 20 __be16 *ip, ch; in uni16_to_x8() local 26 while ((ch = get_unaligned(ip)) && len) { in uni16_to_x8() 28 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_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_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-1.c | 215 unsigned char ch = (uni & 0xff00) >> 8; in uni2char() local 220 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_iso8859-3.c | 266 unsigned char ch = (uni & 0xff00) >> 8; in uni2char() local 271 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-4.c | 266 unsigned char ch = (uni & 0xff00) >> 8; in uni2char() local 271 uni2charset = page_uni2charset[ch]; in uni2char()
|
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()
|