Searched refs:boundary (Results 1 - 25 of 71) sorted by relevance

123

/linux-master/include/media/
H A 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)
61 v4l2_rect_set_max_size(r, boundary);
62 if (r->left < boundary->left)
63 r->left = boundary->left;
64 if (r->top < boundary->top)
65 r->top = boundary->top;
66 if (r->left + r->width > boundary
58 v4l2_rect_map_inside(struct v4l2_rect *r, const struct v4l2_rect *boundary) argument
[all...]
/linux-master/mm/
H A Ddmapool_test.c19 size_t boundary; member in struct:dmapool_parms
23 { .size = 16, .align = 16, .boundary = 0 },
24 { .size = 64, .align = 64, .boundary = 0 },
25 { .size = 256, .align = 256, .boundary = 0 },
26 { .size = 1024, .align = 1024, .boundary = 0 },
27 { .size = 4096, .align = 4096, .boundary = 0 },
28 { .size = 68, .align = 32, .boundary = 4096 },
74 parms->align, parms->boundary);
H A Ddmapool.c58 unsigned int boundary; member in struct:dma_pool
207 * @boundary: returned blocks won't cross this power of two boundary
216 * If @boundary is nonzero, objects returned from dma_pool_alloc() won't
217 * cross that size boundary. This is useful for devices which have
225 size_t size, size_t align, size_t boundary)
247 if (!boundary)
248 boundary = allocation;
249 else if ((boundary < size) || (boundary
224 dma_pool_create(const char *name, struct device *dev, size_t size, size_t align, size_t boundary) argument
[all...]
/linux-master/arch/loongarch/include/asm/
H A Dkvm_mmu.h105 phys_addr_t boundary, size; local
108 boundary = (addr + size) & ~(size - 1);
109 return (boundary - 1 < end - 1) ? boundary : end;
/linux-master/sound/core/
H A Dpcm_compat.c80 u32 boundary; member in struct:snd_pcm_sw_params32
90 snd_pcm_uframes_t boundary; local
107 * Check silent_size parameter. Since we have 64bit boundary,
108 * silence_size must be compared with the 32bit boundary.
110 boundary = recalculate_boundary(substream->runtime);
111 if (boundary && params.silence_size >= boundary)
112 params.silence_size = substream->runtime->boundary;
116 if (boundary && put_user(boundary,
415 snd_pcm_uframes_t boundary; local
[all...]
H A Dsound_kunit.c187 snd_pcm_uframes_t boundary = buffer_size; local
189 while (boundary * 2 <= 0x7fffffffUL - buffer_size)
190 boundary *= 2;
191 return boundary;
195 /* buf_size + hw_ptr < appl_ptr => avail = buf_size + hw_ptr - appl_ptr + boundary */
198 * buf_size + hw_ptr - appl_ptr >= boundary =>
199 * => avail = buf_size + hw_ptr - appl_ptr - boundary
216 r->boundary = calculate_boundary(r->buffer_size);
224 /* hw_ptr - appl_ptr < 0 => avail = hw_ptr - appl_ptr + boundary */
240 r->boundary
[all...]
H A Dpcm_lib.c47 delta += runtime->boundary;
62 * when runtime->silence_size >= runtime->boundary - fill processed area with silence immediately
70 if (runtime->silence_size < runtime->boundary) {
77 /* get hw_avail with the boundary crossing */
80 noise_dist += runtime->boundary;
103 avail += runtime->boundary;
349 if (hw_base >= runtime->boundary) {
362 if (hw_base >= runtime->boundary) {
371 delta += runtime->boundary;
387 if (hw_base >= runtime->boundary) {
[all...]
/linux-master/arch/arm/mach-omap1/
H A Dsram-init.c26 #define ROUND_DOWN(value, boundary) ((value) & (~((boundary) - 1)))
39 * to an 8-byte boundary.
/linux-master/arch/powerpc/mm/nohash/
H A D8xx.c149 unsigned long boundary = strict_boundary ? sinittext : etext8; local
156 mmu_mapin_ram_chunk(0, boundary, PAGE_KERNEL_TEXT, true);
158 top = boundary;
160 mmu_mapin_ram_chunk(boundary, einittext8, PAGE_KERNEL_TEXT, true);
176 unsigned long boundary = strict_kernel_rwx_enabled() ? sinittext : etext8; local
181 err = mmu_mapin_ram_chunk(boundary, einittext8, PAGE_KERNEL, false);
H A De500.c169 unsigned long boundary; local
172 boundary = (unsigned long)(_sinittext - _stext);
174 boundary = ram;
177 for (i = 0; boundary && i < max_cam_idx; i++) {
181 cam_sz = calc_cam_sz(boundary, virt, phys);
185 boundary -= cam_sz;
/linux-master/include/sound/
H A Dpcm-indirect.h44 if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2))
45 diff += runtime->boundary;
117 if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2))
118 diff += runtime->boundary;
/linux-master/drivers/mtd/tests/
H A Dpagetest.c31 static unsigned char *boundary; variable
84 /* Check boundary between eraseblocks */
99 memcpy(boundary, writebuf + mtd->erasesize - pgsize, pgsize);
100 prandom_bytes_state(&rnd_state, boundary + pgsize, pgsize);
101 if (memcmp(twopages, boundary, bufsize)) {
368 boundary = kmalloc(bufsize, GFP_KERNEL);
369 if (!boundary)
442 kfree(boundary);
/linux-master/arch/x86/
H A DMakefile.um34 cflags-y += $(call cc-option,-mpreferred-stack-boundary=2)
H A DMakefile34 # For gcc stack alignment is specified with -mpreferred-stack-boundary,
36 ifneq ($(call cc-option, -mpreferred-stack-boundary=4),)
37 cc_stack_align4 := -mpreferred-stack-boundary=2
38 cc_stack_align8 := -mpreferred-stack-boundary=3
69 # This must happen before we try the -mpreferred-stack-boundary, see:
146 # 8-byte boundary. If the compiler isn't informed about the actual
/linux-master/sound/isa/gus/
H A Dgus_mem.c133 unsigned int idx, boundary; local
148 while (pblock->ptr >= (boundary = info[idx].address + info[idx].size))
150 while (pblock->ptr + pblock->size >= (boundary = info[idx].address + info[idx].size))
152 ptr2 = boundary;
156 if (pblock->next->ptr < boundary)
/linux-master/net/ipv4/
H A Dtcp_timer.c189 unsigned int boundary,
195 if (boundary <= linear_backoff_thresh)
196 timeout = ((2 << boundary) - 1) * rto_base;
199 (boundary - linear_backoff_thresh) * TCP_RTO_MAX;
205 * @boundary: max number of retransmissions
212 * after "boundary" unsuccessful, exponentially backed-off
216 unsigned int boundary,
231 timeout = tcp_model_timeout(sk, boundary, rto_base);
188 tcp_model_timeout(struct sock *sk, unsigned int boundary, unsigned int rto_base) argument
215 retransmits_timed_out(struct sock *sk, unsigned int boundary, unsigned int timeout) argument
/linux-master/drivers/gpu/drm/amd/display/dc/dml2/
H A DMakefile54 # GCC < 7.1 cannot compile code using `double` and -mpreferred-stack-boundary=3
56 dml2_ccflags += -mpreferred-stack-boundary=4
/linux-master/arch/s390/mm/
H A Dpageattr.c26 unsigned long boundary, size; local
32 boundary = (start + size) & ~(size - 1);
33 if (boundary <= end) {
36 } while (start < boundary);
/linux-master/drivers/mtd/nand/onenand/
H A Donenand_base.c39 /* Default Flex-OneNAND boundary and lock respectively */
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; local
310 boundary = this->boundary[die];
313 if (blk > boundary)
314 blk = (blk + boundary
337 int die = 0, boundary; local
1226 int ret = 0, boundary = 0; local
3562 flexonenand_set_boundary(struct mtd_info *mtd, int die, int boundary, int lock) argument
[all...]
/linux-master/drivers/acpi/acpica/
H A Dacmacros.h201 #define ACPI_ROUND_DOWN(value, boundary) (((acpi_size)(value)) & \
202 (~(((acpi_size) boundary)-1)))
204 #define ACPI_ROUND_UP(value, boundary) ((((acpi_size)(value)) + \
205 (((acpi_size) boundary)-1)) & \
206 (~(((acpi_size) boundary)-1)))
225 #define ACPI_ROUND_UP_TO(value, boundary) (((value) + ((boundary)-1)) / (boundary))
/linux-master/arch/arm/mach-omap2/
H A Dsram.c48 #define ROUND_DOWN(value, boundary) ((value) & (~((boundary) - 1)))
61 * to an 8-byte boundary.
/linux-master/fs/
H A Dmpage.c473 int boundary = 0; local
513 boundary = buffer_boundary(bh);
514 if (boundary) {
567 boundary = buffer_boundary(&map_bh);
628 if (boundary || (first_unmapped != blocks_per_page)) {
H A Ddirect-io.c87 int boundary; /* prev block is at a boundary */ member in struct:dio_submit
446 sdio->boundary = 0;
677 sdio->boundary = 0;
792 int boundary = sdio->boundary; /* dio_send_cur_page may clear it */ local
831 * If boundary then we want to schedule the IO now to
834 if (boundary) {
1030 sdio->boundary = buffer_boundary(map_bh);
/linux-master/fs/ext2/
H A Dinode.c138 * @boundary: set this non-zero if the referred-to block is likely to be
164 long i_block, int offsets[4], int *boundary)
199 if (boundary)
200 *boundary = final - 1 - (i_block & (ptrs - 1));
371 /* right now don't hanel cross boundary allocation */
626 u32 *bno, bool *new, bool *boundary,
769 *boundary = true;
787 bool new = false, boundary = false; local
791 ret = ext2_get_blocks(inode, iblock, max_blocks, &bno, &new, &boundary,
800 if (boundary)
163 ext2_block_to_path(struct inode *inode, long i_block, int offsets[4], int *boundary) argument
624 ext2_get_blocks(struct inode *inode, sector_t iblock, unsigned long maxblocks, u32 *bno, bool *new, bool *boundary, int create) argument
813 bool new = false, boundary = false; local
[all...]
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
H A Dmac.h13 bool rtl92c_init_llt_table(struct ieee80211_hw *hw, u32 boundary);

Completed in 267 milliseconds

123