Searched refs:old_length (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/fs/coda/ |
H A D | upcall.c | 233 struct CodaFid *new_fid, size_t old_length, in venus_rename() argument 243 insize = max_t(unsigned int, offset + new_length + old_length + 8, in venus_rename() 252 s = ( old_length & ~0x3) +4; /* round up to word boundary */ in venus_rename() 253 memcpy((char *)(inp) + offset, old_name, old_length); in venus_rename() 254 *((char *)inp + offset + old_length) = '\0'; in venus_rename()
|
H A D | coda_psdev.h | 72 struct CodaFid *old_fid, size_t old_length,
|
H A D | dir.c | 304 int old_length = old_dentry->d_name.len; in coda_rename() local 312 coda_i2f(new_dir), old_length, new_length, in coda_rename()
|
/openbmc/linux/drivers/media/pci/ivtv/ |
H A D | ivtv-queue.c | 156 u32 old_length = to->length; in ivtv_queue_move() local 158 while (to->length - old_length < needed_bytes) { in ivtv_queue_move()
|
/openbmc/qemu/block/ |
H A D | qcow2.c | 4303 uint64_t old_length; in qcow2_co_truncate() local 4340 old_length = bs->total_sectors * BDRV_SECTOR_SIZE; in qcow2_co_truncate() 4343 if (offset < old_length) { in qcow2_co_truncate() 4353 old_length - ROUND_UP(offset, in qcow2_co_truncate() 4443 ret = preallocate_co(bs, old_length, offset, prealloc, errp); in qcow2_co_truncate() 4461 ret = preallocate_co(bs, old_length, offset, prealloc, errp); in qcow2_co_truncate() 4484 start_of_cluster(s, old_length)) >> s->cluster_bits; in qcow2_co_truncate() 4558 guest_offset = old_length; in qcow2_co_truncate() 4602 if ((flags & BDRV_REQ_ZERO_WRITE) && offset > old_length) { in qcow2_co_truncate() 4603 uint64_t zero_start = QEMU_ALIGN_UP(old_length, s->subcluster_size); in qcow2_co_truncate() [all …]
|
/openbmc/linux/drivers/usb/core/ |
H A D | hub.c | 5248 unsigned old_length; in descriptors_changed() local 5277 old_length = le16_to_cpu(udev->config[index].desc.wTotalLength); in descriptors_changed() 5278 len = max(len, old_length); in descriptors_changed() 5287 old_length = le16_to_cpu(udev->config[index].desc.wTotalLength); in descriptors_changed() 5289 old_length); in descriptors_changed() 5290 if (length != old_length) { in descriptors_changed() 5296 if (memcmp(buf, udev->rawdescriptors[index], old_length) in descriptors_changed()
|