Searched refs:optslen (Results 1 – 1 of 1) sorted by relevance
/net/core/ |
D | dst.c | 375 static void __metadata_dst_init(struct metadata_dst *md_dst, u8 optslen) in __metadata_dst_init() argument 386 memset(dst + 1, 0, sizeof(*md_dst) + optslen - sizeof(*dst)); in __metadata_dst_init() 389 struct metadata_dst *metadata_dst_alloc(u8 optslen, gfp_t flags) in metadata_dst_alloc() argument 393 md_dst = kmalloc(sizeof(*md_dst) + optslen, flags); in metadata_dst_alloc() 397 __metadata_dst_init(md_dst, optslen); in metadata_dst_alloc() 411 struct metadata_dst __percpu *metadata_dst_alloc_percpu(u8 optslen, gfp_t flags) in metadata_dst_alloc_percpu() argument 416 md_dst = __alloc_percpu_gfp(sizeof(struct metadata_dst) + optslen, in metadata_dst_alloc_percpu() 422 __metadata_dst_init(per_cpu_ptr(md_dst, cpu), optslen); in metadata_dst_alloc_percpu()
|