Home
last modified time | relevance | path

Searched refs:known_size (Results 1 – 4 of 4) sorted by relevance

/drivers/staging/lustre/lnet/libcfs/
Dtracefile.c301 int known_size; in libcfs_debug_vmsg2() local
333 known_size = strlen(file) + 1 + depth; in libcfs_debug_vmsg2()
335 known_size += strlen(msgdata->msg_fn) + 1; in libcfs_debug_vmsg2()
338 known_size += sizeof(header); in libcfs_debug_vmsg2()
346 tage = cfs_trace_get_tage(tcd, needed + known_size + 1); in libcfs_debug_vmsg2()
348 if (needed + known_size > PAGE_SIZE) in libcfs_debug_vmsg2()
357 tage->used + known_size; in libcfs_debug_vmsg2()
359 max_nob = PAGE_SIZE - tage->used - known_size; in libcfs_debug_vmsg2()
395 header.ph_len = known_size + needed; in libcfs_debug_vmsg2()
/drivers/block/drbd/
Ddrbd_nl.c1890 nbc->known_size = drbd_get_capacity(nbc->backing_bdev); in drbd_adm_attach()
1892 if (nbc->known_size > max_possible_sectors) { in drbd_adm_attach()
2883 if (device->ldev->known_size != drbd_get_capacity(device->ldev->backing_bdev)) in drbd_adm_resize()
2884 device->ldev->known_size = drbd_get_capacity(device->ldev->backing_bdev); in drbd_adm_resize()
Ddrbd_int.h615 sector_t known_size; /* last known size of that backing device */ member
Ddrbd_receiver.c4145 if (device->ldev->known_size != drbd_get_capacity(device->ldev->backing_bdev)) { in receive_sizes()
4146 device->ldev->known_size = drbd_get_capacity(device->ldev->backing_bdev); in receive_sizes()