Lines Matching refs:num_bos

1887 			       uint32_t num_bos,  in criu_checkpoint_bos()  argument
1897 bo_buckets = kvzalloc(num_bos * sizeof(*bo_buckets), GFP_KERNEL); in criu_checkpoint_bos()
1901 bo_privs = kvzalloc(num_bos * sizeof(*bo_privs), GFP_KERNEL); in criu_checkpoint_bos()
1988 ret = copy_to_user(user_bos, bo_buckets, num_bos * sizeof(*bo_buckets)); in criu_checkpoint_bos()
1995 ret = copy_to_user(user_priv_data + *priv_offset, bo_privs, num_bos * sizeof(*bo_privs)); in criu_checkpoint_bos()
2002 *priv_offset += num_bos * sizeof(*bo_privs); in criu_checkpoint_bos()
2018 uint32_t *num_bos, in criu_get_process_object_info() argument
2027 *num_bos = get_process_num_bos(p); in criu_get_process_object_info()
2044 priv_size += *num_bos * sizeof(struct kfd_criu_bo_priv_data); in criu_get_process_object_info()
2058 uint32_t num_devices, num_bos, num_objects; in criu_checkpoint() local
2080 ret = criu_get_process_object_info(p, &num_devices, &num_bos, &num_objects, &priv_size); in criu_checkpoint()
2085 num_bos != args->num_bos || in criu_checkpoint()
2108 priv_offset += num_bos * sizeof(struct kfd_criu_bo_priv_data); in criu_checkpoint()
2129 ret = criu_checkpoint_bos(p, num_bos, (uint8_t __user *)args->bos, in criu_checkpoint()
2434 if (*priv_offset + (args->num_bos * sizeof(*bo_privs)) > max_priv_data_size) in criu_restore_bos()
2440 bo_buckets = kvmalloc_array(args->num_bos, sizeof(*bo_buckets), GFP_KERNEL); in criu_restore_bos()
2445 args->num_bos * sizeof(*bo_buckets)); in criu_restore_bos()
2452 bo_privs = kvmalloc_array(args->num_bos, sizeof(*bo_privs), GFP_KERNEL); in criu_restore_bos()
2459 args->num_bos * sizeof(*bo_privs)); in criu_restore_bos()
2465 *priv_offset += args->num_bos * sizeof(*bo_privs); in criu_restore_bos()
2468 for (; i < args->num_bos; i++) { in criu_restore_bos()
2479 (args->num_bos * sizeof(*bo_buckets))); in criu_restore_bos()
2558 args->num_devices, args->num_bos, args->num_objects, args->priv_data_size); in criu_restore()
2561 !args->num_devices || !args->num_bos) in criu_restore()
2698 ret = criu_get_process_object_info(p, &args->num_devices, &args->num_bos, in criu_process_info()
2704 args->num_devices, args->num_bos, args->num_objects, in criu_process_info()