Home
last modified time | relevance | path

Searched refs:old_entries (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/net/netfilter/
H A Dcore.c107 unsigned int i, alloc_entries, nhooks, old_entries; in nf_hook_entries_grow() local
114 old_entries = old ? old->num_hook_entries : 0; in nf_hook_entries_grow()
119 for (i = 0; i < old_entries; i++) { in nf_hook_entries_grow()
136 while (i < old_entries) { in nf_hook_entries_grow()
/kernel/linux/linux-6.6/net/netfilter/
H A Dcore.c107 unsigned int i, alloc_entries, nhooks, old_entries; in nf_hook_entries_grow() local
114 old_entries = old ? old->num_hook_entries : 0; in nf_hook_entries_grow()
119 for (i = 0; i < old_entries; i++) { in nf_hook_entries_grow()
148 while (i < old_entries) { in nf_hook_entries_grow()
/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/
H A Dsja1105_static_config.c1454 void *new_entries, *old_entries = table->entries; in sja1105_table_resize() local
1463 memcpy(new_entries, old_entries, min(new_count, table->entry_count) * in sja1105_table_resize()
1468 kfree(old_entries); in sja1105_table_resize()
/kernel/linux/linux-6.6/drivers/net/dsa/sja1105/
H A Dsja1105_static_config.c1936 void *new_entries, *old_entries = table->entries; in sja1105_table_resize() local
1945 memcpy(new_entries, old_entries, min(new_count, table->entry_count) * in sja1105_table_resize()
1950 kfree(old_entries); in sja1105_table_resize()
/kernel/linux/linux-5.10/kernel/trace/
H A Dring_buffer.c1400 unsigned long old_entries; in rb_tail_page_update() local
1413 old_entries = local_add_return(RB_WRITE_INTCNT, &next_page->entries); in rb_tail_page_update()
1430 unsigned long eval = old_entries & ~RB_WRITE_MASK; in rb_tail_page_update()
1443 (void)local_cmpxchg(&next_page->entries, old_entries, eval); in rb_tail_page_update()
/kernel/linux/linux-6.6/kernel/trace/
H A Dring_buffer.c1477 unsigned long old_entries; in rb_tail_page_update() local
1490 old_entries = local_add_return(RB_WRITE_INTCNT, &next_page->entries); in rb_tail_page_update()
1507 unsigned long eval = old_entries & ~RB_WRITE_MASK; in rb_tail_page_update()
1520 (void)local_cmpxchg(&next_page->entries, old_entries, eval); in rb_tail_page_update()
/kernel/linux/linux-5.10/fs/nfsd/
H A Dnfs4state.c882 int entries, old_entries; member
898 bd->entries -= bd->old_entries; in delegation_blocked()
899 bd->old_entries = bd->entries; in delegation_blocked()
/kernel/linux/linux-6.6/fs/nfsd/
H A Dnfs4state.c1101 int entries, old_entries; member
1117 bd->entries -= bd->old_entries; in delegation_blocked()
1118 bd->old_entries = bd->entries; in delegation_blocked()

Completed in 40 milliseconds