Searched refs:metadata_type (Results 1 – 4 of 4) sorted by relevance
/Linux-v4.19/include/net/ |
D | dst_metadata.h | 9 enum metadata_type { enum 21 enum metadata_type type; 89 struct metadata_dst *metadata_dst_alloc(u8 optslen, enum metadata_type type, 93 metadata_dst_alloc_percpu(u8 optslen, enum metadata_type type, gfp_t flags);
|
/Linux-v4.19/net/core/ |
D | dst.c | 271 enum metadata_type type, u8 optslen) in __metadata_dst_init() 287 struct metadata_dst *metadata_dst_alloc(u8 optslen, enum metadata_type type, in metadata_dst_alloc() 313 metadata_dst_alloc_percpu(u8 optslen, enum metadata_type type, gfp_t flags) in metadata_dst_alloc_percpu()
|
/Linux-v4.19/drivers/md/ |
D | md.h | 298 char metadata_type[17]; /* externally set*/ member
|
D | md.c | 4451 return sprintf(page, "external:%s\n", mddev->metadata_type); in metadata_show() 4486 if (namelen >= sizeof(mddev->metadata_type)) in metadata_store() 4487 namelen = sizeof(mddev->metadata_type)-1; in metadata_store() 4488 strncpy(mddev->metadata_type, buf+9, namelen); in metadata_store() 4489 mddev->metadata_type[namelen] = 0; in metadata_store() 4490 if (namelen && mddev->metadata_type[namelen-1] == '\n') in metadata_store() 4491 mddev->metadata_type[--namelen] = 0; in metadata_store() 5812 mddev->metadata_type[0] = 0; in md_clean() 7912 mddev->metadata_type); in md_seq_show()
|