Lines Matching defs:bw
1122 s64 bw = 0, inited_size;
1265 bw = ntfs_rlwrite(g_vol->u.dev, rl, val, val_len, &inited_size);
1266 if (bw != val_len) {
1275 if (err < 0 || bw != val_len) {
1282 "with error %i.\n", err < 0 ? err : (int)bw);
1306 s64 bw = 0;
1453 bw = ntfs_rlwrite(g_vol->u.dev, rl, val, val_len, NULL);
1454 if (bw != val_len) {
1462 if (err < 0 || bw != val_len) {
1469 "error %lld.\n", (long long) (err < 0 ? err : bw));
3743 ssize_t bw;
3757 bw = mkntfs_write(g_vol->u.dev, g_buf, g_vol->cluster_size);
3758 if (bw != (ssize_t)g_vol->cluster_size) {
3759 if (bw != -1 || errno != EIO) {
3786 bw = mkntfs_write(g_vol->u.dev, g_buf, opts.sector_size);
3787 if (bw != opts.sector_size) {
3788 if (bw != -1 || errno != EIO) {
3925 ssize_t bw;
3946 bw = mkntfs_write(g_vol->u.dev, buff, size);
3947 if (bw == size)
3950 if (bw == -1LL)
3955 if (bw != -1LL || (bw == -1LL && e != ENOSPC && e != EIO)) {