Lines Matching refs:rv
1478 int rv; in __bitmap_start_sync() local
1485 rv = 0; in __bitmap_start_sync()
1489 rv = 1; in __bitmap_start_sync()
1491 rv = 1; in __bitmap_start_sync()
1499 return rv; in __bitmap_start_sync()
1512 int rv = 0; in bitmap_start_sync() local
1517 rv |= __bitmap_start_sync(bitmap, offset, in bitmap_start_sync()
1522 return rv; in bitmap_start_sync()
1870 int rv = 0, i, j; in bitmap_copy_from_slot() local
1878 rv = bitmap_read_sb(bitmap); in bitmap_copy_from_slot()
1879 if (rv) in bitmap_copy_from_slot()
1882 rv = bitmap_init_from_disk(bitmap, 0); in bitmap_copy_from_slot()
1883 if (rv) in bitmap_copy_from_slot()
1913 return rv; in bitmap_copy_from_slot()
2161 int rv; in location_store() local
2163 rv = kstrtoll(buf+1, 10, &offset); in location_store()
2165 rv = kstrtoll(buf, 10, &offset); in location_store()
2166 if (rv) in location_store()
2167 return rv; in location_store()
2180 rv = PTR_ERR(bitmap); in location_store()
2183 rv = bitmap_load(mddev); in location_store()
2184 if (rv) { in location_store()
2190 if (rv) in location_store()
2191 return rv; in location_store()
2222 int rv; in space_store() local
2224 rv = kstrtoul(buf, 10, §ors); in space_store()
2225 if (rv) in space_store()
2226 return rv; in space_store()
2264 int rv = strict_strtoul_scaled(buf, &timeout, 4); in timeout_store() local
2265 if (rv) in timeout_store()
2266 return rv; in timeout_store()
2305 int rv = kstrtoul(buf, 10, &backlog); in backlog_store() local
2306 if (rv) in backlog_store()
2307 return rv; in backlog_store()
2327 int rv; in chunksize_store() local
2331 rv = kstrtoul(buf, 10, &csize); in chunksize_store()
2332 if (rv) in chunksize_store()
2333 return rv; in chunksize_store()