/fs/dlm/ |
D | config.c | 114 struct dlm_cluster *cl = config_item_to_cluster(item); in cluster_cluster_name_show() local 115 return sprintf(buf, "%s\n", cl->cl_cluster_name); in cluster_cluster_name_show() 121 struct dlm_cluster *cl = config_item_to_cluster(item); in cluster_cluster_name_store() local 125 strlcpy(cl->cl_cluster_name, buf, sizeof(cl->cl_cluster_name)); in cluster_cluster_name_store() 131 static ssize_t cluster_set(struct dlm_cluster *cl, unsigned int *cl_field, in cluster_set() argument 160 struct dlm_cluster *cl = config_item_to_cluster(item); \ 161 return cluster_set(cl, &cl->cl_##name, &dlm_config.ci_##name, \ 166 struct dlm_cluster *cl = config_item_to_cluster(item); \ 167 return snprintf(buf, PAGE_SIZE, "%u\n", cl->cl_##name); \ 405 struct dlm_cluster *cl = NULL; in make_cluster() local [all …]
|
/fs/erofs/ |
D | zdata.c | 323 struct z_erofs_collection *cl; member 501 clt->cl->vcnt += (unsigned int)ret; in z_erofs_attach_page() 539 struct z_erofs_collection *cl; in z_erofs_lookup_collection() local 548 cl = z_erofs_primarycollection(pcl); in z_erofs_lookup_collection() 549 if (cl->pageofs != (map->m_la & ~PAGE_MASK)) { in z_erofs_lookup_collection() 572 mutex_lock(&cl->lock); in z_erofs_lookup_collection() 578 clt->cl = cl; in z_erofs_lookup_collection() 587 struct z_erofs_collection *cl; in z_erofs_register_collection() local 612 cl = z_erofs_primarycollection(pcl); in z_erofs_register_collection() 613 cl->pageofs = map->m_la & ~PAGE_MASK; in z_erofs_register_collection() [all …]
|
/fs/ocfs2/ |
D | suballoc.c | 66 static inline u16 ocfs2_find_victim_chain(struct ocfs2_chain_list *cl); 73 struct ocfs2_chain_list *cl); 144 static u32 ocfs2_bits_per_group(struct ocfs2_chain_list *cl) in ocfs2_bits_per_group() argument 146 return (u32)le16_to_cpu(cl->cl_cpg) * (u32)le16_to_cpu(cl->cl_bpc); in ocfs2_bits_per_group() 320 struct ocfs2_chain_list *cl, in ocfs2_bg_discontig_add_extent() argument 332 le16_to_cpu(cl->cl_bpc)); in ocfs2_bg_discontig_add_extent() 334 le16_add_cpu(&bg->bg_bits, clusters * le16_to_cpu(cl->cl_bpc)); in ocfs2_bg_discontig_add_extent() 336 clusters * le16_to_cpu(cl->cl_bpc)); in ocfs2_bg_discontig_add_extent() 346 struct ocfs2_chain_list *cl) in ocfs2_block_group_fill() argument 376 bg->bg_next_group = cl->cl_recs[my_chain].c_blkno; in ocfs2_block_group_fill() [all …]
|
/fs/nls/ |
D | nls_cp932.c | 7841 unsigned char cl = uni&0xFF; in uni2char() local 7847 if (ch == 0xFF && 0x61 <= cl && cl <= 0x9F) { in uni2char() 7848 out[0] = cl + 0x40; in uni2char() 7856 out[0] = uni2charset[cl*2]; in uni2char() 7857 out[1] = uni2charset[cl*2+1]; in uni2char() 7862 if (cl <= 0x7F) { in uni2char() 7863 out[0] = cl; in uni2char() 7865 } else if (0xA0 <= cl) { in uni2char() 7866 out[0] = u2c_00hi[cl - 0xA0][0]; in uni2char() 7867 out[1] = u2c_00hi[cl - 0xA0][1]; in uni2char() [all …]
|
D | nls_cp936.c | 11004 unsigned char cl = uni&0xFF; in uni2char() local 11018 out0 = u2c_00[cl*2]; in uni2char() 11019 out1 = u2c_00[cl*2+1]; in uni2char() 11021 if (cl<0x80) { in uni2char() 11022 out[0] = cl; in uni2char() 11039 out[0] = uni2charset[cl*2]; in uni2char() 11040 out[1] = uni2charset[cl*2+1]; in uni2char() 11052 unsigned char ch, cl; in char2uni() local 11069 cl = rawstring[1]; in char2uni() 11072 if (charset2uni && cl) { in char2uni() [all …]
|
D | nls_cp950.c | 9401 unsigned char cl = uni&0xFF; in uni2char() local 9413 out[0] = uni2charset[cl*2]; in uni2char() 9414 out[1] = uni2charset[cl*2+1]; in uni2char() 9418 } else if (ch==0 && cl) { in uni2char() 9419 out[0] = cl; in uni2char() 9431 unsigned char ch, cl; in char2uni() local 9444 cl = rawstring[1]; in char2uni() 9447 if (charset2uni && cl) { in char2uni() 9448 *uni = charset2uni[cl]; in char2uni()
|
D | nls_ascii.c | 123 unsigned char cl = uni & 0x00ff; in uni2char() local 130 if (uni2charset && uni2charset[cl]) in uni2char() 131 out[0] = uni2charset[cl]; in uni2char()
|
D | nls_iso8859-6.c | 220 unsigned char cl = uni & 0x00ff; in uni2char() local 227 if (uni2charset && uni2charset[cl]) in uni2char() 228 out[0] = uni2charset[cl]; in uni2char()
|
D | nls_iso8859-1.c | 214 unsigned char cl = uni & 0x00ff; in uni2char() local 221 if (uni2charset && uni2charset[cl]) in uni2char() 222 out[0] = uni2charset[cl]; in uni2char()
|
D | nls_iso8859-9.c | 229 unsigned char cl = uni & 0x00ff; in uni2char() local 236 if (uni2charset && uni2charset[cl]) in uni2char() 237 out[0] = uni2charset[cl]; in uni2char()
|
D | nls_iso8859-2.c | 265 unsigned char cl = uni & 0x00ff; in uni2char() local 272 if (uni2charset && uni2charset[cl]) in uni2char() 273 out[0] = uni2charset[cl]; in uni2char()
|
D | nls_iso8859-4.c | 265 unsigned char cl = uni & 0x00ff; in uni2char() local 272 if (uni2charset && uni2charset[cl]) in uni2char() 273 out[0] = uni2charset[cl]; in uni2char()
|
D | nls_iso8859-3.c | 265 unsigned char cl = uni & 0x00ff; in uni2char() local 272 if (uni2charset && uni2charset[cl]) in uni2char() 273 out[0] = uni2charset[cl]; in uni2char()
|
D | nls_cp949.c | 13865 unsigned char cl = uni&0xFF; in uni2char() local 13877 out[0] = uni2charset[cl*2]; in uni2char() 13878 out[1] = uni2charset[cl*2+1]; in uni2char() 13882 } else if (ch==0 && cl) { in uni2char() 13883 out[0] = cl; in uni2char() 13895 unsigned char ch, cl; in char2uni() local 13908 cl = rawstring[1]; in char2uni() 13911 if (charset2uni && cl) { in char2uni() 13912 *uni = charset2uni[cl]; in char2uni()
|
D | nls_cp1255.c | 339 unsigned char cl = uni & 0x00ff; in uni2char() local 346 if (uni2charset && uni2charset[cl]) in uni2char() 347 out[0] = uni2charset[cl]; in uni2char()
|
D | nls_cp863.c | 338 unsigned char cl = uni & 0x00ff; in uni2char() local 345 if (uni2charset && uni2charset[cl]) in uni2char() 346 out[0] = uni2charset[cl]; in uni2char()
|
D | nls_cp866.c | 262 unsigned char cl = uni & 0x00ff; in uni2char() local 269 if (uni2charset && uni2charset[cl]) in uni2char() 270 out[0] = uni2charset[cl]; in uni2char()
|
D | nls_cp855.c | 256 unsigned char cl = uni & 0x00ff; in uni2char() local 263 if (uni2charset && uni2charset[cl]) in uni2char() 264 out[0] = uni2charset[cl]; in uni2char()
|
D | nls_koi8-u.c | 287 unsigned char cl = uni & 0x00ff; in uni2char() local 294 if (uni2charset && uni2charset[cl]) in uni2char() 295 out[0] = uni2charset[cl]; in uni2char()
|
D | nls_cp1250.c | 304 unsigned char cl = uni & 0x00ff; in uni2char() local 311 if (uni2charset && uni2charset[cl]) in uni2char() 312 out[0] = uni2charset[cl]; in uni2char()
|
D | nls_cp852.c | 294 unsigned char cl = uni & 0x00ff; in uni2char() local 301 if (uni2charset && uni2charset[cl]) in uni2char() 302 out[0] = uni2charset[cl]; in uni2char()
|
D | nls_cp437.c | 344 unsigned char cl = uni & 0x00ff; in uni2char() local 351 if (uni2charset && uni2charset[cl]) in uni2char() 352 out[0] = uni2charset[cl]; in uni2char()
|
D | nls_cp850.c | 272 unsigned char cl = uni & 0x00ff; in uni2char() local 279 if (uni2charset && uni2charset[cl]) in uni2char() 280 out[0] = uni2charset[cl]; in uni2char()
|
D | nls_iso8859-7.c | 274 unsigned char cl = uni & 0x00ff; in uni2char() local 281 if (uni2charset && uni2charset[cl]) in uni2char() 282 out[0] = uni2charset[cl]; in uni2char()
|
D | nls_cp775.c | 276 unsigned char cl = uni & 0x00ff; in uni2char() local 283 if (uni2charset && uni2charset[cl]) in uni2char() 284 out[0] = uni2charset[cl]; in uni2char()
|