Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/mtd/
A Dmtdoops.c28 static unsigned long record_size = 4096; variable
29 module_param(record_size, ulong, 0400);
30 MODULE_PARM_DESC(record_size,
130 cxt->nextpage * record_size); in mtdoops_erase()
224 record_size, &retlen, cxt->oops_buf); in mtdoops_write()
226 if (retlen != record_size || ret < 0) in mtdoops_write()
228 cxt->nextpage * record_size, retlen, record_size, ret); in mtdoops_write()
346 if (mtd->erasesize < record_size) { in mtdoops_notify_add()
414 if ((record_size & 4095) != 0) { in mtdoops_init()
418 if (record_size < 4096) { in mtdoops_init()
[all …]
/linux-6.3-rc2/fs/pstore/
A Dram.c32 MODULE_PARM_DESC(record_size,
87 size_t record_size; member
485 ssize_t record_size, in ramoops_init_przs() argument
504 if (record_size < 0) { in ramoops_init_przs()
508 if (record_size == 0) { in ramoops_init_przs()
555 name, record_size, in ramoops_init_przs()
760 if (pdata->record_size && !is_power_of_2(pdata->record_size)) in ramoops_probe()
761 pdata->record_size = rounddown_pow_of_two(pdata->record_size); in ramoops_probe()
772 cxt->record_size = pdata->record_size; in ramoops_probe()
856 record_size = pdata->record_size; in ramoops_probe()
[all …]
A Dftrace.c164 size_t record_size = sizeof(struct pstore_ftrace_record); in pstore_ftrace_combine_log() local
166 dest_off = *dest_log_size % record_size; in pstore_ftrace_combine_log()
169 src_off = src_log_size % record_size; in pstore_ftrace_combine_log()
185 dest_size -= record_size; in pstore_ftrace_combine_log()
188 src_size -= record_size; in pstore_ftrace_combine_log()
194 dest_size -= record_size; in pstore_ftrace_combine_log()
199 src_size -= record_size; in pstore_ftrace_combine_log()
A Dzone.c1194 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-6.3-rc2/drivers/firmware/efi/
A Defi-pstore.c13 static unsigned int record_size = 1024; variable
14 module_param(record_size, uint, 0444);
15 MODULE_PARM_DESC(record_size, "size of each pstore UEFI var (in bytes, min/default=1024)");
35 psi->data = kzalloc(record_size, GFP_KERNEL); in efi_pstore_open()
57 unsigned long wlen, size = record_size; in efi_pstore_read_func()
235 if (record_size < 1024) in efivars_pstore_init()
236 record_size = 1024; in efivars_pstore_init()
238 efi_pstore_info.buf = kmalloc(record_size, GFP_KERNEL); in efivars_pstore_init()
242 efi_pstore_info.bufsize = record_size; in efivars_pstore_init()
A Dcper.c665 unsigned int data_len, record_size; in cper_estatus_check() local
678 record_size = acpi_hest_get_record_size(gdata); in cper_estatus_check()
679 if (record_size > data_len) in cper_estatus_check()
682 data_len -= record_size; in cper_estatus_check()
/linux-6.3-rc2/fs/ntfs3/
A Dsuper.c769 if ((boot->record_size < 0 && in ntfs_init_from_boot()
770 SECTOR_SIZE > (2U << (-boot->record_size))) || in ntfs_init_from_boot()
771 (boot->record_size >= 0 && !is_power_of_2(boot->record_size))) { in ntfs_init_from_boot()
821 sbi->record_size = record_size = boot->record_size < 0 in ntfs_init_from_boot()
822 ? 1 << (-boot->record_size) in ntfs_init_from_boot()
823 : (u32)boot->record_size in ntfs_init_from_boot()
826 if (record_size > MAXIMUM_BYTES_PER_MFT || record_size < SECTOR_SIZE) in ntfs_init_from_boot()
829 sbi->record_bits = blksize_bits(record_size); in ntfs_init_from_boot()
871 rec = kzalloc(record_size, GFP_NOFS); in ntfs_init_from_boot()
880 fn = (sbi->record_size >> SECTOR_SHIFT) + 1; in ntfs_init_from_boot()
[all …]
A Drecord.c105 mi->mrec = kmalloc(sbi->record_size, GFP_NOFS); in mi_init()
120 u32 bpr = sbi->record_size; in mi_read()
381 memcpy(rec, sbi->new_rec, sbi->record_size); in mi_format_new()
397 err = ntfs_get_bh(sbi, &ni->file.run, vbo, sbi->record_size, in mi_format_new()
425 if (used + asize > mi->sbi->record_size) in mi_insert_attr()
569 u32 dsize = sbi->record_size - used; in mi_pack_runs()
A Ddir.c385 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 Dfslog.c2678 if (asize >= sbi->record_size || in check_attr()
2679 asize + PtrOffset(rec, attr) >= sbi->record_size || in check_attr()
2770 u32 rs = sbi->record_size; in check_file_record()
3034 u32 record_size = sbi->record_size; in do_action() local
3121 sbi->record_size); in do_action()
3187 if (roff + dlen > record_size) in do_action()
3202 if (!check_if_attr(rec, lrh) || roff + dlen > record_size) in do_action()
3219 dlen > record_size - used) { in do_action()
3279 if (nsize > asize && nsize - asize > record_size - used) in do_action()
3473 if (roff + dlen > record_size) in do_action()
[all …]
A Dfrecord.c528 u32 roff, rs = sbi->record_size; in ni_repack()
676 free = sbi->record_size - le32_to_cpu(ni->mi.mrec->used) + asize; in ni_try_remove_attr_list()
704 mrec = kmemdup(ni->mi.mrec, sbi->record_size, GFP_NOFS); in ni_try_remove_attr_list()
809 rs = sbi->record_size; in ni_create_attr_list()
1012 if (le32_to_cpu(mi->mrec->used) + asize > sbi->record_size) in ni_ins_attr_ext()
1105 free = sbi->record_size - used; in ni_insert_attr()
1210 while (asize + list_reserve > sbi->record_size - le32_to_cpu(rec->used)) in ni_insert_attr()
1315 err = run_pack(run, svcn, evcn + 1 - svcn, NULL, sbi->record_size, in ni_expand_mft_list()
A Dindex.c1293 u32 record_size = ni->mi.sbi->record_size; in indx_find_raw() local
1305 if (*off >= record_size) { in indx_find_raw()
1306 next_vbn = (((*off - record_size) >> indx->index_bits)) in indx_find_raw()
1391 record_size + PtrOffset(&n->index->ihdr, e); in indx_find_raw()
A Dinode.c59 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()
1520 if (asize + t16 + 0x78 + 8 > sbi->record_size) { in ntfs_create_inode()
1525 t16 = sbi->record_size - t16 - SIZEOF_NONRESIDENT; in ntfs_create_inode()
/linux-6.3-rc2/tools/firmware/
A 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()
/linux-6.3-rc2/drivers/vfio/pci/mlx5/
A Dmain.c323 header.record_size = cpu_to_le64(sizeof(data)); in mlx5vf_add_stop_copy_header()
717 required_data = migf->record_size - vhca_buf->length; in mlx5vf_resume_read_header_data()
728 if (vhca_buf->length == migf->record_size) { in mlx5vf_resume_read_header_data()
749 migf->max_pos += migf->record_size; in mlx5vf_resume_read_header_data()
786 u64 record_size; in mlx5vf_resume_read_header() local
789 record_size = le64_to_cpup((__le64 *)to_buff); in mlx5vf_resume_read_header()
790 if (record_size > MAX_LOAD_SIZE) { in mlx5vf_resume_read_header()
795 migf->record_size = record_size; in mlx5vf_resume_read_header()
866 migf->record_size, DMA_NONE); in mlx5vf_resume_write()
887 u64 size = max(migf->record_size, in mlx5vf_resume_write()
[all …]
A Dcmd.h52 __le64 record_size; member
93 u64 record_size; member
A Dcmd.c511 header.record_size = cpu_to_le64(image_size); in add_buf_header()
788 int record_size = MLX5_ST_SZ_BYTES(page_track_range); in mlx5vf_create_tracker() local
808 record_size * num_ranges; in mlx5vf_create_tracker()
832 void *addr_range_i_base = range_list_ptr + record_size * i; in mlx5vf_create_tracker()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/bios/
A Dbios_parser2.c435 !header->record_size) in bios_parser_get_i2c_info()
440 header->record_size) { in bios_parser_get_i2c_info()
548 !header->record_size) in get_hpd_record_for_path_v3()
553 header->record_size) in get_hpd_record_for_path_v3()
627 !header->record_size) in get_hpd_record()
632 header->record_size) in get_hpd_record()
2130 !header->record_size) in get_encoder_cap_record()
2137 header->record_size) in get_encoder_cap_record()
2167 !header->record_size) in get_disp_connector_caps_record()
2204 !header->record_size) in get_connector_caps_record()
[all …]
/linux-6.3-rc2/include/linux/
A Dpstore_ram.h33 unsigned long record_size; member
/linux-6.3-rc2/drivers/cpuidle/
A Dcpuidle-pseries.c153 u8 record_size; member
185 xcede_record_size = payload->record_size + 1; in parse_cede_parameters()
/linux-6.3-rc2/drivers/platform/chrome/
A Dchromeos_pstore.c57 .record_size = 0x40000,
/linux-6.3-rc2/Documentation/admin-guide/
A Dramoops.rst36 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-6.3-rc2/drivers/net/wireless/ath/wil6210/
A Dwmi.c1482 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-6.3-rc2/tools/lib/bpf/
A Dbtf.c2662 __u32 info_left, record_size; in btf_ext_setup_info() local
2692 record_size = *(__u32 *)info; in btf_ext_setup_info()
2693 if (record_size < ext_sec->min_rec_size || in btf_ext_setup_info()
2694 record_size & 0x03) { in btf_ext_setup_info()
2696 ext_sec->desc, record_size); in btf_ext_setup_info()
2727 total_record_size = sec_hdrlen + (__u64)num_records * record_size; in btf_ext_setup_info()
2741 ext_info->rec_size = record_size; in btf_ext_setup_info()
/linux-6.3-rc2/fs/jbd2/
A Djournal.c1882 int record_size; in journal_revoke_records_per_block() local
1886 record_size = 8; in journal_revoke_records_per_block()
1888 record_size = 4; in journal_revoke_records_per_block()
1892 return space / record_size; in journal_revoke_records_per_block()

Completed in 100 milliseconds

12