Home
last modified time | relevance | path

Searched refs:ch (Results 1 – 25 of 76) sorted by relevance

1234

/fs/hfs/
Dtrans.c48 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/
Dasn1.c118 asn1_octet_decode(struct asn1_ctx *ctx, unsigned char *ch) in asn1_octet_decode() argument
124 *ch = *(ctx->pointer)++; in asn1_octet_decode()
132 unsigned char ch;
139 ch = *(ctx->pointer)++; /* ch has 0xa, ptr points to length octet */
140 if ((ch) == ASN1_ENUM) /* if ch value is ENUM, 0xa */
153 unsigned char ch; in asn1_tag_decode() local
158 if (!asn1_octet_decode(ctx, &ch)) in asn1_tag_decode()
161 *tag |= ch & 0x7F; in asn1_tag_decode()
162 } while ((ch & 0x80) == 0x80); in asn1_tag_decode()
170 unsigned char ch; in asn1_id_decode() local
[all …]
/fs/ubifs/
Dio.c242 const struct ubifs_ch *ch = buf; in ubifs_check_node() local
247 magic = le32_to_cpu(ch->magic); in ubifs_check_node()
256 type = ch->node_type; in ubifs_check_node()
263 node_len = le32_to_cpu(ch->len); in ubifs_check_node()
279 node_crc = le32_to_cpu(ch->crc); in ubifs_check_node()
325 struct ubifs_ch *ch = buf; in ubifs_pad() local
328 ch->magic = cpu_to_le32(UBIFS_NODE_MAGIC); in ubifs_pad()
329 ch->node_type = UBIFS_PAD_NODE; in ubifs_pad()
330 ch->group_type = UBIFS_NO_NODE_GROUP; in ubifs_pad()
331 ch->padding[0] = ch->padding[1] = 0; in ubifs_pad()
[all …]
Dscan.c72 struct ubifs_ch *ch = buf; in ubifs_scan_a_node() local
75 magic = le32_to_cpu(ch->magic); in ubifs_scan_a_node()
89 dbg_ntype(ch->node_type), lnum, offs); in ubifs_scan_a_node()
94 if (ch->node_type == UBIFS_PAD_NODE) { in ubifs_scan_a_node()
97 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 …]
Dubifs-media.h491 struct ubifs_ch ch; member
531 struct ubifs_ch ch; member
554 struct ubifs_ch ch; member
575 struct ubifs_ch ch; member
589 struct ubifs_ch ch; member
623 struct ubifs_ch ch; member
686 struct ubifs_ch ch; member
727 struct ubifs_ch ch; member
756 struct ubifs_ch ch; member
768 struct ubifs_ch ch; member
[all …]
Drecovery.c129 struct ubifs_ch *ch = buf; in get_master_node() local
131 if (le32_to_cpu(ch->magic) != UBIFS_NODE_MAGIC) in get_master_node()
160 struct ubifs_ch *ch = buf; in get_master_node() local
162 if (ch->node_type != UBIFS_MST_NODE) in get_master_node()
349 c->max_sqnum = le64_to_cpu(mst->ch.sqnum) - 1; in ubifs_recover_master_node()
473 struct ubifs_ch *ch = buf; in no_more_nodes() local
474 int skip, dlen = le32_to_cpu(ch->len); in no_more_nodes()
578 struct ubifs_ch *ch; in drop_last_group() local
582 ch = snod->node; in drop_last_group()
583 if (ch->group_type != UBIFS_IN_NODE_GROUP) in drop_last_group()
[all …]
/fs/affs/
Dnamei.c15 static int affs_toupper(int ch);
22 static int affs_intl_toupper(int ch);
44 affs_toupper(int ch) in affs_toupper() argument
46 return ch >= 'a' && ch <= 'z' ? ch -= ('a' - 'A') : ch; in affs_toupper()
52 affs_intl_toupper(int ch) in affs_intl_toupper() argument
54 return (ch >= 'a' && ch <= 'z') || (ch >= 0xE0 in affs_intl_toupper()
55 && ch <= 0xFE && ch != 0xF7) ? in affs_intl_toupper()
56 ch - ('a' - 'A') : ch; in affs_intl_toupper()
/fs/nfs/
Ddns_resolve.c130 struct cache_head *ch, in nfs_dns_request() argument
133 struct nfs_dns_ent *key = container_of(ch, struct nfs_dns_ent, h); in nfs_dns_request()
140 struct cache_head *ch) in nfs_dns_upcall() argument
142 struct nfs_dns_ent *key = container_of(ch, struct nfs_dns_ent, h); in nfs_dns_upcall()
147 ret = sunrpc_cache_pipe_upcall(cd, ch); in nfs_dns_upcall()
194 struct cache_head *ch; in nfs_dns_lookup() local
196 ch = sunrpc_cache_lookup(cd, in nfs_dns_lookup()
199 if (!ch) in nfs_dns_lookup()
201 return container_of(ch, struct nfs_dns_ent, h); in nfs_dns_lookup()
208 struct cache_head *ch; in nfs_dns_update() local
[all …]
/fs/nfsd/
Dnfs4idmap.c128 idtoname_request(struct cache_detail *cd, struct cache_head *ch, char **bpp, in idtoname_request() argument
131 struct ent *ent = container_of(ch, struct ent, h); in idtoname_request()
274 struct cache_head *ch = sunrpc_cache_lookup(cd, &item->h, in idtoname_lookup() local
276 if (ch) in idtoname_lookup()
277 return container_of(ch, struct ent, h); in idtoname_lookup()
285 struct cache_head *ch = sunrpc_cache_update(cd, &new->h, &old->h, in idtoname_update() local
287 if (ch) in idtoname_update()
288 return container_of(ch, struct ent, h); in idtoname_update()
305 nametoid_request(struct cache_detail *cd, struct cache_head *ch, char **bpp, in nametoid_request() argument
308 struct ent *ent = container_of(ch, struct ent, h); in nametoid_request()
[all …]
Dexport.c268 struct cache_head *ch; in svc_expkey_lookup() local
271 ch = sunrpc_cache_lookup(cd, &item->h, hash); in svc_expkey_lookup()
272 if (ch) in svc_expkey_lookup()
273 return container_of(ch, struct svc_expkey, h); in svc_expkey_lookup()
282 struct cache_head *ch; in svc_expkey_update() local
285 ch = sunrpc_cache_update(cd, &new->h, &old->h, hash); in svc_expkey_update()
286 if (ch) in svc_expkey_update()
287 return container_of(ch, struct svc_expkey, h); in svc_expkey_update()
733 struct cache_head *ch; in svc_export_lookup() local
736 ch = sunrpc_cache_lookup(exp->cd, &exp->h, hash); in svc_export_lookup()
[all …]
/fs/cachefiles/
Dkey.c39 unsigned char csum, ch; in cachefiles_cook_key() local
51 ch = raw[loop]; in cachefiles_cook_key()
52 csum += ch; in cachefiles_cook_key()
53 print &= cachefiles_filecharmap[ch]; in cachefiles_cook_key()
/fs/isofs/
Djoliet.c19 __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/
Dnls_cp932.c7842 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()
Dnls_cp936.c11005 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()
Dnls_cp950.c9402 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()
Dnls_cp949.c13866 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()
Dnls_ascii.c124 unsigned char ch = (uni & 0xff00) >> 8; in uni2char() local
129 uni2charset = page_uni2charset[ch]; in uni2char()
Dnls_iso8859-1.c215 unsigned char ch = (uni & 0xff00) >> 8; in uni2char() local
220 uni2charset = page_uni2charset[ch]; in uni2char()
Dnls_iso8859-2.c266 unsigned char ch = (uni & 0xff00) >> 8; in uni2char() local
271 uni2charset = page_uni2charset[ch]; in uni2char()
Dnls_iso8859-3.c266 unsigned char ch = (uni & 0xff00) >> 8; in uni2char() local
271 uni2charset = page_uni2charset[ch]; in uni2char()
Dnls_iso8859-9.c230 unsigned char ch = (uni & 0xff00) >> 8; in uni2char() local
235 uni2charset = page_uni2charset[ch]; in uni2char()
Dnls_iso8859-4.c266 unsigned char ch = (uni & 0xff00) >> 8; in uni2char() local
271 uni2charset = page_uni2charset[ch]; in uni2char()
Dnls_iso8859-6.c221 unsigned char ch = (uni & 0xff00) >> 8; in uni2char() local
226 uni2charset = page_uni2charset[ch]; in uni2char()
Dnls_iso8859-7.c275 unsigned char ch = (uni & 0xff00) >> 8; in uni2char() local
280 uni2charset = page_uni2charset[ch]; in uni2char()
Dnls_cp866.c263 unsigned char ch = (uni & 0xff00) >> 8; in uni2char() local
268 uni2charset = page_uni2charset[ch]; in uni2char()

1234