Home
last modified time | relevance | path

Searched refs:clen (Results 1 – 11 of 11) sorted by relevance

/fs/ocfs2/
Dreservations.c287 unsigned int clen, char *disk_bitmap) in ocfs2_resmap_restart() argument
295 resmap->m_bitmap_len = clen; in ocfs2_resmap_restart()
470 unsigned int cstart, clen; in __ocfs2_resv_find_window() local
491 clen = ocfs2_resmap_find_free_bits(resmap, wanted, goal, in __ocfs2_resv_find_window()
493 &cstart, &clen); in __ocfs2_resv_find_window()
499 BUG_ON(goal == 0 && clen == 0); in __ocfs2_resv_find_window()
501 if (clen == 0) in __ocfs2_resv_find_window()
505 resv->r_len = clen; in __ocfs2_resv_find_window()
544 clen = ocfs2_resmap_find_free_bits(resmap, wanted, goal, in __ocfs2_resv_find_window()
546 &cstart, &clen); in __ocfs2_resv_find_window()
[all …]
Dreservations.h103 unsigned int clen, char *disk_bitmap);
130 int *cstart, int *clen);
149 u32 cstart, u32 clen);
Dextent_map.c872 u32 cpos, cend, clen, hole_size; in ocfs2_seek_data_hole_offset() local
898 clen = 0; in ocfs2_seek_data_hole_offset()
914 clen = hole_size; in ocfs2_seek_data_hole_offset()
917 clen = le16_to_cpu(rec.e_leaf_clusters) - in ocfs2_seek_data_hole_offset()
930 cpos += clen; in ocfs2_seek_data_hole_offset()
936 extlen = clen; in ocfs2_seek_data_hole_offset()
Ddir.c851 unsigned int cend, clen; in ocfs2_dx_dir_lookup() local
857 &clen); in ocfs2_dx_dir_lookup()
863 cend = cpos + clen; in ocfs2_dx_dir_lookup()
866 blkno += ocfs2_clusters_to_blocks(inode->i_sb, clen - 1); in ocfs2_dx_dir_lookup()
867 cpos += clen - 1; in ocfs2_dx_dir_lookup()
4396 unsigned int clen; in ocfs2_dx_dir_truncate() local
4426 major_hash, &cpos, &blkno, &clen); in ocfs2_dx_dir_truncate()
4434 ret = ocfs2_remove_btree_range(dir, &et, cpos, p_cpos, clen, 0, in ocfs2_dx_dir_truncate()
Docfs2_trace.h1915 TP_PROTO(unsigned int cstart, unsigned int cend, unsigned int clen,
1918 TP_ARGS(cstart, cend, clen, r_start, r_end,
1923 __field(unsigned int, clen)
1933 __entry->clen = clen;
1941 __entry->cstart, __entry->cend, __entry->clen,
/fs/ubifs/
Dcrypto.c58 unsigned int clen = le16_to_cpu(dn->compr_size); in ubifs_decrypt() local
61 if (clen <= 0 || clen > UBIFS_BLOCK_SIZE || clen > dlen) { in ubifs_decrypt()
62 ubifs_err(c, "bad compr_size: %i", clen); in ubifs_decrypt()
74 *out_len = clen; in ubifs_decrypt()
/fs/f2fs/
Dcompress.c167 cc->clen = lzo1x_worst_compress(PAGE_SIZE << cc->log_cluster_size); in lzo_init_compress_ctx()
182 &cc->clen, cc->private); in lzo_compress_pages()
195 ret = lzo1x_decompress_safe(dic->cbuf->cdata, dic->clen, in lzo_decompress_pages()
235 cc->clen = cc->rlen - PAGE_SIZE - COMPRESS_HEADER_SIZE; in lz4_init_compress_ctx()
250 cc->clen, cc->private); in lz4_compress_pages()
254 cc->clen = len; in lz4_compress_pages()
263 dic->clen, dic->rlen); in lz4_decompress_pages()
319 cc->clen = cc->rlen - PAGE_SIZE - COMPRESS_HEADER_SIZE; in zstd_init_compress_ctx()
370 cc->clen = outbuf.pos; in zstd_compress_pages()
419 inbuf.size = dic->clen; in zstd_decompress_pages()
[all …]
Df2fs.h1353 __le32 clen; /* compressed data size */ member
1375 size_t clen; /* valid data length in cbuf */ member
1404 size_t clen; /* valid data length in cbuf */ member
/fs/fat/
Ddir.c193 fat_short2uni(struct nls_table *t, unsigned char *c, int clen, wchar_t *uni) in fat_short2uni() argument
197 charlen = t->char2uni(c, clen, uni); in fat_short2uni()
207 int clen, wchar_t *uni) in fat_short2lower_uni() argument
212 charlen = t->char2uni(c, clen, &wc); in fat_short2lower_uni()
/fs/cifs/
Dsmb2pdu.c699 int clen; in smb311_decode_neg_context() local
708 clen = le16_to_cpu(pctx->DataLength); in smb311_decode_neg_context()
709 if (clen > len_of_ctxts) in smb311_decode_neg_context()
730 clen = (clen + 7) & ~0x7; in smb311_decode_neg_context()
731 offset += clen + sizeof(struct smb2_neg_context); in smb311_decode_neg_context()
732 len_of_ctxts -= clen; in smb311_decode_neg_context()
Dfile.c2685 size_t clen; in get_numpages() local
2687 clen = min_t(const size_t, len, wsize); in get_numpages()
2688 num_pages = DIV_ROUND_UP(clen, PAGE_SIZE); in get_numpages()
2691 *cur_len = clen; in get_numpages()