| /linux/drivers/firmware/efi/ |
| H A D | efi-pstore.c | 13 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_disable_set() 59 unsigned long wlen, size = record_size; in efi_pstore_open() 245 if (record_size < 1024) in efi_pstore_erase() 246 record_size = 1024; 248 efi_pstore_info.buf = kmalloc(record_size, GFP_KERNEL); 252 efi_pstore_info.bufsize = record_size;
|
| H A D | cper.c | 794 int record_size; 803 gdata->error_data_length, &record_size)) 806 if (record_size > data_len) 809 data_len -= record_size; 755 unsigned int data_len, record_size; cper_estatus_check() local
|
| /linux/fs/ntfs3/ |
| H A D | super.c | 1018 u32 mb, gb, boot_sector_size = 0, sct_per_clst, record_size; in ntfs_init_from_boot() 1104 if (boot->record_size >= 0) { in ntfs_init_from_boot() 1105 record_size = (u32)boot->record_size << cluster_bits; in ntfs_init_from_boot() 1106 } else if (-boot->record_size <= MAXIMUM_SHIFT_BYTES_PER_MFT) { in ntfs_init_from_boot() 1107 record_size = 1u << (-boot->record_size); in ntfs_init_from_boot() 1110 boot->record_size); in ntfs_init_from_boot() 1114 sbi->record_size = record_size; in ntfs_init_from_boot() 994 u32 mb, gb, boot_sector_size, sct_per_clst, record_size; ntfs_init_from_boot() local [all...] |
| H 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() 195 * NOTE: mi->mrec - memory of size sbi->record_size 196 * here we sure that mi->mrec->total == sbi->record_size (see mi_read) 471 memcpy(rec, sbi->new_rec, sbi->record_size); in mi_format_new() 489 err = ntfs_get_bh(sbi, &ni->file.run, vbo, sbi->record_size, in mi_format_new() 516 if (used + asize > sbi->record_size) in mi_insert_attr() 667 u32 dsize = sbi->record_size - used; in mi_pack_runs()
|
| H A D | dir.c | 472 loff_t eod = i_size + sbi->record_size; in ntfs_readdir() 559 if (pos >= sbi->record_size) { in ntfs_readdir() 560 bit = (pos - sbi->record_size) >> index_bits; in ntfs_readdir() 616 ((u64)bit << index_bits) + sbi->record_size, in ntfs_readdir()
|
| H A D | fslog.c | 2759 if (asize >= sbi->record_size || in check_attr() 2760 asize + PtrOffset(rec, attr) >= sbi->record_size || in check_attr() 2848 u32 rs = sbi->record_size; in check_file_record() 2855 ao > sbi->record_size - SIZEOF_RESIDENT || !is_rec_inuse(rec) || in check_file_record() 3142 u32 record_size = sbi->record_size; in do_action() local 3226 sbi->record_size); in do_action() 3292 if (roff + dlen > record_size) in do_action() 3307 if (!check_if_attr(rec, lrh) || roff + dlen > record_size) in do_action() 3329 dlen > record_size in do_action() [all...] |
| H A D | frecord.c | 501 u32 roff, rs = sbi->record_size; in ni_repack() 651 free = sbi->record_size - le32_to_cpu(ni->mi.mrec->used) + asize; in ni_try_remove_attr_list() 679 mrec = kmemdup(ni->mi.mrec, sbi->record_size, GFP_NOFS); in ni_try_remove_attr_list() 785 rs = sbi->record_size; in ni_create_attr_list() 792 * with many such attributes needs more than a single record_size; the in ni_create_attr_list() 793 * previous fixed kzalloc(record_size) could therefore be overflowed by in ni_create_attr_list() 1002 if (le32_to_cpu(mi->mrec->used) + asize > sbi->record_size) in ni_ins_attr_ext() 1096 free = sbi->record_size - used; in ni_insert_attr() 1201 while (asize + list_reserve > sbi->record_size - le32_to_cpu(rec->used)) in ni_insert_attr() 1307 err = run_pack(run, svcn, evcn + 1 - svcn, NULL, sbi->record_size, in ni_expand_mft_list() [all...] |
| H A D | index.c | 1371 u32 record_size = ni->mi.sbi->record_size; in indx_find_raw() 1383 if (*off >= record_size) { in indx_find_raw() 1384 next_vbn = (((*off - record_size) >> indx->index_bits)) in indx_find_raw() 1469 record_size + PtrOffset(&n->index->ihdr, e); in indx_find_raw() 1366 u32 record_size = ni->mi.sbi->record_size; indx_find_raw() local
|
| H A D | inode.c | 67 t32 = bytes_to_cluster(sbi, MFT_REC_VOL * sbi->record_size); in ntfs_read_mft() 97 if (le32_to_cpu(rec->total) != sbi->record_size) { in ntfs_read_mft() 1757 if (asize + t16 + 0x78 + 8 > sbi->record_size) { in ntfs_create_inode() 1762 t16 = sbi->record_size - t16 - SIZEOF_NONRESIDENT; in ntfs_create_inode()
|
| H A D | attrib.c | 405 if (new_size > sbi->record_size || in attr_set_size_res() 666 (sbi->record_size - in attr_set_size_ex() 700 ((u64)done << sbi->cluster_bits) >= 2 * sbi->record_size) { in attr_set_size_ex() 706 if (le32_to_cpu(rec->used) < sbi->record_size) { in attr_set_size_ex() 1163 fr = (sbi->record_size - le32_to_cpu(mi->mrec->used) + 8) / 3 + 1; in attr_data_get_block_locked()
|
| H A D | fsntfs.c | 810 rs = sbi->record_size; in ntfs_clear_mft_tail() 1209 if (vbo > MFT_REC_VOL * sbi->record_size) { in ntfs_read_run_nb_ra() 1216 len = sbi->record_size; in ntfs_read_run_nb_ra()
|
| H A D | ntfs.h | 221 s8 record_size; // 0x40: Size of MFT record in clusters(sectors). member
|
| H A D | ntfs_fs.h | 230 u32 record_size; 228 u32 record_size; global() member
|
| /linux/tools/firmware/ |
| H 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/lib/ |
| H A D | stackdepot.c | 438 size_t record_size; in depot_alloc_stack() local 455 record_size = depot_stack_record_size(stack, CONFIG_STACKDEPOT_MAX_FRAMES); in depot_alloc_stack() 458 record_size = depot_stack_record_size(stack, nr_entries); in depot_alloc_stack() 462 stack = depot_pop_free_pool(prealloc, record_size); in depot_alloc_stack() 481 counters[DEPOT_COUNTER_PERSIST_BYTES] += record_size; in depot_alloc_stack() 488 kmsan_unpoison_memory(stack, record_size); in depot_alloc_stack()
|
| /linux/include/linux/ |
| H A D | pstore_ram.h | 33 unsigned long record_size; member
|
| /linux/drivers/vfio/pci/mlx5/ |
| H A D | cmd.h | 48 __le64 record_size; member 97 u64 record_size; member
|
| /linux/Documentation/admin-guide/ |
| H A D | ramoops.rst | 38 The memory area is divided into ``record_size`` chunks (also rounded down to 39 power of two) and each kmesg dump writes a ``record_size`` chunk of 102 .record_size = <...>,
|
| /linux/drivers/platform/chrome/ |
| H A D | chromeos_pstore.c | 61 .record_size = 0x40000,
|
| /linux/fs/pstore/ |
| H A D | zone.c | 1197 loff_t *off, size_t total_size, ssize_t record_size, in psz_init_zones() argument 1206 if (!total_size || !record_size) in psz_init_zones() 1215 c = total_size / record_size; in psz_init_zones() 1228 zone = psz_init_zone(type, off, record_size); in psz_init_zones()
|
| /linux/fs/jbd2/ |
| H A D | journal.c | 1426 int record_size; in jbd2_descriptor_blocks_per_trans() 1430 record_size = 8; in jbd2_descriptor_blocks_per_trans() 1432 record_size = 4; in jbd2_descriptor_blocks_per_trans() 1436 return space / record_size; in jbd2_descriptor_blocks_per_trans() 1403 int record_size; journal_revoke_records_per_block() local
|
| /linux/tools/lib/bpf/ |
| H A D | btf.c | 3674 __u32 data_left, info_left, record_size; in btf_ext__new() 3697 /* The start of the info sec (including the __u32 record_size). */ in btf_ext_raw_data() 3711 record_size = is_native ? *(__u32 *)info : bswap_32(*(__u32 *)info); in btf_ext_raw_data() 3712 if (record_size < ext_sec->min_rec_size || in btf_ext_raw_data() 3713 (!is_native && record_size != ext_sec->min_rec_size) || in btf_ext_raw_data() 3714 record_size & 0x03) { in btf_ext_raw_data() 3716 ext_sec->desc, record_size); 3747 total_record_size = sec_hdrlen + (__u64)num_records * record_size; in btf_ext__set_endianness() 3761 ext_info->rec_size = record_size; 3367 __u32 info_left, record_size; btf_ext_parse_sec_info() local
|
| /linux/fs/ntfs/ |
| H A D | inode.c | 3666 int record_size; in __ntfs_inode_resident_attr_pwrite() 3693 record_size = le32_to_cpu(ctx->attr->length); in __ntfs_inode_resident_attr_pwrite() 3701 freed += record_size; in __ntfs_inode_resident_attr_pwrite() 3479 int record_size; ntfs_inode_free_space() local
|
| /linux/drivers/net/wireless/ath/wil6210/ |
| H A D | wmi.h | 4096 __le16 record_size; member
|