Home
last modified time | relevance | path

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

/Linux-v5.10/net/bridge/netfilter/
Debtables.c430 unsigned int limit = repl->entries_size; in ebt_verify_pointers()
438 newinfo->entries_size = repl->entries_size; in ebt_verify_pointers()
863 ret = EBT_ENTRY_ITERATE(newinfo->entries, newinfo->entries_size, in translate_table()
904 EBT_ENTRY_ITERATE(newinfo->entries, newinfo->entries_size, in translate_table()
935 ret = EBT_ENTRY_ITERATE(newinfo->entries, newinfo->entries_size, in translate_table()
938 EBT_ENTRY_ITERATE(newinfo->entries, newinfo->entries_size, in translate_table()
1041 EBT_ENTRY_ITERATE(table->entries, table->entries_size, in do_replace_finish()
1056 EBT_ENTRY_ITERATE(newinfo->entries, newinfo->entries_size, in do_replace_finish()
1075 if (len != sizeof(tmp) + tmp.entries_size) in do_replace()
1078 if (tmp.entries_size == 0) in do_replace()
[all …]
Debtable_filter.c37 .entries_size = 3 * sizeof(struct ebt_entries),
Debtable_nat.c37 .entries_size = 3 * sizeof(struct ebt_entries),
Debtable_broute.c32 .entries_size = sizeof(struct ebt_entries),
/Linux-v5.10/arch/x86/kernel/
Dldt.c497 unsigned long entries_size; in read_ldt() local
510 entries_size = mm->context.ldt->nr_entries * LDT_ENTRY_SIZE; in read_ldt()
511 if (entries_size > bytecount) in read_ldt()
512 entries_size = bytecount; in read_ldt()
514 if (copy_to_user(ptr, mm->context.ldt->entries, entries_size)) { in read_ldt()
519 if (entries_size != bytecount) { in read_ldt()
521 if (clear_user(ptr + entries_size, bytecount - entries_size)) { in read_ldt()
/Linux-v5.10/drivers/firmware/efi/
Desrt.c243 size_t size, max, entry_size, entries_size; in efi_esrt_init() local
320 entries_size = tmpesrt.fw_resource_count * entry_size; in efi_esrt_init()
321 if (max < size + entries_size) { in efi_esrt_init()
327 size += entries_size; in efi_esrt_init()
/Linux-v5.10/include/uapi/linux/netfilter_bridge/
Debtables.h50 unsigned int entries_size; member
66 unsigned int entries_size; member
/Linux-v5.10/include/linux/netfilter_bridge/
Debtables.h81 unsigned int entries_size; member
/Linux-v5.10/drivers/net/ethernet/freescale/enetc/
Denetc_qos.c1087 int entries_size; in enetc_psfp_parse_clsflower() local
1194 entries_size = struct_size(sgi, entries, entryg->gate.num_entries); in enetc_psfp_parse_clsflower()
1195 sgi = kzalloc(entries_size, GFP_KERNEL); in enetc_psfp_parse_clsflower()