Home
last modified time | relevance | path

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

/device/soc/rockchip/common/sdk_linux/drivers/dma-buf/
H A Ddma-heap.c166 unsigned int in_size, out_size, drv_size, ksize; in dma_heap_ioctl() local
187 ksize = max(max(in_size, out_size), drv_size); in dma_heap_ioctl()
189 if (ksize > sizeof(stack_kdata)) { in dma_heap_ioctl()
190 kdata = kmalloc(ksize, GFP_KERNEL); in dma_heap_ioctl()
202 if (ksize > in_size) { in dma_heap_ioctl()
203 memset(kdata + in_size, 0, ksize - in_size); in dma_heap_ioctl()
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/
H A Ddrm_ioctl.c814 unsigned int in_size, out_size, drv_size, ksize; in drm_ioctl() local
855 ksize = max(max(in_size, out_size), drv_size); in drm_ioctl()
869 if (ksize <= sizeof(stack_kdata)) { in drm_ioctl()
872 kdata = kmalloc(ksize, GFP_KERNEL); in drm_ioctl()
884 if (ksize > in_size) { in drm_ioctl()
885 memset(kdata + in_size, 0, ksize - in_size); in drm_ioctl()
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/commonboot/
H A Dhi_cipher.h116 hi_u32 ksize; /* Ecc key size in bytes. It corresponds to the size in bytes of the prime, should be 32bytes. */ member
/device/soc/hisilicon/hi3861v100/sdk_liteos/include/
H A Dhi_cipher.h149 hi_u32 ksize; /**< Ecc key size in bytes. It corresponds to the size in bytes of the prime, should be 32bytes. */ member
/device/soc/rockchip/common/sdk_linux/kernel/sched/
H A Dcore.c6346 unsigned int ksize = sizeof(*kattr); in sched_attr_copy_to_user() local
6355 * If usize == ksize then we just copy everything to user-space and all is in sched_attr_copy_to_user()
6358 * If usize < ksize then we only copy as much as user-space has space for, in sched_attr_copy_to_user()
6361 * If usize > ksize then user-space is using a newer version of the ABI, in sched_attr_copy_to_user()
6364 * which is set to ksize in this case. in sched_attr_copy_to_user()
6366 kattr->size = min(usize, ksize); in sched_attr_copy_to_user()

Completed in 15 milliseconds