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

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

Completed in 288 milliseconds