Home
last modified time | relevance | path

Searched refs:entries_size (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/net/bridge/netfilter/
H A Debtables.c477 newinfo->entries_size = repl->entries_size; in ebt_verify_pointers()
1218 newinfo->entries_size = repl->entries_size; in ebt_register_table()
1555 entries_size = t->private->entries_size; in copy_everything_to_user()
1560 entries_size = t->table->entries_size; in copy_everything_to_user()
1576 if (tmp.entries_size != entries_size) in copy_everything_to_user()
1863 tinfo.entries_size = t->private->entries_size; in compat_copy_everything_to_user()
1868 tinfo.entries_size = t->table->entries_size; in compat_copy_everything_to_user()
1892 *len, tinfo.entries_size, repl.entries_size); in compat_copy_everything_to_user()
2410 tmp.entries_size = t->table->entries_size; in compat_do_ebt_get_ctl()
2482 tmp.entries_size = t->private->entries_size; in do_ebt_get_ctl()
[all …]
H A Debtable_nat.c37 .entries_size = 3 * sizeof(struct ebt_entries),
H A Debtable_filter.c37 .entries_size = 3 * sizeof(struct ebt_entries),
H A Debtable_broute.c32 .entries_size = sizeof(struct ebt_entries),
/openbmc/linux/arch/x86/kernel/
H A Dldt.c505 unsigned long entries_size; in read_ldt() local
518 entries_size = mm->context.ldt->nr_entries * LDT_ENTRY_SIZE; in read_ldt()
519 if (entries_size > bytecount) in read_ldt()
520 entries_size = bytecount; in read_ldt()
522 if (copy_to_user(ptr, mm->context.ldt->entries, entries_size)) { in read_ldt()
527 if (entries_size != bytecount) { in read_ldt()
529 if (clear_user(ptr + entries_size, bytecount - entries_size)) { in read_ldt()
/openbmc/linux/drivers/firmware/efi/
H A Desrt.c241 size_t size, max, entry_size, entries_size; in efi_esrt_init() local
313 entries_size = tmpesrt.fw_resource_count * entry_size; in efi_esrt_init()
314 if (max < size + entries_size) { in efi_esrt_init()
320 size += entries_size; in efi_esrt_init()
/openbmc/linux/include/uapi/linux/netfilter_bridge/
H A Debtables.h50 unsigned int entries_size; member
66 unsigned int entries_size; member
/openbmc/linux/include/linux/netfilter_bridge/
H A Debtables.h81 unsigned int entries_size; member
/openbmc/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc_qos.c1138 int entries_size; in enetc_psfp_parse_clsflower() local
1245 entries_size = struct_size(sgi, entries, entryg->gate.num_entries); in enetc_psfp_parse_clsflower()
1246 sgi = kzalloc(entries_size, GFP_KERNEL); in enetc_psfp_parse_clsflower()
/openbmc/linux/fs/btrfs/
H A Dextent_io.c2440 int entries_size; member
2633 if (cache->entries_pos == cache->entries_size) { in emit_fiemap_extent()
2642 entry = &cache->entries[cache->entries_size - 1]; in emit_fiemap_extent()
3017 cache.entries_size = PAGE_SIZE / sizeof(struct btrfs_fiemap_entry); in extent_fiemap()
3018 cache.entries = kmalloc_array(cache.entries_size, in extent_fiemap()