Searched refs:ent_size (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/drivers/infiniband/hw/mlx5/ |
H A D | umr.c | 432 static void *mlx5r_umr_alloc_xlt(size_t *nents, size_t ent_size, gfp_t gfp_mask) in mlx5r_umr_alloc_xlt() argument 434 const size_t xlt_chunk_align = MLX5_UMR_FLEX_ALIGNMENT / ent_size; in mlx5r_umr_alloc_xlt() 453 size = min_t(size_t, ent_size * ALIGN(*nents, xlt_chunk_align), in mlx5r_umr_alloc_xlt() 455 *nents = size / ent_size; in mlx5r_umr_alloc_xlt() 463 *nents = size / ent_size; in mlx5r_umr_alloc_xlt() 470 *nents = PAGE_SIZE / ent_size; in mlx5r_umr_alloc_xlt() 503 size_t nents, size_t ent_size, in mlx5r_umr_create_xlt() argument 510 xlt = mlx5r_umr_alloc_xlt(&nents, ent_size, in mlx5r_umr_create_xlt() 513 sg->length = nents * ent_size; in mlx5r_umr_create_xlt()
|
/openbmc/linux/arch/mips/cavium-octeon/executive/ |
H A D | cvmx-bootmem.c | 308 uint64_t ent_size = cvmx_bootmem_phy_get_size(ent_addr); in cvmx_bootmem_phy_alloc() local 327 usable_max = min(address_max, ent_addr + ent_size); in cvmx_bootmem_phy_alloc() 338 if (!((ent_addr + ent_size) > usable_base in cvmx_bootmem_phy_alloc() 359 if (req_size < ent_size) { in cvmx_bootmem_phy_alloc() 368 ent_size - in cvmx_bootmem_phy_alloc()
|
/openbmc/linux/drivers/dma/idxd/ |
H A D | irq.c | 326 int ent_size = evl_ent_size(idxd); in process_evl_entry() local 340 memcpy(&fault->entry, entry_head, ent_size); in process_evl_entry() 360 unsigned int ent_size = evl_ent_size(idxd); in process_evl_entries() local 376 entry_head = (struct __evl_entry *)(evl->log + (h * ent_size)); in process_evl_entries()
|
H A D | cdev.c | 339 int ent_size = evl_ent_size(idxd); in idxd_cdev_evl_drain_pasid() local 352 entry_head = (struct __evl_entry *)(evl->log + (h * ent_size)); in idxd_cdev_evl_drain_pasid()
|
/openbmc/linux/drivers/net/wireless/ath/wil6210/ |
H A D | fw_inc.c | 148 u32 max_num_ent, i, ent_size; in fw_handle_brd_file() local 155 ent_size = size - offsetof(struct wil_fw_record_brd_file, brd_info); in fw_handle_brd_file() 156 max_num_ent = ent_size / sizeof(struct brd_info); in fw_handle_brd_file()
|
/openbmc/linux/kernel/trace/ |
H A D | trace_output.c | 831 if (offset + len > iter->ent_size) { in print_array() 856 if (field->offset + field->size > iter->ent_size) { in print_fields() 875 if (offset + len > iter->ent_size) { in print_fields() 1239 end = (unsigned long *)((long)iter->ent + iter->ent_size); in trace_stack_print() 1635 for (i = 0; i < iter->ent_size - offsetof(struct raw_data_entry, buf); i++) in trace_raw_data()
|
H A D | trace.c | 3671 iter->ent_size = ring_buffer_event_length(event); in peek_next_entry() 3674 iter->ent_size = 0; in peek_next_entry() 3720 next_size = iter->ent_size; in __find_next_entry() 3724 iter->ent_size = next_size; in __find_next_entry() 3771 (addr < (unsigned long)iter->ent + iter->ent_size)) in trace_safe_str() 3938 int ent_size = iter->ent_size; in trace_find_next_entry() local 3950 STATIC_TEMP_BUF_SIZE < ent_size) in trace_find_next_entry() 3959 if ((!iter->temp || iter->temp_size < iter->ent_size) && in trace_find_next_entry() 3962 temp = kmalloc(iter->ent_size, GFP_KERNEL); in trace_find_next_entry() 3967 iter->temp_size = iter->ent_size; in trace_find_next_entry() [all …]
|
/openbmc/linux/drivers/pci/ |
H A D | pci.c | 3350 int ent_size, ent_offset = offset; in pci_ea_read() local 3361 ent_size = ((dw0 & PCI_EA_ES) + 1) << 2; in pci_ea_read() 3440 if (ent_size != ent_offset - offset) { in pci_ea_read() 3442 ent_size, ent_offset - offset); in pci_ea_read() 3465 return offset + ent_size; in pci_ea_read()
|
/openbmc/linux/include/linux/ |
H A D | trace_events.h | 121 int ent_size; member
|