Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/kernel/trace/
Dtrace.c3612 iter->ent_size = ring_buffer_event_length(event); in peek_next_entry()
3615 iter->ent_size = 0; in peek_next_entry()
3661 next_size = iter->ent_size; in __find_next_entry()
3665 iter->ent_size = next_size; in __find_next_entry()
3717 (addr < (unsigned long)iter->ent + iter->ent_size)) in trace_safe_str()
3988 int ent_size = iter->ent_size; in trace_find_next_entry() local
4000 STATIC_TEMP_BUF_SIZE < ent_size) in trace_find_next_entry()
4009 if ((!iter->temp || iter->temp_size < iter->ent_size) && in trace_find_next_entry()
4012 temp = kmalloc(iter->ent_size, GFP_KERNEL); in trace_find_next_entry()
4017 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.c775 1, iter->ent, iter->ent_size, true); in user_event_print_trace()
/linux-6.1.9/drivers/pci/
Dpci.c3249 int ent_size, ent_offset = offset; in pci_ea_read() local
3260 ent_size = ((dw0 & PCI_EA_ES) + 1) << 2; in pci_ea_read()
3339 if (ent_size != ent_offset - offset) { in pci_ea_read()
3341 ent_size, ent_offset - offset); in pci_ea_read()
3364 return offset + ent_size; in pci_ea_read()
/linux-6.1.9/include/linux/
Dtrace_events.h110 int ent_size; member