OS Manuals

llapi_lov_pattern_string(3)

llapi_lov_string_pattern - convert pattern name string to LOV_PATTERN mask

LLAPI_LOV_STRING_PATTERN(3) Lustre Library Functions LLAPI_LOV_STRING_PATTERN(3)

llapi_lov_string_pattern - convert pattern name string to LOV_PATTERN mask

#include <lustre/lustreapi.h>
int llapi_lov_string_pattern(const char *string, enum lov_pattern *pattern);

llapi_lov_string_pattern() converts the comma-separated list of LOV pattern names in string to a mask of LOV_PATTERN_* flags returned in pattern.

llapi_lov_string_pattern() returns 0 on success, or -EINVAL on failure (in which case, errno is set appropriately).

llapi_lov_string_pattern() is part of the lustre(7) user application interface library since release 2.17.0

llapi_lov_pattern_string(3), lustre(7), lustreapi(7)

2025-06-04 Lustre User API

lustre 2.17.59-r1 · enterprise-packages · ingested 2026-10-02