Home
last modified time | relevance | path

Searched full:boundary (Results 1 – 25 of 1484) sorted by relevance

12345678910>>...60

/kernel/linux/linux-5.10/include/media/
Dv4l2-rect.h54 * v4l2_rect_map_inside()- r should be inside boundary.
56 * @boundary: rect containing the boundary for @r
59 const struct v4l2_rect *boundary) in v4l2_rect_map_inside() argument
61 v4l2_rect_set_max_size(r, boundary); in v4l2_rect_map_inside()
62 if (r->left < boundary->left) in v4l2_rect_map_inside()
63 r->left = boundary->left; in v4l2_rect_map_inside()
64 if (r->top < boundary->top) in v4l2_rect_map_inside()
65 r->top = boundary->top; in v4l2_rect_map_inside()
66 if (r->left + r->width > boundary->left + boundary->width) in v4l2_rect_map_inside()
67 r->left = boundary->left + boundary->width - r->width; in v4l2_rect_map_inside()
[all …]
/kernel/linux/linux-5.10/kernel/
Dstackleak.c53 /* It would be nice not to have 'kstack_ptr' and 'boundary' on stack */ in stackleak_erase()
55 unsigned long boundary = (unsigned long)end_of_stack(current); in stackleak_erase() local
63 if (unlikely(kstack_ptr - boundary >= THREAD_SIZE)) in stackleak_erase()
64 kstack_ptr = boundary; in stackleak_erase()
67 while (kstack_ptr > boundary && poison_count <= depth) { in stackleak_erase()
80 if (kstack_ptr == boundary) in stackleak_erase()
89 * 'kstack_ptr' and move up till the new 'boundary'. We assume that in stackleak_erase()
93 boundary = current_stack_pointer; in stackleak_erase()
95 boundary = current_top_of_stack(); in stackleak_erase()
97 while (kstack_ptr < boundary) { in stackleak_erase()
[all …]
/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-104-idi-48.c118 unsigned boundary; in idi_48_irq_mask() local
124 boundary = i / 8; in idi_48_irq_mask()
126 idi48gpio->irq_mask[boundary] &= ~mask; in idi_48_irq_mask()
128 if (!idi48gpio->irq_mask[boundary]) { in idi_48_irq_mask()
129 idi48gpio->cos_enb &= ~BIT(boundary); in idi_48_irq_mask()
150 unsigned boundary; in idi_48_irq_unmask() local
157 boundary = i / 8; in idi_48_irq_unmask()
158 prev_irq_mask = idi48gpio->irq_mask[boundary]; in idi_48_irq_unmask()
160 idi48gpio->irq_mask[boundary] |= mask; in idi_48_irq_unmask()
163 idi48gpio->cos_enb |= BIT(boundary); in idi_48_irq_unmask()
[all …]
/kernel/liteos_m/testsuites/sample/kernel/lms/
DIt_los_lms_002.c37 UINT32 boundary; in TestCase() local
41 for (i = 2; i < 8; i++) { /* boundary loop from 2 to 8 */ in TestCase()
42 boundary = 1 << i; in TestCase()
43 str = (CHAR *)LOS_MemAllocAlign(m_aucSysMem0, size, boundary); in TestCase()
45 PRINTK("str = 0x%x, boundary = %d\n", str, boundary); in TestCase()
DIt_los_lms_003.c37 UINT32 boundary; in TestCase() local
41 for (i = 2; i < 8; i++) { /* boundary loop from 2 to 8 */ in TestCase()
42 boundary = 1 << i; in TestCase()
43 str = (CHAR *)LOS_MemAllocAlign(m_aucSysMem0, size, boundary); in TestCase()
45 PRINTK("str = 0x%x, boundary = %d\n", str, boundary); in TestCase()
DIt_los_lms_004.c43 UINT32 boundary; in TestCase() local
47 for (i = 2; i < 8; i++, index++) { /* boundary loop from 2 to 8 */ in TestCase()
48 boundary = 1 << i; in TestCase()
49 PRINT_DEBUG("size = %d, boundary = %d\n", size[k], boundary); in TestCase()
50 str[index] = (char *)LOS_MemAllocAlign(m_aucSysMem0, size[k], boundary); in TestCase()
/kernel/linux/linux-5.10/sound/core/
Dpcm_compat.c80 u32 boundary; member
90 snd_pcm_uframes_t boundary; in snd_pcm_ioctl_sw_params_compat() local
107 * Check silent_size parameter. Since we have 64bit boundary, in snd_pcm_ioctl_sw_params_compat()
108 * silence_size must be compared with the 32bit boundary. in snd_pcm_ioctl_sw_params_compat()
110 boundary = recalculate_boundary(substream->runtime); in snd_pcm_ioctl_sw_params_compat()
111 if (boundary && params.silence_size >= boundary) in snd_pcm_ioctl_sw_params_compat()
112 params.silence_size = substream->runtime->boundary; in snd_pcm_ioctl_sw_params_compat()
116 if (boundary && put_user(boundary, &src->boundary)) in snd_pcm_ioctl_sw_params_compat()
270 runtime->boundary = new_boundary; in snd_pcm_ioctl_hw_params_compat()
418 snd_pcm_uframes_t boundary; in snd_pcm_ioctl_sync_ptr_x32() local
[all …]
/kernel/liteos_a/kernel/base/misc/
Dlos_misc.c35 LITE_OS_SEC_TEXT UINTPTR LOS_Align(UINTPTR addr, UINT32 boundary) in LOS_Align() argument
37 if ((addr + boundary - 1) > addr) { in LOS_Align()
38 return (addr + boundary - 1) & ~((UINTPTR)(boundary - 1)); in LOS_Align()
40 return addr & ~((UINTPTR)(boundary - 1)); in LOS_Align()
/kernel/linux/linux-5.10/mm/
Ddmapool.c48 size_t boundary; member
113 * @boundary: returned blocks won't cross this power of two boundary
122 * If @boundary is nonzero, objects returned from dma_pool_alloc() won't
123 * cross that size boundary. This is useful for devices which have
131 size_t size, size_t align, size_t boundary) in dma_pool_create() argument
150 if (!boundary) in dma_pool_create()
151 boundary = allocation; in dma_pool_create()
152 else if ((boundary < size) || (boundary & (boundary - 1))) in dma_pool_create()
166 retval->boundary = boundary; in dma_pool_create()
206 unsigned int next_boundary = pool->boundary; in pool_initialise_page()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/isci/
Dunsolicited_frame_control.c77 * - The address must align on a 64-byte boundary. Guaranteed to be in sci_unsolicited_frame_control_construct()
78 * on 64-byte boundary already 1KB boundary for unsolicited frames. in sci_unsolicited_frame_control_construct()
90 * - The address must align on a 64-bit boundary. Guaranteed to be on 64 in sci_unsolicited_frame_control_construct()
91 * byte boundary already due to above programming headers being on a in sci_unsolicited_frame_control_construct()
92 * 64-bit boundary and headers are on a 64-bytes in size. in sci_unsolicited_frame_control_construct()
103 * - Aligned on a 1KB boundary. */ in sci_unsolicited_frame_control_construct()
120 * pointers. Everything is aligned on 1k boundary with an in sci_unsolicited_frame_control_construct()
/kernel/liteos_m/utils/
Dlos_compiler.h381 * with boundary bytes being the smallest unit of alignment.
384 #define ALIGN(addr, boundary) LOS_Align(addr, boundary) argument
395 * @brief Align the value (addr) by some bytes (boundary) you specify.
398 * This API is used to align the value (addr) by some bytes (boundary) you specify.
402 * <li>the value of boundary usually is 4,8,16,32.</li>
406 * @param boundary [IN] The align size what you want to align.
413 static inline UINT32 LOS_Align(UINT32 addr, UINT32 boundary) in LOS_Align() argument
415 return (addr + (((addr + (boundary - 1)) > addr) ? (boundary - 1) : 0)) & ~(boundary - 1); in LOS_Align()
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dimx6dl-nit6xlite.dts3 * Copyright 2015 Boundary Devices, Inc.
11 model = "Boundary Devices i.MX6 Solo Nitrogen6_Lite Board";
12 compatible = "boundary,imx6dl-nit6xlite", "fsl,imx6dl";
Dimx6q-nitrogen6_max.dts3 * Copyright 2015 Boundary Devices, Inc.
11 model = "Boundary Devices i.MX6 Quad Nitrogen6_MAX Board";
12 compatible = "boundary,imx6q-nitrogen6_max", "fsl,imx6q";
Dimx6q-nitrogen6_som2.dts3 * Copyright 2016 Boundary Devices, Inc.
11 model = "Boundary Devices i.MX6 Quad Nitrogen6_SOM2 Board";
12 compatible = "boundary,imx6q-nitrogen6_som2", "fsl,imx6q";
Dimx6qp-nitrogen6_som2.dts3 * Copyright 2017 Boundary Devices, Inc.
12 model = "Boundary Devices i.MX6 Quad Plus Nitrogen6_SOM2 Board";
13 compatible = "boundary,imx6qp-nitrogen6_som2", "fsl,imx6qp";
Dimx6dl-nitrogen6x.dts3 * Copyright 2013 Boundary Devices, Inc.
13 model = "Boundary Devices i.MX6 DualLite Nitrogen6x Board";
14 compatible = "boundary,imx6dl-nitrogen6x", "fsl,imx6dl";
Dimx6qp-nitrogen6_max.dts3 * Copyright 2016 Boundary Devices, Inc.
12 model = "Boundary Devices i.MX6 Quad Plus Nitrogen6_MAX Board";
13 compatible = "boundary,imx6qp-nitrogen6_max", "fsl,imx6qp";
Dimx6q-nitrogen6x.dts3 * Copyright 2013 Boundary Devices, Inc.
13 model = "Boundary Devices i.MX6 Quad Nitrogen6x Board";
14 compatible = "boundary,imx6q-nitrogen6x", "fsl,imx6q";
/kernel/linux/linux-5.10/arch/powerpc/mm/nohash/
D8xx.c153 unsigned long boundary = strict_boundary ? sinittext : etext8; in mmu_mapin_ram() local
163 mmu_mapin_ram_chunk(0, boundary, PAGE_KERNEL_TEXT, true); in mmu_mapin_ram()
165 top = boundary; in mmu_mapin_ram()
167 mmu_mapin_ram_chunk(boundary, einittext8, PAGE_KERNEL_TEXT, true); in mmu_mapin_ram()
183 unsigned long boundary = strict_kernel_rwx_enabled() ? sinittext : etext8; in mmu_mark_initmem_nx() local
186 mmu_mapin_ram_chunk(0, boundary, PAGE_KERNEL_TEXT, false); in mmu_mark_initmem_nx()
187 mmu_mapin_ram_chunk(boundary, einittext8, PAGE_KERNEL, false); in mmu_mark_initmem_nx()
/kernel/liteos_m/components/dynlink/
Dlos_dynlink.c292 STATIC INT32 OsReserveSpace(const DynLinkInfo *dlInfo, UINT32 *boundary) in OsReserveSpace() argument
311 if (*boundary == 0) { in OsReserveSpace()
312 *boundary = elfPhdrTemp->p_align; in OsReserveSpace()
327 …size = ELF_ALIGN_UP(addrMax, *boundary) - ELF_ALIGN_DOWN(addrMin, *boundary) + ELF_ALIGN_DOWN(offS… in OsReserveSpace()
332 STATIC UINTPTR OsDoLoadFile(INT32 fd, UINTPTR addr, const LD_ELF_PHDR *elfPhdr, UINT32 boundary) in OsDoLoadFile() argument
335 UINT32 offset = elfPhdr->p_offset - ELF_ALIGN_OFFSET(elfPhdr->p_vaddr, boundary); in OsDoLoadFile()
336 UINT32 size = elfPhdr->p_filesz + ELF_ALIGN_OFFSET(elfPhdr->p_vaddr, boundary); in OsDoLoadFile()
341 addr = ELF_ALIGN_DOWN(addr, boundary); in OsDoLoadFile()
350 STATIC INT32 OsLoadELFFile(DynSharedObj *dso, UINT32 boundary) in OsLoadELFFile() argument
369 loadAddr = OsDoLoadFile(dso->fd, (vAddr + loadBase), elfPhdrTemp, boundary); in OsLoadELFFile()
[all …]
/kernel/liteos_a/kernel/include/
Dlos_base.h79 …* Align the beginning of the object with the base address addr, with boundary bytes being the smal…
83 #define ALIGN(addr, boundary) LOS_Align(addr, boundary) argument
193 * @brief Align the value (addr) by some bytes (boundary) you specify.
196 * This API is used to align the value (addr) by some bytes (boundary) you specify.
200 * <li>the value of boundary usually is 4,8,16,32.</li>
204 * @param boundary [IN] The align size what you want to align.
211 extern UINTPTR LOS_Align(UINTPTR addr, UINT32 boundary);
/kernel/linux/linux-5.10/arch/powerpc/boot/
Dpage.h20 /* align addr on a size boundary - adjust address up/down if needed */
24 /* align addr on a size boundary - adjust address up if needed */
27 /* to align the pointer to the (next) page boundary */
/kernel/linux/linux-5.10/arch/arm64/include/asm/
Dkvm_pgtable.h112 * the next page boundary and @phys is rounded-down to the previous page
113 * boundary.
154 * the next page boundary and @phys is rounded-down to the previous page
155 * boundary.
177 * the next page boundary.
197 * the next page boundary.
279 * the next page boundary.
293 * the next page boundary.
/kernel/linux/linux-5.10/Documentation/filesystems/ext4/
Dverity.rst14 - Zero-padding to the next 65536-byte boundary. This padding need not
23 - Zero-padding to the next filesystem block boundary.
30 block boundary.
/kernel/linux/linux-5.10/arch/arc/include/asm/
Djump_label.h16 * that this instruction doesn't cross L1 cache line boundary.
22 * It's enough that our 32-bit instruction don't cross L1 cache line boundary /
23 * L1 I$ fetch block boundary which can be achieved by using

12345678910>>...60