openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/util-linux/2.33.2-r0/util-linux-2.33.2/libmount/src/monitor.c
struct libmnt_monitor* mnt_new_monitor(void)
{
    struct libmnt_monitor* mn = calloc(1, sizeof(*mn));
    if (!mn)
        return NULL;

    mn->refcount = 1;
    mn->fd = -1;
    INIT_LIST_HEAD(&mn->ents);

    DBG(MONITOR, ul_debugobj(mn, "alloc"));
    return mn;
}
/**
 * mnt_new_monitor:
 *
 * The initial refcount is 1, and needs to be decremented to
 * release the resources of the filesystem.
 *
 * Returns: newly allocated struct libmnt_monitor.
 */
The initial refcount is 1, and needs to be decremented to
release the resources of the filesystem.

newly allocated struct libmnt_monitor.
The initial refcount is 1 and needs to be decremented to release the resources of the filesystem . newly allocated struct libmnt_monitor .
struct libmnt_monitor* mnt_new_monitor(void)
{
    struct libmnt_monitor* mn = calloc(1, sizeof(*mn));
    if (!mn)
        return NULL;
    mn->refcount = 1;
    mn->fd = -1;
    INIT_LIST_HEAD(&mn->ents);
    DBG(MONITOR, ul_debugobj(mn, "alloc"));
    return mn;
}
struct libmnt_monitor * mnt_new_monitor ( void ) { struct libmnt_monitor * mn = calloc ( 1 , sizeof ( * mn ) ) ; if ( ! mn ) return NULL ; mn -> refcount = 1 ; mn -> fd = -1 ; INIT_LIST_HEAD ( & mn -> ents ) ; DBG ( MONITOR , ul_debugobj ( mn , " " ) ) ; return mn ; }
mnt_new_monitor:
 The initial refcount is 1, and needs to be decremented to
 release the resources of the filesystem.
mnt_new_monitor : The initial refcount is 1 and needs to be decremented to release the resources of the filesystem .