/linux/include/media/ |
A D | v4l2-rect.h | 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() 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 D | stackleak.c | 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() 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 D | gpio-104-idi-48.c | 118 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 D | 8xx.c | 153 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 D | fsl_book3e.c | 175 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 D | pcm_compat.c | 80 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 D | pcm_lib.c | 57 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 D | dmapool.c | 49 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 D | stage2_pgtable.h | 48 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 D | pagetest.c | 31 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 D | pcm-indirect.h | 44 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 D | onenand_base.c | 310 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 D | verity.rst | 14 - 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 D | acmacros.h | 201 #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 D | gus_mem.c | 126 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 D | sram.c | 29 #define ROUND_DOWN(value,boundary) ((value) & (~((boundary)-1))) argument
|
/linux/drivers/gpu/drm/amd/display/dc/dcn30/ |
A D | Makefile | 57 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 D | pageattr.c | 24 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 D | tcp_timer.c | 183 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 D | mpage.c | 494 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 D | direct-io.c | 87 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 D | sram.c | 47 #define ROUND_DOWN(value,boundary) ((value) & (~((boundary)-1))) argument
|
/linux/arch/x86/ |
A D | Makefile | 17 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 D | romfs.rst | 72 : : 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 D | inode.c | 164 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()
|