Home
last modified time | relevance | path

Searched refs:boundary (Results 1 – 25 of 216) sorted by relevance

123456789

/linux-6.12.1/include/media/
Dv4l2-rect.h59 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()
68 if (r->top + r->height > boundary->top + boundary->height) in v4l2_rect_map_inside()
69 r->top = boundary->top + boundary->height - r->height; in v4l2_rect_map_inside()
/linux-6.12.1/mm/
Ddmapool_test.c19 size_t boundary; member
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); in dmapool_test_block()
Ddmapool.c58 unsigned int boundary; member
225 size_t size, size_t align, size_t boundary) in dma_pool_create() argument
247 if (!boundary) in dma_pool_create()
248 boundary = allocation; in dma_pool_create()
249 else if ((boundary < size) || (boundary & (boundary - 1))) in dma_pool_create()
252 boundary = min(boundary, allocation); in dma_pool_create()
265 retval->boundary = boundary; in dma_pool_create()
302 unsigned int next_boundary = pool->boundary, offset = 0; in pool_initialise_page()
309 next_boundary += pool->boundary; in pool_initialise_page()
/linux-6.12.1/sound/core/
Dpcm_compat.c80 u32 boundary; member
90 snd_pcm_uframes_t boundary; in snd_pcm_ioctl_sw_params_compat() local
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()
271 runtime->boundary = new_boundary; in snd_pcm_ioctl_hw_params_compat()
415 snd_pcm_uframes_t boundary; in snd_pcm_ioctl_sync_ptr_x32() local
432 boundary = recalculate_boundary(runtime); in snd_pcm_ioctl_sync_ptr_x32()
433 if (!boundary) in snd_pcm_ioctl_sync_ptr_x32()
[all …]
Dsound_kunit.c187 snd_pcm_uframes_t boundary = buffer_size; in calculate_boundary() local
189 while (boundary * 2 <= 0x7fffffffUL - buffer_size) in calculate_boundary()
190 boundary *= 2; in calculate_boundary()
191 return boundary; in calculate_boundary()
216 r->boundary = calculate_boundary(r->buffer_size); in test_playback_avail()
240 r->boundary = calculate_boundary(r->buffer_size); in test_capture_avail()
Dpcm_lib.c47 delta += runtime->boundary; in update_silence_vars()
70 if (runtime->silence_size < runtime->boundary) { in snd_pcm_playback_silence()
80 noise_dist += runtime->boundary; in snd_pcm_playback_silence()
103 avail += runtime->boundary; in snd_pcm_playback_silence()
352 if (hw_base >= runtime->boundary) { in snd_pcm_update_hw_ptr0()
365 if (hw_base >= runtime->boundary) { in snd_pcm_update_hw_ptr0()
374 delta += runtime->boundary; in snd_pcm_update_hw_ptr0()
390 if (hw_base >= runtime->boundary) { in snd_pcm_update_hw_ptr0()
435 if (new_hw_ptr >= runtime->boundary) { in snd_pcm_update_hw_ptr0()
436 new_hw_ptr -= runtime->boundary; in snd_pcm_update_hw_ptr0()
[all …]
/linux-6.12.1/arch/powerpc/mm/nohash/
D8xx.c146 unsigned long boundary = strict_boundary ? sinittext : etext8; in mmu_mapin_ram() local
153 mmu_mapin_ram_chunk(0, boundary, PAGE_KERNEL_X, true); in mmu_mapin_ram()
155 top = boundary; in mmu_mapin_ram()
157 mmu_mapin_ram_chunk(boundary, einittext8, PAGE_KERNEL_X, true); in mmu_mapin_ram()
173 unsigned long boundary = strict_kernel_rwx_enabled() ? sinittext : etext8; in mmu_mark_initmem_nx() local
178 err = mmu_mapin_ram_chunk(boundary, einittext8, PAGE_KERNEL, false); in mmu_mark_initmem_nx()
De500.c169 unsigned long boundary; in map_mem_in_cams_addr() local
172 boundary = (unsigned long)(_sinittext - _stext); in map_mem_in_cams_addr()
174 boundary = ram; in map_mem_in_cams_addr()
177 for (i = 0; boundary && i < max_cam_idx; i++) { in map_mem_in_cams_addr()
181 cam_sz = calc_cam_sz(boundary, virt, phys); in map_mem_in_cams_addr()
185 boundary -= cam_sz; in map_mem_in_cams_addr()
/linux-6.12.1/arch/loongarch/include/asm/
Dkvm_mmu.h105 phys_addr_t boundary, size; in kvm_pgtable_addr_end() local
108 boundary = (addr + size) & ~(size - 1); in kvm_pgtable_addr_end()
109 return (boundary - 1 < end - 1) ? boundary : end; in kvm_pgtable_addr_end()
/linux-6.12.1/drivers/mtd/tests/
Dpagetest.c31 static unsigned char *boundary; variable
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-6.12.1/include/sound/
Dpcm-indirect.h44 if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2)) in snd_pcm_indirect_playback_transfer()
45 diff += runtime->boundary; in snd_pcm_indirect_playback_transfer()
117 if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2)) in snd_pcm_indirect_capture_transfer()
118 diff += runtime->boundary; in snd_pcm_indirect_capture_transfer()
/linux-6.12.1/drivers/mtd/nand/onenand/
Donenand_base.c303 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()
337 int die = 0, boundary; in flexonenand_addr() local
345 boundary = this->boundary[die]; in flexonenand_addr()
347 if (block > (boundary + 1)) in flexonenand_addr()
348 ofs += (loff_t)(block - boundary - 1) << (this->erase_shift - 1); in flexonenand_addr()
1226 int ret = 0, boundary = 0; in onenand_read_ops_nolock() local
1277 boundary = 1; in onenand_read_ops_nolock()
[all …]
/linux-6.12.1/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-6.12.1/Documentation/ABI/testing/
Ddebugfs-scmi-raw13 (receiving an EOF at each message boundary).
31 (receiving an EOF at each message boundary).
42 each message boundary).
53 each message boundary).
82 (receiving an EOF at each message boundary).
109 (receiving an EOF at each message boundary).
/linux-6.12.1/drivers/acpi/acpica/
Dacmacros.h201 #define ACPI_ROUND_DOWN(value, boundary) (((acpi_size)(value)) & \ argument
202 (~(((acpi_size) boundary)-1)))
204 #define ACPI_ROUND_UP(value, boundary) ((((acpi_size)(value)) + \ argument
205 (((acpi_size) boundary)-1)) & \
206 (~(((acpi_size) boundary)-1)))
225 #define ACPI_ROUND_UP_TO(value, boundary) (((value) + ((boundary)-1)) / (boundary)) argument
/linux-6.12.1/arch/x86/
DMakefile40 ifneq ($(call cc-option, -mpreferred-stack-boundary=4),)
41 cc_stack_align4 := -mpreferred-stack-boundary=2
42 cc_stack_align8 := -mpreferred-stack-boundary=3
98 CC_FLAGS_FPU += $(call cc-option,-msse -mpreferred-stack-boundary=3,-mpreferred-stack-boundary=4)
/linux-6.12.1/sound/isa/gus/
Dgus_mem.c133 unsigned int idx, boundary; in snd_gf1_mem_find() local
148 while (pblock->ptr >= (boundary = info[idx].address + info[idx].size)) in snd_gf1_mem_find()
150 while (pblock->ptr + pblock->size >= (boundary = info[idx].address + info[idx].size)) in snd_gf1_mem_find()
152 ptr2 = boundary; in snd_gf1_mem_find()
156 if (pblock->next->ptr < boundary) in snd_gf1_mem_find()
/linux-6.12.1/arch/arm/mach-omap1/
Dsram-init.c26 #define ROUND_DOWN(value, boundary) ((value) & (~((boundary) - 1))) argument
/linux-6.12.1/fs/
Dmpage.c466 int boundary = 0; in __mpage_writepage() local
506 boundary = buffer_boundary(bh); in __mpage_writepage()
507 if (boundary) { in __mpage_writepage()
560 boundary = buffer_boundary(&map_bh); in __mpage_writepage()
621 if (boundary || (first_unmapped != blocks_per_page)) { in __mpage_writepage()
Ddirect-io.c86 int boundary; /* prev block is at a boundary */ member
445 sdio->boundary = 0; in dio_bio_submit()
676 sdio->boundary = 0; in dio_new_bio()
791 int boundary = sdio->boundary; /* dio_send_cur_page may clear it */ in submit_page_section() local
833 if (boundary) { in submit_page_section()
1029 sdio->boundary = buffer_boundary(map_bh); in do_direct_IO()
/linux-6.12.1/Documentation/filesystems/bcachefs/
Derrorcodes.rst17 the bcachefs module boundary.
19 At the module boundary, we use bch2_err_class() to convert to a standard error
/linux-6.12.1/net/ipv4/
Dtcp_timer.c187 unsigned int boundary, in tcp_model_timeout() argument
193 if (boundary <= linear_backoff_thresh) in tcp_model_timeout()
194 timeout = ((2 << boundary) - 1) * rto_base; in tcp_model_timeout()
197 (boundary - linear_backoff_thresh) * TCP_RTO_MAX; in tcp_model_timeout()
214 unsigned int boundary, in retransmits_timed_out() argument
229 timeout = tcp_model_timeout(sk, boundary, rto_base); in retransmits_timed_out()
/linux-6.12.1/fs/ext2/
Dinode.c164 long i_block, int offsets[4], int *boundary) in ext2_block_to_path() argument
199 if (boundary) in ext2_block_to_path()
200 *boundary = final - 1 - (i_block & (ptrs - 1)); in ext2_block_to_path()
626 u32 *bno, bool *new, bool *boundary, in ext2_get_blocks() argument
769 *boundary = true; in ext2_get_blocks()
787 bool new = false, boundary = false; in ext2_get_block() local
791 ret = ext2_get_blocks(inode, iblock, max_blocks, &bno, &new, &boundary, in ext2_get_block()
800 if (boundary) in ext2_get_block()
813 bool new = false, boundary = false; in ext2_iomap_begin() local
836 &bno, &new, &boundary, create); in ext2_iomap_begin()
/linux-6.12.1/Documentation/filesystems/
Dromfs.rst72 : : padded to 16 byte boundary.
91 must begin on a 16 byte boundary::
105 : : padded to 16 byte boundary
110 Since the file headers begin always at a 16 byte boundary, the lowest
149 padded to an 1024 byte boundary.
178 boundary, it is currently possibly suboptimal to read or execute files
/linux-6.12.1/arch/s390/mm/
Dpageattr.c26 unsigned long boundary, size; in __storage_key_init_range() local
32 boundary = (start + size) & ~(size - 1); in __storage_key_init_range()
33 if (boundary <= end) { in __storage_key_init_range()
36 } while (start < boundary); in __storage_key_init_range()

123456789