Home
last modified time | relevance | path

Searched refs:ent_size (Results 1 – 8 of 8) sorted by relevance

/linux-5.19.10/drivers/infiniband/hw/mlx5/
Dumr.c429 static void *mlx5r_umr_alloc_xlt(size_t *nents, size_t ent_size, gfp_t gfp_mask) in mlx5r_umr_alloc_xlt() argument
431 const size_t xlt_chunk_align = MLX5_UMR_MTT_ALIGNMENT / ent_size; in mlx5r_umr_alloc_xlt()
450 size = min_t(size_t, ent_size * ALIGN(*nents, xlt_chunk_align), in mlx5r_umr_alloc_xlt()
452 *nents = size / ent_size; in mlx5r_umr_alloc_xlt()
460 *nents = size / ent_size; in mlx5r_umr_alloc_xlt()
467 *nents = PAGE_SIZE / ent_size; in mlx5r_umr_alloc_xlt()
500 size_t nents, size_t ent_size, in mlx5r_umr_create_xlt() argument
507 xlt = mlx5r_umr_alloc_xlt(&nents, ent_size, in mlx5r_umr_create_xlt()
510 sg->length = nents * ent_size; in mlx5r_umr_create_xlt()
/linux-5.19.10/arch/mips/cavium-octeon/executive/
Dcvmx-bootmem.c308 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()
/linux-5.19.10/drivers/net/wireless/ath/wil6210/
Dfw_inc.c148 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()
/linux-5.19.10/kernel/trace/
Dtrace.c3587 iter->ent_size = ring_buffer_event_length(event); in peek_next_entry()
3590 iter->ent_size = 0; in peek_next_entry()
3636 next_size = iter->ent_size; in __find_next_entry()
3640 iter->ent_size = next_size; in __find_next_entry()
3692 (addr < (unsigned long)iter->ent + iter->ent_size)) in trace_safe_str()
3963 int ent_size = iter->ent_size; in trace_find_next_entry() local
3975 STATIC_TEMP_BUF_SIZE < ent_size) in trace_find_next_entry()
3984 if ((!iter->temp || iter->temp_size < iter->ent_size) && in trace_find_next_entry()
3987 temp = kmalloc(iter->ent_size, GFP_KERNEL); in trace_find_next_entry()
3992 iter->temp_size = iter->ent_size; in trace_find_next_entry()
[all …]
Dtrace_output.c1095 end = (unsigned long *)((long)iter->ent + iter->ent_size); in trace_stack_print()
1489 for (i = 0; i < iter->ent_size - offsetof(struct raw_data_entry, buf); i++) in trace_raw_data()
Dtrace_events_user.c545 1, iter->ent, iter->ent_size, true); in user_event_print_trace()
/linux-5.19.10/drivers/pci/
Dpci.c3273 int ent_size, ent_offset = offset; in pci_ea_read() local
3284 ent_size = ((dw0 & PCI_EA_ES) + 1) << 2; in pci_ea_read()
3363 if (ent_size != ent_offset - offset) { in pci_ea_read()
3365 ent_size, ent_offset - offset); in pci_ea_read()
3388 return offset + ent_size; in pci_ea_read()
/linux-5.19.10/include/linux/
Dtrace_events.h109 int ent_size; member