Android-cuttlefish cvd tool
Macros | Functions
f2fs_format_utils.c File Reference
#include <f2fs_fs.h>
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdbool.h>
#include <sys/stat.h>
#include <fcntl.h>
Include dependency graph for f2fs_format_utils.c:

Macros

#define _GNU_SOURCE
 

Functions

static int trim_device (int UNUSED(i))
 
static bool is_wiped_device (int UNUSED(i))
 
int f2fs_trim_devices (void)
 

Macro Definition Documentation

◆ _GNU_SOURCE

#define _GNU_SOURCE

f2fs_format_utils.c

Copyright (c) 2014 Samsung Electronics Co., Ltd. http://www.samsung.com/

Dual licensed under the GPL or LGPL version 2 licenses.

Function Documentation

◆ f2fs_trim_devices()

int f2fs_trim_devices ( void  )

◆ is_wiped_device()

static bool is_wiped_device ( int   UNUSEDi)
static

◆ trim_device()

static int trim_device ( int   UNUSEDi)
static