Home
last modified time | relevance | path

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

123456789

/linux/include/media/
A 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/kernel/
A Dstackleak.c55 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()
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()
/linux/drivers/gpio/
A 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()
149 unsigned boundary; in idi_48_irq_unmask() local
156 boundary = i / 8; in idi_48_irq_unmask()
159 idi48gpio->irq_mask[boundary] |= mask; in idi_48_irq_unmask()
162 idi48gpio->cos_enb |= BIT(boundary); in idi_48_irq_unmask()
197 unsigned long boundary; in idi_48_irq_handler() local
[all …]
/linux/arch/powerpc/mm/nohash/
A 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()
A Dfsl_book3e.c175 unsigned long boundary; in map_mem_in_cams_addr() local
178 boundary = (unsigned long)(_sinittext - _stext); in map_mem_in_cams_addr()
180 boundary = ram; in map_mem_in_cams_addr()
183 for (i = 0; boundary && i < max_cam_idx; i++) { in map_mem_in_cams_addr()
187 cam_sz = calc_cam_sz(boundary, virt, phys); in map_mem_in_cams_addr()
191 boundary -= cam_sz; in map_mem_in_cams_addr()
/linux/sound/core/
A 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()
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()
420 snd_pcm_uframes_t boundary; in snd_pcm_ioctl_sync_ptr_x32() local
437 boundary = recalculate_boundary(runtime); in snd_pcm_ioctl_sync_ptr_x32()
438 if (!boundary) in snd_pcm_ioctl_sync_ptr_x32()
439 boundary = 0x7fffffff; in snd_pcm_ioctl_sync_ptr_x32()
[all …]
A Dpcm_lib.c57 n += runtime->boundary; in snd_pcm_playback_silence()
80 runtime->boundary; in snd_pcm_playback_silence()
85 frames += runtime->boundary; in snd_pcm_playback_silence()
324 if (hw_base >= runtime->boundary) { in snd_pcm_update_hw_ptr0()
337 if (hw_base >= runtime->boundary) { in snd_pcm_update_hw_ptr0()
346 delta += runtime->boundary; in snd_pcm_update_hw_ptr0()
362 if (hw_base >= runtime->boundary) { in snd_pcm_update_hw_ptr0()
408 new_hw_ptr -= runtime->boundary; in snd_pcm_update_hw_ptr0()
449 delta += runtime->boundary; in snd_pcm_update_hw_ptr0()
2273 if (appl_ptr >= runtime->boundary) in __snd_pcm_lib_xfer()
[all …]
/linux/mm/
A Ddmapool.c49 size_t boundary; member
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()
212 next_boundary += pool->boundary; in pool_initialise_page()
/linux/arch/arm64/include/asm/
A Dstage2_pgtable.h48 phys_addr_t boundary = (addr + stage2_pgdir_size(kvm)) & stage2_pgdir_mask(kvm); in stage2_pgd_addr_end() local
50 return (boundary - 1 < end - 1) ? boundary : end; in stage2_pgd_addr_end()
/linux/drivers/mtd/tests/
A 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/include/sound/
A 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()
112 if (diff < -(snd_pcm_sframes_t) (runtime->boundary / 2)) in snd_pcm_indirect_capture_transfer()
113 diff += runtime->boundary; in snd_pcm_indirect_capture_transfer()
/linux/drivers/mtd/nand/onenand/
A Donenand_base.c310 boundary = this->boundary[die]; in flexonenand_block()
313 if (blk > boundary) 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()
1226 int ret = 0, boundary = 0; in onenand_read_ops_nolock() local
1277 boundary = 1; in onenand_read_ops_nolock()
1279 boundary = 0; in onenand_read_ops_nolock()
1304 if (unlikely(boundary)) in onenand_read_ops_nolock()
3462 this->boundary[die]; in flexonenand_get_size()
[all …]
/linux/Documentation/filesystems/ext4/
A 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/drivers/acpi/acpica/
A 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/sound/isa/gus/
A Dgus_mem.c126 unsigned int idx, boundary; in snd_gf1_mem_find() local
141 while (pblock->ptr >= (boundary = info[idx].address + info[idx].size)) in snd_gf1_mem_find()
143 while (pblock->ptr + pblock->size >= (boundary = info[idx].address + info[idx].size)) in snd_gf1_mem_find()
145 ptr2 = boundary; in snd_gf1_mem_find()
149 if (pblock->next->ptr < boundary) in snd_gf1_mem_find()
/linux/arch/arm/plat-omap/
A Dsram.c29 #define ROUND_DOWN(value,boundary) ((value) & (~((boundary)-1))) argument
/linux/drivers/gpu/drm/amd/display/dc/dcn30/
A DMakefile57 CFLAGS_$(AMDDALPATH)/dc/dcn30/dcn30_resource.o += -mpreferred-stack-boundary=4
58 CFLAGS_$(AMDDALPATH)/dc/dcn30/dcn30_optc.o += -mpreferred-stack-boundary=4
/linux/arch/s390/mm/
A Dpageattr.c24 unsigned long boundary, size; in __storage_key_init_range() local
30 boundary = (start + size) & ~(size - 1); in __storage_key_init_range()
31 if (boundary <= end) { in __storage_key_init_range()
34 } while (start < boundary); in __storage_key_init_range()
/linux/net/ipv4/
A Dtcp_timer.c183 unsigned int boundary, in tcp_model_timeout() argument
189 if (boundary <= linear_backoff_thresh) in tcp_model_timeout()
190 timeout = ((2 << boundary) - 1) * rto_base; in tcp_model_timeout()
193 (boundary - linear_backoff_thresh) * TCP_RTO_MAX; in tcp_model_timeout()
210 unsigned int boundary, in retransmits_timed_out() argument
224 timeout = tcp_model_timeout(sk, boundary, rto_base); in retransmits_timed_out()
/linux/fs/
A Dmpage.c494 int boundary = 0; in __mpage_writepage() local
533 boundary = buffer_boundary(bh); in __mpage_writepage()
534 if (boundary) { in __mpage_writepage()
577 boundary = buffer_boundary(&map_bh); in __mpage_writepage()
644 if (boundary || (first_unmapped != blocks_per_page)) { in __mpage_writepage()
A Ddirect-io.c87 int boundary; /* prev block is at a boundary */ member
446 sdio->boundary = 0; in dio_bio_submit()
697 sdio->boundary = 0; in dio_new_bio()
811 int boundary = sdio->boundary; /* dio_send_cur_page may clear it */ in submit_page_section() local
853 if (boundary) { in submit_page_section()
1048 sdio->boundary = buffer_boundary(map_bh); in do_direct_IO()
/linux/arch/arm/mach-omap2/
A Dsram.c47 #define ROUND_DOWN(value,boundary) ((value) & (~((boundary)-1))) argument
/linux/arch/x86/
A DMakefile17 ifneq ($(call cc-option, -mpreferred-stack-boundary=4),)
18 cc_stack_align4 := -mpreferred-stack-boundary=2
19 cc_stack_align8 := -mpreferred-stack-boundary=3
/linux/Documentation/filesystems/
A 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/fs/ext2/
A 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()
622 u32 *bno, bool *new, bool *boundary, in ext2_get_blocks() argument
765 *boundary = true; in ext2_get_blocks()
783 bool new = false, boundary = false; in ext2_get_block() local
787 ret = ext2_get_blocks(inode, iblock, max_blocks, &bno, &new, &boundary, in ext2_get_block()
796 if (boundary) in ext2_get_block()
809 bool new = false, boundary = false; in ext2_iomap_begin() local
814 &bno, &new, &boundary, flags & IOMAP_WRITE); in ext2_iomap_begin()

Completed in 48 milliseconds

123456789