Home
last modified time | relevance | path

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

/f-stack/freebsd/contrib/libnv/
H A Dnvlist.c1480 nvl->nvl_error = ERRNO_OR_DEFAULT(ENOMEM); in NVLIST_EXISTS()
1511 nvl->nvl_error = ERRNO_OR_DEFAULT(ENOMEM); in nvlist_add_stringv()
1530 nvl->nvl_error = ERRNO_OR_DEFAULT(ENOMEM); in nvlist_add_null()
1550 nvl->nvl_error = ERRNO_OR_DEFAULT(ENOMEM); in nvlist_add_binary()
1688 nvl->nvl_error = ERRNO_OR_DEFAULT(ENOMEM); in nvlist_move_string()
1709 nvl->nvl_error = ERRNO_OR_DEFAULT(ENOMEM); in nvlist_move_nvlist()
1730 nvl->nvl_error = ERRNO_OR_DEFAULT(ENOMEM); in nvlist_move_descriptor()
1751 nvl->nvl_error = ERRNO_OR_DEFAULT(ENOMEM); in nvlist_move_binary()
1772 nvl->nvl_error = ERRNO_OR_DEFAULT(ENOMEM); in nvlist_move_bool_array()
1798 nvl->nvl_error = ERRNO_OR_DEFAULT(ENOMEM); in nvlist_move_string_array()
[all …]
H A Dnv_impl.h68 #define ERRNO_OR_DEFAULT(default) (default) macro
88 #define ERRNO_OR_DEFAULT(default) (errno == 0 ? (default) : errno) macro