Home
last modified time | relevance | path

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

12345678910>>...55

/Linux-v5.4/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 …]
/Linux-v5.4/sound/core/
Dpcm_compat.c80 u32 boundary; member
86 /* recalcuate the boundary within 32bit */
89 snd_pcm_uframes_t boundary; in recalculate_boundary() local
93 boundary = runtime->buffer_size; in recalculate_boundary()
94 while (boundary * 2 <= 0x7fffffffUL - runtime->buffer_size) in recalculate_boundary()
95 boundary *= 2; in recalculate_boundary()
96 return boundary; in recalculate_boundary()
103 snd_pcm_uframes_t boundary; in snd_pcm_ioctl_sw_params_compat() local
120 * Check silent_size parameter. Since we have 64bit boundary, in snd_pcm_ioctl_sw_params_compat()
121 * silence_size must be compared with the 32bit boundary. in snd_pcm_ioctl_sw_params_compat()
[all …]
/Linux-v5.4/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->width) in v4l2_rect_map_inside()
67 r->left = boundary->width - r->width; in v4l2_rect_map_inside()
[all …]
/Linux-v5.4/drivers/gpio/
Dgpio-104-idi-48.c140 unsigned boundary; in idi_48_irq_mask() local
146 boundary = i / 8; in idi_48_irq_mask()
148 idi48gpio->irq_mask[boundary] &= ~mask; in idi_48_irq_mask()
150 if (!idi48gpio->irq_mask[boundary]) { in idi_48_irq_mask()
151 idi48gpio->cos_enb &= ~BIT(boundary); in idi_48_irq_mask()
172 unsigned boundary; in idi_48_irq_unmask() local
179 boundary = i / 8; in idi_48_irq_unmask()
180 prev_irq_mask = idi48gpio->irq_mask[boundary]; in idi_48_irq_unmask()
182 idi48gpio->irq_mask[boundary] |= mask; in idi_48_irq_unmask()
185 idi48gpio->cos_enb |= BIT(boundary); in idi_48_irq_unmask()
[all …]
/Linux-v5.4/arch/arm/include/asm/
Dstage2_pgtable.h39 phys_addr_t boundary = (addr + PGDIR_SIZE) & PGDIR_MASK; in stage2_pgd_addr_end() local
41 return (boundary - 1 < end - 1) ? boundary : end; in stage2_pgd_addr_end()
49 phys_addr_t boundary = (addr + PMD_SIZE) & PMD_MASK; in stage2_pmd_addr_end() local
51 return (boundary - 1 < end - 1) ? boundary : end; in stage2_pmd_addr_end()
/Linux-v5.4/arch/arm64/include/asm/
Dstage2_pgtable.h126 phys_addr_t boundary = (addr + S2_PUD_SIZE) & S2_PUD_MASK; in stage2_pud_addr_end() local
128 return (boundary - 1 < end - 1) ? boundary : end; in stage2_pud_addr_end()
207 phys_addr_t boundary = (addr + S2_PMD_SIZE) & S2_PMD_MASK; in stage2_pmd_addr_end() local
209 return (boundary - 1 < end - 1) ? boundary : end; in stage2_pmd_addr_end()
228 phys_addr_t boundary = (addr + stage2_pgdir_size(kvm)) & stage2_pgdir_mask(kvm); in stage2_pgd_addr_end() local
230 return (boundary - 1 < end - 1) ? boundary : end; in stage2_pgd_addr_end()
/Linux-v5.4/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
152 if (!boundary) in dma_pool_create()
153 boundary = allocation; in dma_pool_create()
154 else if ((boundary < size) || (boundary & (boundary - 1))) in dma_pool_create()
168 retval->boundary = boundary; in dma_pool_create()
208 unsigned int next_boundary = pool->boundary; in pool_initialise_page()
[all …]
/Linux-v5.4/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()
/Linux-v5.4/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";
/Linux-v5.4/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 */
/Linux-v5.4/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.
/Linux-v5.4/arch/arm64/lib/
Dmemcmp.S59 * The input source addresses are at alignment boundary.
94 * alignment boundary. Round down the addresses and then mask off
160 add src1, src1, tmp3 /*backwards src1 to alignment boundary*/
173 /*How far is the current SRC2 from the alignment boundary...*/
181 * to an alignment boundary,load eight bytes and compare from
182 * the SRC2 alignment boundary. If all 8 bytes are equal,then start
/Linux-v5.4/drivers/mtd/nand/onenand/
Donenand_base.c39 /* Default Flex-OneNAND boundary and lock respectively */
43 MODULE_PARM_DESC(flex_bdry, "SLC Boundary information for Flex-OneNAND"
45 "DIE_BDRY: SLC boundary of the die"
46 "LOCK: Locking information for SLC boundary"
47 " : 0->Set boundary in unlocked status"
48 " : 1->Set boundary in locked status");
303 unsigned boundary, blk, die = 0; in flexonenand_block() local
310 boundary = this->boundary[die]; in flexonenand_block()
313 if (blk > boundary) in flexonenand_block()
314 blk = (blk + boundary + 1) >> 1; in flexonenand_block()
[all …]
/Linux-v5.4/arch/mips/include/asm/
Dmaar.h31 * aligned to a 2^16 byte boundary.
33 * aligned to one byte before a 2^16 byte boundary.
76 * aligned to a 2^16 byte boundary.
78 * aligned to one byte before a 2^16 byte boundary.
/Linux-v5.4/drivers/video/fbdev/kyro/
DSTG4000OverlayDevice.c161 /* Round up to next 16byte boundary */ in CreateOverlaySurface()
169 /* Round up to next 16byte boundary */ in CreateOverlaySurface()
197 /* Round up to next 32byte boundary */ in CreateOverlaySurface()
202 /* Align U,V data to 32byte boundary */ in CreateOverlaySurface()
212 /* Align U,V data to 32byte boundary */ in CreateOverlaySurface()
425 * lowest to the next lowest 128 bit boundary, and the right hand edge in SetOverlayViewPort()
426 * to the next largets boundary, (in a similar way to how we didi it in in SetOverlayViewPort()
496 * pixel` boundary, must be on a 256 boundary so u, and in SetOverlayViewPort()
505 * 8pixel` boundary in SetOverlayViewPort()
/Linux-v5.4/drivers/acpi/acpica/
Dutprint.c40 * PARAMETERS: string - String with boundary
41 * count - Boundary of the string
45 * DESCRIPTION: Calculate the length of a string with boundary.
67 * PARAMETERS: string - String with boundary
68 * end - Boundary of the string
73 * DESCRIPTION: Output a character into a string with boundary check.
187 * PARAMETERS: string - String buffer with boundary
188 * end - Boundary of the string
307 * PARAMETERS: string - String with boundary
308 * size - Boundary of the string
[all …]
/Linux-v5.4/drivers/mtd/tests/
Dpagetest.c31 static unsigned char *boundary; variable
84 /* Check boundary between eraseblocks */ in verify_eraseblock()
99 memcpy(boundary, writebuf + mtd->erasesize - pgsize, pgsize); in verify_eraseblock()
100 prandom_bytes_state(&rnd_state, boundary + pgsize, pgsize); in verify_eraseblock()
101 if (memcmp(twopages, boundary, bufsize)) { in verify_eraseblock()
368 boundary = kmalloc(bufsize, GFP_KERNEL); in mtd_pagetest_init()
369 if (!boundary) in mtd_pagetest_init()
442 kfree(boundary); in mtd_pagetest_init()
/Linux-v5.4/Documentation/filesystems/
Dromfs.txt68 : : padded to 16 byte boundary.
87 must begin on a 16 byte boundary.
101 : : padded to 16 byte boundary
106 Since the file headers begin always at a 16 byte boundary, the lowest
142 padded to an 1024 byte boundary.
171 boundary, it is currently possibly suboptimal to read or execute files
/Linux-v5.4/include/asm-generic/
Dchecksum.h15 * it's best to have buff aligned on a 32-bit boundary
24 * better 64-bit) boundary
32 * better 64-bit) boundary

12345678910>>...55