Home
last modified time | relevance | path

Searched refs:align (Results 1 – 25 of 1190) sorted by relevance

12345678910>>...48

/linux-6.3-rc2/net/wireless/
A Dradiotap.c26 [IEEE80211_RADIOTAP_TSFT] = { .align = 8, .size = 8, },
27 [IEEE80211_RADIOTAP_FLAGS] = { .align = 1, .size = 1, },
28 [IEEE80211_RADIOTAP_RATE] = { .align = 1, .size = 1, },
30 [IEEE80211_RADIOTAP_FHSS] = { .align = 2, .size = 2, },
217 int pad, align, size, subns; in ieee80211_radiotap_iterator_next() local
232 align = 1; in ieee80211_radiotap_iterator_next()
236 align = 2; in ieee80211_radiotap_iterator_next()
244 align = 0; in ieee80211_radiotap_iterator_next()
246 align = iterator->current_namespace->align_size[iterator->_arg_index].align; in ieee80211_radiotap_iterator_next()
249 if (!align) { in ieee80211_radiotap_iterator_next()
[all …]
/linux-6.3-rc2/include/trace/events/
A Dcma.h16 TP_ARGS(name, pfn, page, count, align),
23 __field(unsigned int, align)
31 __entry->align = align;
39 __entry->align)
74 TP_ARGS(name, count, align),
79 __field(unsigned int, align)
85 __entry->align = align;
91 __entry->align)
106 __field(unsigned int, align)
115 __entry->align = align;
[all …]
A Dpercpu.h15 size_t align, void *base_addr, int off,
18 TP_ARGS(call_site, reserved, is_atomic, size, align, base_addr, off,
26 __field( size_t, align )
38 __entry->align = align;
49 __entry->size, __entry->align,
78 TP_PROTO(bool reserved, bool is_atomic, size_t size, size_t align),
80 TP_ARGS(reserved, is_atomic, size, align),
86 __field( size_t, align )
93 __entry->align = align;
98 __entry->size, __entry->align)
/linux-6.3-rc2/drivers/clk/tegra/
A Dcvb.c26 const struct rail_alignment *align) in round_cvb_voltage() argument
30 int step = (align->step_uv ? : 1000) * v_scale; in round_cvb_voltage()
31 int offset = align->offset_uv * v_scale; in round_cvb_voltage()
34 uv = DIV_ROUND_UP(uv, step) * align->step_uv + align->offset_uv; in round_cvb_voltage()
45 if (align->step_uv) { in round_voltage()
48 uv = max(mv * 1000, align->offset_uv) - align->offset_uv; in round_voltage()
49 uv = (uv + (up ? align->step_uv - 1 : 0)) / align->step_uv; in round_voltage()
50 return (uv * align->step_uv + align->offset_uv) / 1000; in round_voltage()
56 struct rail_alignment *align, in build_opp_table() argument
73 align); in build_opp_table()
[all …]
A Dclk-tegra124-dfll-fcpu.c524 struct rail_alignment *align) in get_alignment_from_dt() argument
528 &align->step_uv)) in get_alignment_from_dt()
529 align->step_uv = 0; in get_alignment_from_dt()
533 &align->offset_uv)) in get_alignment_from_dt()
534 align->offset_uv = 0; in get_alignment_from_dt()
538 struct rail_alignment *align) in get_alignment_from_regulator() argument
546 align->step_uv = regulator_get_linear_step(reg); in get_alignment_from_regulator()
558 struct rail_alignment align; in tegra124_dfll_fcpu_probe() local
585 get_alignment_from_dt(&pdev->dev, &align); in tegra124_dfll_fcpu_probe()
596 &align, process_id, speedo_id, in tegra124_dfll_fcpu_probe()
[all …]
/linux-6.3-rc2/arch/xtensa/kernel/
A Dalign.S280 .align 8
291 mov a9, a3 ; _j .Lexit; .align 8
292 mov a10, a3 ; _j .Lexit; .align 8
293 mov a11, a3 ; _j .Lexit; .align 8
309 mov a3, a9 ; _j 1f; .align 8
310 mov a3, a10 ; _j 1f; .align 8
311 mov a3, a11 ; _j 1f; .align 8
312 mov a3, a12 ; _j 1f; .align 8
313 mov a3, a13 ; _j 1f; .align 8
314 mov a3, a14 ; _j 1f; .align 8
[all …]
/linux-6.3-rc2/arch/arm/tools/
A Dsyscallnr.sh5 align=1
23 while [ "$(($nr / (256 * $align) ))" -gt 0 ]; do
24 align=$(( $align * 4 ))
26 nr=$(( ($nr + $align - 1) & ~($align - 1) ))
27 echo "/* aligned to $align */"
/linux-6.3-rc2/rust/alloc/
A Dalloc.rs34 fn __rust_alloc(size: usize, align: usize) -> *mut u8; in __rust_alloc()
36 fn __rust_dealloc(ptr: *mut u8, size: usize, align: usize); in __rust_dealloc()
40 fn __rust_alloc_zeroed(size: usize, align: usize) -> *mut u8; in __rust_alloc_zeroed()
91 unsafe { __rust_alloc(layout.size(), layout.align()) } in alloc()
109 unsafe { __rust_dealloc(ptr, layout.size(), layout.align()) } in dealloc()
162 unsafe { __rust_alloc_zeroed(layout.size(), layout.align()) } in alloc_zeroed()
199 old_size if old_layout.align() == new_layout.align() => unsafe { in grow_impl()
292 new_size if old_layout.align() == new_layout.align() => unsafe { in shrink()
320 unsafe fn exchange_malloc(size: usize, align: usize) -> *mut u8 { in exchange_malloc()
342 let align = min_align_of_val(ptr.as_ref()); in box_free()
[all …]
/linux-6.3-rc2/arch/x86/lib/
A Dretpoline.S34 .align RETPOLINE_THUNK_SIZE
59 .align RETPOLINE_THUNK_SIZE
66 .align RETPOLINE_THUNK_SIZE
75 .align RETPOLINE_THUNK_SIZE
88 .align RETPOLINE_THUNK_SIZE
95 .align RETPOLINE_THUNK_SIZE
103 .align RETPOLINE_THUNK_SIZE
114 .align RETPOLINE_THUNK_SIZE
121 .align RETPOLINE_THUNK_SIZE
145 .align 64
[all …]
/linux-6.3-rc2/drivers/dax/
A Ddax-private.h36 unsigned int align; member
65 unsigned int align; member
92 static inline bool dax_align_valid(unsigned long align) in dax_align_valid() argument
94 if (align == PUD_SIZE && IS_ENABLED(CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE_PUD)) in dax_align_valid()
96 if (align == PMD_SIZE && has_transparent_hugepage()) in dax_align_valid()
98 if (align == PAGE_SIZE) in dax_align_valid()
103 static inline bool dax_align_valid(unsigned long align) in dax_align_valid() argument
105 return align == PAGE_SIZE; in dax_align_valid()
A Ddevice.c34 mask = dev_dax->align - 1; in check_vma()
114 if (dev_dax->align > PAGE_SIZE) { in __dev_dax_pte_fault()
116 dev_dax->align, fault_size); in __dev_dax_pte_fault()
120 if (fault_size != dev_dax->align) in __dev_dax_pte_fault()
149 if (dev_dax->align > PMD_SIZE) { in __dev_dax_pmd_fault()
151 dev_dax->align, fault_size); in __dev_dax_pmd_fault()
155 if (fault_size < dev_dax->align) in __dev_dax_pmd_fault()
196 dev_dax->align, fault_size); in __dev_dax_pud_fault()
283 return dev_dax->align; in dev_dax_pagesize()
326 align = dev_dax->align; in dax_get_unmapped_area()
[all …]
/linux-6.3-rc2/drivers/firmware/efi/libstub/
A Dalignedmem.c25 unsigned long max, unsigned long align, in efi_allocate_pages_aligned() argument
34 if (align < EFI_ALLOC_ALIGN) in efi_allocate_pages_aligned()
35 align = EFI_ALLOC_ALIGN; in efi_allocate_pages_aligned()
37 alloc_addr = ALIGN_DOWN(max + 1, align) - 1; in efi_allocate_pages_aligned()
39 slack = align / EFI_PAGE_SIZE - 1; in efi_allocate_pages_aligned()
47 *addr = ALIGN((unsigned long)alloc_addr, align); in efi_allocate_pages_aligned()
50 int l = (alloc_addr & (align - 1)) / EFI_PAGE_SIZE; in efi_allocate_pages_aligned()
A Drandomalloc.c21 unsigned long align = 1UL << align_shift; in get_entry_num_slots() local
36 first_slot = round_up(md->phys_addr, align); in get_entry_num_slots()
37 last_slot = round_down(region_end - size + 1, align); in get_entry_num_slots()
54 unsigned long align, in efi_random_alloc() argument
69 if (align < EFI_ALLOC_ALIGN) in efi_random_alloc()
70 align = EFI_ALLOC_ALIGN; in efi_random_alloc()
79 slots = get_entry_num_slots(md, size, ilog2(align)); in efi_random_alloc()
118 target = round_up(md->phys_addr, align) + target_slot * align; in efi_random_alloc()
/linux-6.3-rc2/arch/sparc/lib/
A Dbitext.c28 int bit_map_string_get(struct bit_map *t, int len, int align) in bit_map_string_get() argument
37 color = align; in bit_map_string_get()
38 align = t->num_colors; in bit_map_string_get()
41 if (align == 0) in bit_map_string_get()
42 align = 1; in bit_map_string_get()
44 align1 = align - 1; in bit_map_string_get()
45 if ((align & align1) != 0) in bit_map_string_get()
47 if (align < 0 || align >= t->size) in bit_map_string_get()
70 t->size, t->used, offset, len, align, count); in bit_map_string_get()
/linux-6.3-rc2/lib/
A Dstrnlen_user.c26 unsigned long align, res = 0; in do_strnlen_user() local
33 align = (sizeof(unsigned long) - 1) & (unsigned long)src; in do_strnlen_user()
34 src -= align; in do_strnlen_user()
35 max += align; in do_strnlen_user()
38 c |= aligned_byte_mask(align); in do_strnlen_user()
45 return res + find_zero(data) + 1 - align; in do_strnlen_user()
54 res -= align; in do_strnlen_user()
/linux-6.3-rc2/include/linux/
A Dcfi_types.h23 #define SYM_TYPED_ENTRY(name, linkage, align...) \ argument
25 align ASM_NL \
29 #define SYM_TYPED_START(name, linkage, align...) \ argument
30 SYM_TYPED_ENTRY(name, linkage, align)
34 #define SYM_TYPED_START(name, linkage, align...) \ argument
35 SYM_START(name, linkage, align)
A Dmemblock.h120 void memblock_trim_memory(phys_addr_t align);
403 phys_addr_t align, phys_addr_t start,
408 phys_addr_t align) in memblock_phys_alloc() argument
410 return memblock_phys_alloc_range(size, align, 0, in memblock_phys_alloc()
426 return memblock_alloc_try_nid(size, align, MEMBLOCK_LOW_LIMIT, in memblock_alloc()
431 phys_addr_t align) in memblock_alloc_raw() argument
439 phys_addr_t align, in memblock_alloc_from() argument
442 return memblock_alloc_try_nid(size, align, min_addr, in memblock_alloc_from()
447 phys_addr_t align) in memblock_alloc_low() argument
449 return memblock_alloc_try_nid(size, align, MEMBLOCK_LOW_LIMIT, in memblock_alloc_low()
[all …]
/linux-6.3-rc2/fs/xfs/
A Dxfs_iomap.h37 xfs_extlen_t align; in xfs_aligned_fsb_count() local
39 div_u64_rem(offset_fsb, extsz, &align); in xfs_aligned_fsb_count()
40 if (align) in xfs_aligned_fsb_count()
41 count_fsb += align; in xfs_aligned_fsb_count()
42 div_u64_rem(count_fsb, extsz, &align); in xfs_aligned_fsb_count()
43 if (align) in xfs_aligned_fsb_count()
44 count_fsb += extsz - align; in xfs_aligned_fsb_count()
/linux-6.3-rc2/mm/
A Dmaccess.c25 unsigned long align = 0; in copy_from_kernel_nofault() local
28 align = (unsigned long)dst | (unsigned long)src; in copy_from_kernel_nofault()
34 if (!(align & 7)) in copy_from_kernel_nofault()
36 if (!(align & 3)) in copy_from_kernel_nofault()
38 if (!(align & 1)) in copy_from_kernel_nofault()
59 unsigned long align = 0; in copy_to_kernel_nofault() local
62 align = (unsigned long)dst | (unsigned long)src; in copy_to_kernel_nofault()
65 if (!(align & 7)) in copy_to_kernel_nofault()
67 if (!(align & 3)) in copy_to_kernel_nofault()
69 if (!(align & 1)) in copy_to_kernel_nofault()
/linux-6.3-rc2/drivers/nvdimm/
A Dpfn_devs.c431 if (align == 0) in nd_supported_alignment()
503 align = le32_to_cpu(pfn_sb->align); in nd_pfn_validate()
506 if (align == 0) in nd_pfn_validate()
534 "%ld:%ld\n", nd_pfn->align, align); in nd_pfn_validate()
547 nd_pfn->align = align; in nd_pfn_validate()
563 if (nd_pfn->align != align || nd_pfn->mode != mode) { in nd_pfn_validate()
567 nd_pfn->align, align, nd_pfn->mode, in nd_pfn_validate()
593 if ((align && !IS_ALIGNED(res->start + offset + start_pad, align)) in nd_pfn_validate()
597 offset, align); in nd_pfn_validate()
766 align = max(nd_pfn->align, memremap_compat_align()); in nd_pfn_init()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/radeon/
A Dradeon_sa.c52 unsigned size, u32 align, u32 domain, u32 flags) in radeon_sa_bo_manager_init() argument
60 sa_manager->align = align; in radeon_sa_bo_manager_init()
67 r = radeon_bo_create(rdev, size, align, true, in radeon_sa_bo_manager_init()
192 unsigned size, unsigned align) in radeon_sa_bo_try_alloc() argument
198 wasted = (align - (soffset % align)) % align; in radeon_sa_bo_try_alloc()
225 unsigned size, unsigned align) in radeon_sa_event() argument
238 wasted = (align - (soffset % align)) % align; in radeon_sa_event()
317 unsigned size, unsigned align) in radeon_sa_bo_new() argument
323 BUG_ON(align > sa_manager->align); in radeon_sa_bo_new()
344 size, align)) { in radeon_sa_bo_new()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_sa.c52 unsigned size, u32 align, u32 domain) in amdgpu_sa_bo_manager_init() argument
60 sa_manager->align = align; in amdgpu_sa_bo_manager_init()
66 r = amdgpu_bo_create_kernel(adev, size, align, domain, &sa_manager->bo, in amdgpu_sa_bo_manager_init()
153 unsigned size, unsigned align) in amdgpu_sa_bo_try_alloc() argument
159 wasted = (align - (soffset % align)) % align; in amdgpu_sa_bo_try_alloc()
186 unsigned size, unsigned align) in amdgpu_sa_event() argument
197 wasted = (align - (soffset % align)) % align; in amdgpu_sa_event()
277 unsigned size, unsigned align) in amdgpu_sa_bo_new() argument
285 if (WARN_ON_ONCE(align > sa_manager->align)) in amdgpu_sa_bo_new()
308 size, align)) { in amdgpu_sa_bo_new()
[all …]
/linux-6.3-rc2/arch/powerpc/kernel/ptrace/
A Dptrace-view.c538 .size = sizeof(u32), .align = sizeof(u32),
565 .size = sizeof(u64), .align = sizeof(u64),
570 .size = sizeof(u64), .align = sizeof(u64),
575 .size = sizeof(u64), .align = sizeof(u64),
580 .size = sizeof(u64), .align = sizeof(u64),
587 .size = sizeof(u64), .align = sizeof(u64),
592 .size = sizeof(u64), .align = sizeof(u64),
599 .size = sizeof(u64), .align = sizeof(u64),
604 .size = sizeof(u64), .align = sizeof(u64),
609 .size = sizeof(u64), .align = sizeof(u64),
[all …]
/linux-6.3-rc2/tools/perf/util/include/linux/
A Dlinkage.h14 #define __ALIGN .align 4,0x90
37 #define SYM_ENTRY(name, linkage, align...) \ argument
39 align ASM_NL \
45 #define SYM_START(name, linkage, align...) \ argument
46 SYM_ENTRY(name, linkage, align)
122 #define SYM_TYPED_START(name, linkage, align...) \ argument
123 SYM_START(name, linkage, align)
/linux-6.3-rc2/arch/alpha/lib/
A Dmemset.S28 .align 5
43 .align 5
70 .align 4
77 .align 3
95 .align 3
113 .align 5

Completed in 35 milliseconds

12345678910>>...48