Home
last modified time | relevance | path

Searched refs:record_size (Results 1 – 22 of 22) sorted by relevance

/kernel/linux/linux-5.10/drivers/mtd/
Dmtdoops.c28 static unsigned long record_size = 4096; variable
29 module_param(record_size, ulong, 0400);
30 MODULE_PARM_DESC(record_size,
77 u32 start_page = start_page_offset / record_size; in mtdoops_erase_block()
78 u32 erase_pages = mtd->erasesize / record_size; in mtdoops_erase_block()
131 mod = (cxt->nextpage * record_size) % mtd->erasesize; in mtdoops_workfunc_erase()
133 cxt->nextpage = cxt->nextpage + ((mtd->erasesize - mod) / record_size); in mtdoops_workfunc_erase()
138 while ((ret = mtd_block_isbad(mtd, cxt->nextpage * record_size)) > 0) { in mtdoops_workfunc_erase()
141 cxt->nextpage * record_size); in mtdoops_workfunc_erase()
143 cxt->nextpage = cxt->nextpage + (mtd->erasesize / record_size); in mtdoops_workfunc_erase()
[all …]
/kernel/linux/linux-5.10/fs/pstore/
Dram.c29 static ulong record_size = MIN_MEM_SIZE; variable
30 module_param(record_size, ulong, 0400);
31 MODULE_PARM_DESC(record_size,
95 size_t record_size; member
499 ssize_t record_size, in ramoops_init_przs() argument
508 if (mem_sz == 0 || record_size == 0) { in ramoops_init_przs()
518 if (record_size < 0) { in ramoops_init_przs()
521 record_size = mem_sz / *cnt; in ramoops_init_przs()
522 if (record_size == 0) { in ramoops_init_przs()
528 *cnt = mem_sz / record_size; in ramoops_init_przs()
[all …]
Dftrace.c144 size_t record_size = sizeof(struct pstore_ftrace_record); in pstore_ftrace_combine_log() local
146 dest_off = *dest_log_size % record_size; in pstore_ftrace_combine_log()
149 src_off = src_log_size % record_size; in pstore_ftrace_combine_log()
165 dest_size -= record_size; in pstore_ftrace_combine_log()
168 src_size -= record_size; in pstore_ftrace_combine_log()
174 dest_size -= record_size; in pstore_ftrace_combine_log()
179 src_size -= record_size; in pstore_ftrace_combine_log()
Dzone.c1219 loff_t *off, size_t total_size, ssize_t record_size, in psz_init_zones() argument
1228 if (!total_size || !record_size) in psz_init_zones()
1237 c = total_size / record_size; in psz_init_zones()
1246 zone = psz_init_zone(type, off, record_size); in psz_init_zones()
/kernel/linux/linux-5.10/tools/firmware/
Dihex2fw.c135 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()
/kernel/linux/linux-5.10/drivers/cpuidle/
Dcpuidle-pseries.c151 u8 record_size; member
183 xcede_record_size = payload->record_size + 1; in parse_cede_parameters()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/bios/
Dbios_parser2.c326 !header->record_size) in bios_parser_get_i2c_info()
331 header->record_size) { in bios_parser_get_i2c_info()
340 offset += header->record_size; in bios_parser_get_i2c_info()
468 !header->record_size) in get_hpd_record()
473 header->record_size) in get_hpd_record()
476 offset += header->record_size; in get_hpd_record()
1441 offset += header->record_size; in get_encoder_cap_record()
1444 !header->record_size) in get_encoder_cap_record()
1451 header->record_size) in get_encoder_cap_record()
1907 record_header->record_size == 0) { in update_slot_layout_info()
[all …]
/kernel/linux/linux-5.10/Documentation/admin-guide/
Dramoops.rst34 The memory area is divided into ``record_size`` chunks (also rounded down to
35 power of two) and each kmesg dump writes a ``record_size`` chunk of
98 .record_size = <...>,
/kernel/linux/linux-5.10/drivers/firmware/efi/
Dcper.c626 unsigned int data_len, record_size; in cper_estatus_check() local
639 record_size = acpi_hest_get_record_size(gdata); in cper_estatus_check()
640 if (record_size > data_len) in cper_estatus_check()
643 data_len -= record_size; in cper_estatus_check()
/kernel/linux/linux-5.10/drivers/platform/chrome/
Dchromeos_pstore.c57 .record_size = 0x40000,
/kernel/linux/linux-5.10/include/linux/
Dpstore_ram.h132 unsigned long record_size; member
/kernel/linux/linux-5.10/tools/lib/bpf/
Dbtf.c2338 __u32 info_left, record_size; in btf_ext_setup_info() local
2367 record_size = *(__u32 *)info; in btf_ext_setup_info()
2368 if (record_size < ext_sec->min_rec_size || in btf_ext_setup_info()
2369 record_size & 0x03) { in btf_ext_setup_info()
2371 ext_sec->desc, record_size); in btf_ext_setup_info()
2403 (__u64)num_records * record_size; in btf_ext_setup_info()
2416 ext_info->rec_size = record_size; in btf_ext_setup_info()
2564 __u32 i, record_size, existing_len, records_len; in btf_ext_reloc_info() local
2570 record_size = ext_info->rec_size; in btf_ext_reloc_info()
2574 records_len = sinfo->num_info * record_size; in btf_ext_reloc_info()
[all …]
/kernel/linux/linux-5.10/samples/bpf/
Dxdp_monitor_user.c543 static void *alloc_rec_per_cpu(int record_size) in alloc_rec_per_cpu() argument
548 array = calloc(nr_cpus, record_size); in alloc_rec_per_cpu()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/wil6210/
Dwmi.c1481 size_t stats_size, record_size, expected_size; in wmi_link_stats_parse() local
1491 stats_size = le16_to_cpu(hdr->record_size); in wmi_link_stats_parse()
1492 record_size = hdr_size + stats_size; in wmi_link_stats_parse()
1494 if (payload_size < record_size) { in wmi_link_stats_parse()
1496 payload_size, record_size); in wmi_link_stats_parse()
1549 payload += record_size; in wmi_link_stats_parse()
1550 payload_size -= record_size; in wmi_link_stats_parse()
Dwmi.h4096 __le16 record_size; member
/kernel/linux/linux-5.10/fs/jbd2/
Djournal.c1781 int record_size; in journal_revoke_records_per_block() local
1785 record_size = 8; in journal_revoke_records_per_block()
1787 record_size = 4; in journal_revoke_records_per_block()
1791 return space / record_size; in journal_revoke_records_per_block()
/kernel/linux/linux-5.10/tools/lib/traceevent/
Devent-parse.h29 int record_size; /* size of binary record */ member
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
Dhtt_tx.c719 cfg->q_state.record_size = HTT_TX_Q_STATE_ENTRY_SIZE; in ath10k_htt_send_frag_desc_bank_cfg_32()
781 cfg->q_state.record_size = HTT_TX_Q_STATE_ENTRY_SIZE; in ath10k_htt_send_frag_desc_bank_cfg_64()
Dhtt.h1604 u8 record_size; member
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dreg.h10355 MLXSW_ITEM32(reg, tnumt, record_size, 0x08, 0, 3);
10375 u8 record_size) in mlxsw_reg_tnumt_pack() argument
10383 mlxsw_reg_tnumt_record_size_set(payload, record_size); in mlxsw_reg_tnumt_pack()
/kernel/linux/linux-5.10/Documentation/bpf/
Dbtf.rst672 /* Followed by num_info * record_size number of bytes */
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/include/
Datomfirmware.h734 uint8_t record_size; //The size of the whole record in byte member