Lines Matching refs:n_bytes
41 const u8 *buffer, int n_bytes, int use_reserve);
301 int yaffs_check_ff(u8 *buffer, int n_bytes) in yaffs_check_ff() argument
304 while (n_bytes--) { in yaffs_check_ff()
349 temp_tags.n_bytes != tags->n_bytes) in yaffs_verify_chunk_written()
1415 cache->n_bytes, 1); in yaffs_flush_file_cache()
2404 tags.chunk_id, tags.n_bytes); in yaffs_gc_process_chunk()
2433 tags.n_bytes); in yaffs_gc_process_chunk()
2984 const u8 *buffer, int n_bytes, int use_reserve) in yaffs_wr_data_obj() argument
3015 new_tags.n_bytes = n_bytes; in yaffs_wr_data_obj()
3017 if (n_bytes < 1 || n_bytes > dev->param.total_bytes_per_chunk) { in yaffs_wr_data_obj()
3020 n_bytes); in yaffs_wr_data_obj()
3413 int yaffs_file_rd(struct yaffs_obj *in, u8 * buffer, loff_t offset, int n_bytes) in yaffs_file_rd() argument
3418 int n = n_bytes; in yaffs_file_rd()
3459 cache->n_bytes = 0; in yaffs_file_rd()
3493 int n_bytes, int write_through) in yaffs_do_file_wr() argument
3499 int n = n_bytes; in yaffs_do_file_wr()
3602 cache->n_bytes = n_writeback; in yaffs_do_file_wr()
3610 cache->n_bytes, 1); in yaffs_do_file_wr()
3664 int n_bytes, int write_through) in yaffs_wr_file() argument
3667 return yaffs_do_file_wr(in, buffer, offset, n_bytes, write_through); in yaffs_wr_file()