/linux/drivers/mtd/ |
A D | mtdoops.c | 28 static unsigned long record_size = 4096; variable 29 module_param(record_size, ulong, 0400); 30 MODULE_PARM_DESC(record_size, 142 cxt->nextpage * record_size); in mtdoops_workfunc_erase() 203 if (retlen != record_size || ret < 0) in mtdoops_write() 205 cxt->nextpage * record_size, retlen, record_size, ret); in mtdoops_write() 239 page * record_size, retlen, in find_next_position() 320 if (mtd->erasesize < record_size) { in mtdoops_notify_add() 388 if ((record_size & 4095) != 0) { in mtdoops_init() 392 if (record_size < 4096) { in mtdoops_init() [all …]
|
/linux/fs/pstore/ |
A D | ram.c | 31 MODULE_PARM_DESC(record_size, 86 size_t record_size; member 476 ssize_t record_size, in ramoops_init_przs() argument 495 if (record_size < 0) { in ramoops_init_przs() 499 if (record_size == 0) { in ramoops_init_przs() 546 name, record_size, in ramoops_init_przs() 748 if (pdata->record_size && !is_power_of_2(pdata->record_size)) in ramoops_probe() 749 pdata->record_size = rounddown_pow_of_two(pdata->record_size); in ramoops_probe() 760 cxt->record_size = pdata->record_size; in ramoops_probe() 844 record_size = pdata->record_size; in ramoops_probe() [all …]
|
A D | ftrace.c | 150 size_t record_size = sizeof(struct pstore_ftrace_record); in pstore_ftrace_combine_log() local 152 dest_off = *dest_log_size % record_size; in pstore_ftrace_combine_log() 155 src_off = src_log_size % record_size; in pstore_ftrace_combine_log() 171 dest_size -= record_size; in pstore_ftrace_combine_log() 174 src_size -= record_size; in pstore_ftrace_combine_log() 180 dest_size -= record_size; in pstore_ftrace_combine_log() 185 src_size -= record_size; in pstore_ftrace_combine_log()
|
A D | zone.c | 1194 loff_t *off, size_t total_size, ssize_t record_size, in psz_init_zones() argument 1203 if (!total_size || !record_size) in psz_init_zones() 1212 c = total_size / record_size; in psz_init_zones() 1221 zone = psz_init_zone(type, off, record_size); in psz_init_zones()
|
/linux/fs/ntfs3/ |
A D | super.c | 730 if ((boot->record_size < 0 && in ntfs_init_from_boot() 731 SECTOR_SIZE > (2U << (-boot->record_size))) || in ntfs_init_from_boot() 732 (boot->record_size >= 0 && !is_power_of_2(boot->record_size))) { in ntfs_init_from_boot() 782 sbi->record_size = record_size = boot->record_size < 0 in ntfs_init_from_boot() 783 ? 1 << (-boot->record_size) in ntfs_init_from_boot() 784 : (u32)boot->record_size in ntfs_init_from_boot() 787 if (record_size > MAXIMUM_BYTES_PER_MFT) in ntfs_init_from_boot() 790 sbi->record_bits = blksize_bits(record_size); in ntfs_init_from_boot() 832 rec = kzalloc(record_size, GFP_NOFS); in ntfs_init_from_boot() 841 fn = (sbi->record_size >> SECTOR_SHIFT) + 1; in ntfs_init_from_boot() [all …]
|
A D | record.c | 105 mi->mrec = kmalloc(sbi->record_size, GFP_NOFS); in mi_init() 120 u32 bpr = sbi->record_size; in mi_read() 372 memcpy(rec, sbi->new_rec, sbi->record_size); in mi_format_new() 388 err = ntfs_get_bh(sbi, &ni->file.run, vbo, sbi->record_size, in mi_format_new() 438 if (used + asize > mi->sbi->record_size) in mi_insert_attr() 579 u32 dsize = sbi->record_size - used; in mi_pack_runs()
|
A D | dir.c | 385 eod = i_size + sbi->record_size; in ntfs_readdir() 421 if (pos >= sbi->record_size) { in ntfs_readdir() 422 bit = (pos - sbi->record_size) >> index_bits; in ntfs_readdir() 464 vbo + sbi->record_size, pos, name, ctx); in ntfs_readdir()
|
A D | fslog.c | 2702 if (asize >= sbi->record_size || in check_attr() 2703 asize + PtrOffset(rec, attr) >= sbi->record_size || in check_attr() 2791 u32 rs = sbi->record_size; in check_file_record() 3055 u32 record_size = sbi->record_size; in do_action() local 3142 sbi->record_size); in do_action() 3208 if (roff + dlen > record_size) in do_action() 3223 if (!check_if_attr(rec, lrh) || roff + dlen > record_size) in do_action() 3240 dlen > record_size - used) { in do_action() 3300 if (nsize > asize && nsize - asize > record_size - used) in do_action() 3494 if (roff + dlen > record_size) in do_action() [all …]
|
A D | frecord.c | 527 u32 roff, rs = sbi->record_size; in ni_repack() 668 free = sbi->record_size - le32_to_cpu(ni->mi.mrec->used) + asize; in ni_try_remove_attr_list() 778 rs = sbi->record_size; in ni_create_attr_list() 981 if (le32_to_cpu(mi->mrec->used) + asize > sbi->record_size) in ni_ins_attr_ext() 1066 free = sbi->record_size - used; in ni_insert_attr() 1166 while (asize + list_reserve > sbi->record_size - le32_to_cpu(rec->used)) in ni_insert_attr() 1266 err = run_pack(run, svcn, evcn + 1 - svcn, NULL, sbi->record_size, in ni_expand_mft_list()
|
A D | index.c | 1227 u32 record_size = ni->mi.sbi->record_size; in indx_find_raw() local 1239 if (*off >= record_size) { in indx_find_raw() 1240 next_vbn = (((*off - record_size) >> indx->index_bits)) in indx_find_raw() 1325 record_size + PtrOffset(&n->index->ihdr, e); in indx_find_raw()
|
A D | inode.c | 59 t32 = bytes_to_cluster(sbi, MFT_REC_VOL * sbi->record_size); in ntfs_read_mft() 89 if (le32_to_cpu(rec->total) != sbi->record_size) { in ntfs_read_mft() 1489 if (asize + t16 + 0x78 + 8 > sbi->record_size) { in ntfs_create_inode() 1494 t16 = sbi->record_size - t16 - SIZEOF_NONRESIDENT; in ntfs_create_inode()
|
A D | attrib.c | 564 : (sbi->record_size - in attr_set_size() 598 ((u64)done << sbi->cluster_bits) >= 2 * sbi->record_size) { in attr_set_size() 604 if (le32_to_cpu(rec->used) < sbi->record_size) { in attr_set_size() 933 (sbi->record_size - le32_to_cpu(mi->mrec->used) + 8) / 3 + 1, in attr_data_get_block()
|
A D | fsntfs.c | 749 rs = sbi->record_size; in ntfs_clear_mft_tail() 1160 if (vbo > MFT_REC_VOL * sbi->record_size) { in ntfs_read_run_nb() 1167 len = sbi->record_size; in ntfs_read_run_nb()
|
A D | ntfs.h | 222 s8 record_size; // 0x40: Size of MFT record in clusters(sectors). member
|
/linux/tools/firmware/ |
A D | ihex2fw.c | 135 size_t record_size; in process_ihex() local 162 record_size = ALIGN(sizeof(*record) + len, 4); in process_ihex() 163 record = malloc(record_size); in process_ihex() 168 memset(record, 0, record_size); in process_ihex()
|
/linux/drivers/gpu/drm/amd/display/dc/bios/ |
A D | bios_parser2.c | 330 !header->record_size) in bios_parser_get_i2c_info() 335 header->record_size) { in bios_parser_get_i2c_info() 344 offset += header->record_size; in bios_parser_get_i2c_info() 474 !header->record_size) in get_hpd_record() 479 header->record_size) in get_hpd_record() 482 offset += header->record_size; in get_hpd_record() 1732 offset += header->record_size; in get_encoder_cap_record() 1735 !header->record_size) in get_encoder_cap_record() 1742 header->record_size) in get_encoder_cap_record() 1772 !header->record_size) in get_disp_connector_caps_record() [all …]
|
/linux/drivers/cpuidle/ |
A D | cpuidle-pseries.c | 151 u8 record_size; member 183 xcede_record_size = payload->record_size + 1; in parse_cede_parameters()
|
/linux/drivers/firmware/efi/ |
A D | cper.c | 625 unsigned int data_len, record_size; in cper_estatus_check() local 638 record_size = acpi_hest_get_record_size(gdata); in cper_estatus_check() 639 if (record_size > data_len) in cper_estatus_check() 642 data_len -= record_size; in cper_estatus_check()
|
/linux/Documentation/admin-guide/ |
A D | ramoops.rst | 36 The memory area is divided into ``record_size`` chunks (also rounded down to 37 power of two) and each kmesg dump writes a ``record_size`` chunk of 100 .record_size = <...>,
|
/linux/include/linux/ |
A D | pstore_ram.h | 132 unsigned long record_size; member
|
/linux/drivers/platform/chrome/ |
A D | chromeos_pstore.c | 57 .record_size = 0x40000,
|
/linux/tools/lib/bpf/ |
A D | btf.c | 2547 __u32 info_left, record_size; in btf_ext_setup_info() local 2576 record_size = *(__u32 *)info; in btf_ext_setup_info() 2577 if (record_size < ext_sec->min_rec_size || in btf_ext_setup_info() 2578 record_size & 0x03) { in btf_ext_setup_info() 2580 ext_sec->desc, record_size); in btf_ext_setup_info() 2612 (__u64)num_records * record_size; in btf_ext_setup_info() 2625 ext_info->rec_size = record_size; in btf_ext_setup_info() 2778 __u32 i, record_size, existing_len, records_len; in btf_ext_reloc_info() local 2784 record_size = ext_info->rec_size; in btf_ext_reloc_info() 2788 records_len = sinfo->num_info * record_size; in btf_ext_reloc_info() [all …]
|
/linux/drivers/net/wireless/ath/wil6210/ |
A D | wmi.c | 1482 size_t stats_size, record_size, expected_size; in wmi_link_stats_parse() local 1492 stats_size = le16_to_cpu(hdr->record_size); in wmi_link_stats_parse() 1493 record_size = hdr_size + stats_size; in wmi_link_stats_parse() 1495 if (payload_size < record_size) { in wmi_link_stats_parse() 1497 payload_size, record_size); in wmi_link_stats_parse() 1550 payload += record_size; in wmi_link_stats_parse() 1551 payload_size -= record_size; in wmi_link_stats_parse()
|
/linux/fs/jbd2/ |
A D | journal.c | 1871 int record_size; in journal_revoke_records_per_block() local 1875 record_size = 8; in journal_revoke_records_per_block() 1877 record_size = 4; in journal_revoke_records_per_block() 1881 return space / record_size; in journal_revoke_records_per_block()
|
/linux/tools/lib/traceevent/ |
A D | event-parse.h | 29 int record_size; /* size of binary record */ member
|