Home
last modified time | relevance | path

Searched refs:fstrim (Results 1 - 1 of 1) sorted by relevance

/third_party/ntfs-3g/libntfs-3g/
H A Dioctl.c255 static int fstrim(ntfs_volume *vol, void *data, u64 *trimmed) in fstrim() function
266 ntfs_log_debug("fstrim: start=%llu len=%llu minlen=%llu\n", in fstrim()
273 /* Fail if user tries to use the fstrim -o/-l/-m options. in fstrim()
277 ntfs_log_error("fstrim: setting start or length is not supported\n"); in fstrim()
281 ntfs_log_error("fstrim: minlen > cluster size is not supported\n"); in fstrim()
291 ntfs_log_error("fstrim: not supported for non-block-device\n"); in fstrim()
300 ntfs_log_error("fstrim: backing device is not aligned for discards\n"); in fstrim()
305 ntfs_log_error("fstrim: backing device does not support discard (discard_max_bytes == 0)\n"); in fstrim()
407 ret = fstrim(ni->vol, data, &trimmed); in ntfs_ioctl()

Completed in 1 milliseconds