1nvme_set_root(9)              libnvme API manual              nvme_set_root(9)
2
3
4

NAME

6       nvme_set_root - Set nvme_root_t context
7

SYNOPSIS

9       void nvme_set_root (nvme_root_t r );
10

ARGUMENTS

12       r           nvme_root_t context
13

DESCRIPTION

15       In  order  to  be  able  to log from code paths where no root object is
16       passed in via the arguments use the the default one which  can  be  set
17       via  this  call.  When creating a new root object with nvme_create_root
18       the global root object will be set as well. This means the global  root
19       object  is  always pointing to the latest created root object. Note the
20       first nvme_free_tree call will reset the global root object.
21
22
23
24October 2023                     nvme_set_root                nvme_set_root(9)
Impressum