Lines Matching defs:size
225 static int dma_map_host_va(struct hl_device *hdev, u64 addr, u64 size, in dma_map_host_va()
488 u64 size = end - start + 1; in add_va_block_locked() local
556 u64 start_addr, u32 size, struct asic_fixed_properties *prop) { in is_hint_crossing_range()
597 u64 size, u64 hint_addr, u32 va_block_align, in get_va_block()
754 enum hl_va_range_type type, u64 size, u32 alignment) in hl_reserve_va_block()
770 static int hl_get_va_range_type(struct hl_ctx *ctx, u64 address, u64 size, in hl_get_va_range_type()
798 u64 start_addr, u64 size) in hl_unreserve_va_block()
1095 size = args->map_host.mem_size; in map_device_va() local
1424 static int map_block(struct hl_device *hdev, u64 address, u64 *handle, u32 *size) in map_block()
1848 static int validate_export_params_common(struct hl_device *hdev, u64 device_addr, u64 size) in validate_export_params_common()
1867 static int validate_export_params_no_mmu(struct hl_device *hdev, u64 device_addr, u64 size) in validate_export_params_no_mmu()
1899 static int validate_export_params(struct hl_device *hdev, u64 device_addr, u64 size, u64 offset, in validate_export_params()
2017 static int export_dmabuf_from_addr(struct hl_ctx *ctx, u64 addr, u64 size, u64 offset, in export_dmabuf_from_addr()
2174 size_t size; in hl_ts_alloc_buf() local
2377 static int get_user_memory(struct hl_device *hdev, u64 addr, u64 size, in get_user_memory()
2435 int hl_pin_host_memory(struct hl_device *hdev, u64 addr, u64 size, in hl_pin_host_memory()
2552 u32 size, struct list_head *userptr_list, in hl_userptr_is_pinned()