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/tab.c
struct libmnt_table* mnt_new_table(void)
{
    struct libmnt_table* tb = NULL;

    tb = calloc(1, sizeof(*tb));
    if (!tb)
        return NULL;

    DBG(TAB, ul_debugobj(tb, "alloc"));
    tb->refcount = 1;
    INIT_LIST_HEAD(&tb->ents);
    return tb;
}
/**
 * mnt_new_table:
 *
 * The tab is a container for struct libmnt_fs entries that usually represents a
 * fstab, mtab or mountinfo file from your system.
 *
 * See also mnt_table_parse_file().
 *
 * Returns: newly allocated tab struct.
 */
The tab is a container for struct libmnt_fs entries that usually represents a
fstab, mtab or mountinfo file from your system.



newly allocated tab struct.
The tab is a container for struct libmnt_fs entries that usually represents a fstab mtab or mountinfo file from your system . newly allocated tab struct .
struct libmnt_table* mnt_new_table(void)
{
    struct libmnt_table* tb = NULL;
    tb = calloc(1, sizeof(*tb));
    if (!tb)
        return NULL;
    DBG(TAB, ul_debugobj(tb, "alloc"));
    tb->refcount = 1;
    INIT_LIST_HEAD(&tb->ents);
    return tb;
}
struct libmnt_table * mnt_new_table ( void ) { struct libmnt_table * tb = NULL ; tb = calloc ( 1 , sizeof ( * tb ) ) ; if ( ! tb ) return NULL ; DBG ( TAB , ul_debugobj ( tb , " " ) ) ; tb -> refcount = 1 ; INIT_LIST_HEAD ( & tb -> ents ) ; return tb ; }
mnt_new_table:
 The tab is a container for struct libmnt_fs entries that usually represents a
 fstab, mtab or mountinfo file from your system.
mnt_new_table : The tab is a container for struct libmnt_fs entries that usually represents a fstab mtab or mountinfo file from your system .