/linux/include/media/ |
H 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/mm/ |
H A D | dmapool_test.c | 19 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()
|
H A D | dmapool.c | 58 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/sound/core/ |
H 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() 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 …]
|
H A D | sound_kunit.c | 187 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()
|
H A D | pcm_lib.c | 47 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() 349 if (hw_base >= runtime->boundary) { in snd_pcm_update_hw_ptr0() 362 if (hw_base >= runtime->boundary) { in snd_pcm_update_hw_ptr0() 371 delta += runtime->boundary; in snd_pcm_update_hw_ptr0() 387 if (hw_base >= runtime->boundary) { in snd_pcm_update_hw_ptr0() 432 if (new_hw_ptr >= runtime->boundary) { in snd_pcm_update_hw_ptr0() 433 new_hw_ptr -= runtime->boundary; in snd_pcm_update_hw_ptr0() [all …]
|
/linux/arch/powerpc/mm/nohash/ |
H A D | 8xx.c | 149 unsigned long boundary = strict_boundary ? sinittext : etext8; in mmu_mapin_ram() local 156 mmu_mapin_ram_chunk(0, boundary, PAGE_KERNEL_TEXT, true); in mmu_mapin_ram() 158 top = boundary; in mmu_mapin_ram() 160 mmu_mapin_ram_chunk(boundary, einittext8, PAGE_KERNEL_TEXT, true); in mmu_mapin_ram() 176 unsigned long boundary = strict_kernel_rwx_enabled() ? sinittext : etext8; in mmu_mark_initmem_nx() local 181 err = mmu_mapin_ram_chunk(boundary, einittext8, PAGE_KERNEL, false); in mmu_mark_initmem_nx()
|
H A D | e500.c | 169 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/arch/loongarch/include/asm/ |
H A D | kvm_mmu.h | 105 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/drivers/mtd/tests/ |
H 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/ |
H 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() 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/drivers/mtd/nand/onenand/ |
H A D | onenand_base.c | 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() 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/Documentation/filesystems/ext4/ |
H 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/Documentation/ABI/testing/ |
H A D | debugfs-scmi-raw | 13 (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/drivers/acpi/acpica/ |
H 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/ |
H A D | gus_mem.c | 133 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/arch/arm/mach-omap1/ |
H A D | sram-init.c | 26 #define ROUND_DOWN(value, boundary) ((value) & (~((boundary) - 1))) argument
|
/linux/fs/ |
H A D | mpage.c | 473 int boundary = 0; in __mpage_writepage() local 513 boundary = buffer_boundary(bh); in __mpage_writepage() 514 if (boundary) { in __mpage_writepage() 567 boundary = buffer_boundary(&map_bh); in __mpage_writepage() 628 if (boundary || (first_unmapped != blocks_per_page)) { in __mpage_writepage()
|
H A D | direct-io.c | 87 int boundary; /* prev block is at a boundary */ member 446 sdio->boundary = 0; in dio_bio_submit() 677 sdio->boundary = 0; in dio_new_bio() 792 int boundary = sdio->boundary; /* dio_send_cur_page may clear it */ in submit_page_section() local 834 if (boundary) { in submit_page_section() 1030 sdio->boundary = buffer_boundary(map_bh); in do_direct_IO()
|
/linux/Documentation/filesystems/bcachefs/ |
H A D | errorcodes.rst | 17 the bcachefs module boundary. 19 At the module boundary, we use bch2_err_class() to convert to a standard error
|
/linux/net/ipv4/ |
H A D | tcp_timer.c | 191 unsigned int boundary, in tcp_model_timeout() argument 197 if (boundary <= linear_backoff_thresh) in tcp_model_timeout() 198 timeout = ((2 << boundary) - 1) * rto_base; in tcp_model_timeout() 201 (boundary - linear_backoff_thresh) * TCP_RTO_MAX; in tcp_model_timeout() 218 unsigned int boundary, in retransmits_timed_out() argument 233 timeout = tcp_model_timeout(sk, boundary, rto_base); in retransmits_timed_out()
|
/linux/fs/ext2/ |
H A D | inode.c | 138 * @boundary: set this non-zero if the referred-to block is likely to be 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() 371 /* right now don't hanel cross boundary allocation */ in ext2_blks_to_allocate() 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; ext2_iomap_begin() local [all...] |
/linux/Documentation/filesystems/ |
H 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/arch/s390/mm/ |
H A D | pageattr.c | 26 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()
|
/linux/arch/arm/mach-omap2/ |
H A D | sram.c | 48 #define ROUND_DOWN(value, boundary) ((value) & (~((boundary) - 1))) argument
|