Home
last modified time | relevance | path

Searched refs:optslen (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/net/core/
Ddst.c289 enum metadata_type type, u8 optslen) in __metadata_dst_init() argument
296 memset(dst + 1, 0, sizeof(*md_dst) + optslen - sizeof(*dst)); in __metadata_dst_init()
300 struct metadata_dst *metadata_dst_alloc(u8 optslen, enum metadata_type type, in metadata_dst_alloc() argument
305 md_dst = kmalloc(sizeof(*md_dst) + optslen, flags); in metadata_dst_alloc()
309 __metadata_dst_init(md_dst, type, optslen); in metadata_dst_alloc()
326 metadata_dst_alloc_percpu(u8 optslen, enum metadata_type type, gfp_t flags) in metadata_dst_alloc_percpu() argument
331 md_dst = __alloc_percpu_gfp(sizeof(struct metadata_dst) + optslen, in metadata_dst_alloc_percpu()
337 __metadata_dst_init(per_cpu_ptr(md_dst, cpu), type, optslen); in metadata_dst_alloc_percpu()
/kernel/linux/linux-5.10/include/net/
Ddst_metadata.h91 struct metadata_dst *metadata_dst_alloc(u8 optslen, enum metadata_type type,
95 metadata_dst_alloc_percpu(u8 optslen, enum metadata_type type, gfp_t flags);