/linux-master/drivers/android/ |
H A D | binder_alloc_selftest.c | 228 size_t *end_offset) 238 offset = end_offset[i]; 247 back_sizes[0] += alloc->buffer_size - end_offset[BUFFER_NUM - 1]; 249 end_offset[BUFFER_NUM - 1]); 254 size_t *end_offset, int index) 260 binder_selftest_alloc_size(alloc, end_offset); 263 prev = index == 0 ? 0 : end_offset[index - 1]; 273 end_offset[index] = end; 274 binder_selftest_alloc_offset(alloc, end_offset, index + 1); 289 size_t end_offset[BUFFER_NU local 227 binder_selftest_alloc_size(struct binder_alloc *alloc, size_t *end_offset) argument 253 binder_selftest_alloc_offset(struct binder_alloc *alloc, size_t *end_offset, int index) argument [all...] |
/linux-master/fs/verity/ |
H A D | read_metadata.c | 20 u64 end_offset; local 26 end_offset = min(offset + length, vi->tree_params.tree_size); 27 if (offset >= end_offset) 30 last_index = (end_offset - 1) >> PAGE_SHIFT; 42 unsigned int bytes_to_copy = min_t(u64, end_offset - offset,
|
/linux-master/arch/x86/kernel/ |
H A D | ftrace.c | 307 unsigned long end_offset; local 325 end_offset = (unsigned long)ftrace_regs_caller_end; 331 end_offset = (unsigned long)ftrace_caller_end; 337 size = end_offset - start_offset; 427 unsigned long end_offset; local 437 end_offset = (unsigned long)ftrace_regs_caller_end; 440 end_offset = (unsigned long)ftrace_caller_end; 442 size = end_offset - start_offset;
|
/linux-master/fs/configfs/ |
H A D | file.c | 242 size_t end_offset; local 255 end_offset = iocb->ki_pos + iov_iter_count(from); 256 if (end_offset > buffer->bin_buffer_size) { 257 if (buffer->cb_max_size && end_offset > buffer->cb_max_size) { 262 tbuf = vmalloc(end_offset); 277 end_offset - buffer->bin_buffer_size); 279 buffer->bin_buffer_size = end_offset;
|
/linux-master/sound/pci/emu10k1/ |
H A D | memory.c | 573 int page, nextofs, end_offset, temp, temp1; local 581 end_offset = offset + size; 586 temp1 = end_offset - offset; 594 } while (offset < end_offset); 633 int page, nextofs, end_offset, temp, temp1; local 641 end_offset = offset + size; 646 temp1 = end_offset - offset; 659 } while (offset < end_offset);
|
/linux-master/drivers/char/xillybus/ |
H A D | xillybus.h | 28 int end_offset; /* Counting elements, not bytes */ member in struct:xilly_buffer
|
H A D | xillybus_core.c | 67 * buffers' end_offset fields against changes made by IRQ handler (and in 73 * rd_spinlock does the same with rd_*_buf_idx, rd_empty and end_offset. 185 channel->wr_buffers[msg_bufno]->end_offset = 664 if (channel->wr_buffers[0]->end_offset != endpoint->idtlen) { 667 channel->wr_buffers[0]->end_offset, endpoint->idtlen); 726 howmany = ((channel->wr_buffers[bufidx]->end_offset
|
/linux-master/net/devlink/ |
H A D | region.c | 797 void *cb_priv, u64 start_offset, u64 end_offset, 811 while (curr_offset < end_offset) { 814 data_size = min_t(u32, end_offset - curr_offset, 872 u64 ret_offset, start_offset, end_offset = U64_MAX; local 967 end_offset = nla_get_u64(attrs[DEVLINK_ATTR_REGION_CHUNK_ADDR]); 968 end_offset += nla_get_u64(attrs[DEVLINK_ATTR_REGION_CHUNK_LEN]); 971 if (end_offset > region->size) 972 end_offset = region->size; 975 if (start_offset == end_offset) { 1010 start_offset, end_offset, 796 devlink_nl_region_read_fill(struct sk_buff *skb, devlink_chunk_fill_t *cb, void *cb_priv, u64 start_offset, u64 end_offset, u64 *new_offset, struct netlink_ext_ack *extack) argument [all...] |
/linux-master/include/trace/events/ |
H A D | bcache.h | 400 unsigned end_inode, uint64_t end_offset), 403 end_inode, end_offset), 410 __field(__u64, end_offset ) 418 __entry->end_offset = end_offset; 423 __entry->end_inode, __entry->end_offset)
|
/linux-master/fs/bcachefs/ |
H A D | btree_types.h | 53 u16 end_offset; member in struct:bset_tree 646 t->end_offset = 694 EBUG_ON(__btree_node_offset_to_key(_b, (_t)->end_offset) != \ 697 __btree_node_offset_to_key(_b, (_t)->end_offset); \ 702 return t->end_offset - t->data_offset -
|
H A D | fs-io-pagecache.c | 670 loff_t end_offset, 676 pgoff_t end_index = end_offset >> PAGE_SHIFT; 701 start_offset, end_offset); 712 return end_offset; 759 loff_t end_offset, 767 while (!ret && offset < end_offset) 772 return min(offset, end_offset); 668 bch2_seek_pagecache_data(struct inode *vinode, loff_t start_offset, loff_t end_offset, unsigned min_replicas, bool nonblock) argument 757 bch2_seek_pagecache_hole(struct inode *vinode, loff_t start_offset, loff_t end_offset, unsigned min_replicas, bool nonblock) argument
|
H A D | bset.c | 212 if (set->end == t->end_offset) { 214 set->k >= t->end_offset); 230 if (iter->data[0].end == t->end_offset) 562 unsigned bset_u64s = t->end_offset - btree_bkey_first_offset(t); 938 where < t->end_offset && 971 : t->end_offset) - 1389 if (set->end == t->end_offset) 1489 end = t->end_offset;
|
H A D | fs-io.c | 250 unsigned end_offset; local 281 end_offset = min_t(u64, end, folio_end_pos(folio)) - folio_pos(folio); 285 end_offset == folio_size(folio)) { 307 i < round_down(end_offset, block_bytes(c)) >> 9; 333 folio_zero_segment(folio, start_offset, end_offset);
|
H A D | bset.h | 302 if (offset <= t->end_offset) {
|
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_pt.c | 666 * @end_offset: Ignored on input, Last non-shared entry + 1 on output. 682 pgoff_t *offset, pgoff_t *end_offset) 687 *end_offset = xe_pt_num_entries(addr, end, level, walk) + *offset; 704 (*end_offset)--; 707 return *end_offset > *offset; 732 pgoff_t end_offset; local 743 &end_offset)) { 746 (end_offset - offset) * sizeof(u64)); 1425 pgoff_t end_offset; local 1439 &end_offset)) 679 xe_pt_nonshared_offsets(u64 addr, u64 end, unsigned int level, struct xe_pt_walk *walk, enum page_walk_action *action, pgoff_t *offset, pgoff_t *end_offset) argument [all...] |
/linux-master/mm/ |
H A D | percpu-stats.c | 71 chunk->end_offset / PCPU_MIN_ALLOC_SIZE - 1);
|
H A D | percpu-internal.h | 77 int end_offset; /* additional area required to member in struct:pcpu_chunk
|
H A D | swap_state.c | 656 unsigned long start_offset, end_offset; local 669 end_offset = offset | mask; 672 if (end_offset >= si->max) 673 end_offset = si->max - 1; 676 for (offset = start_offset; offset <= end_offset ; offset++) {
|
/linux-master/drivers/gpu/drm/amd/display/dc/inc/hw/ |
H A D | timing_generator.h | 83 int end_offset; member in struct:vupdate_keepout_params
|
/linux-master/fs/f2fs/ |
H A D | file.c | 436 pgoff_t pgofs, end_offset; local 475 end_offset = ADDRS_PER_PAGE(dn.node_page, inode); 478 for (; dn.ofs_in_node < end_offset; 1099 pgoff_t end_offset, count; local 1112 end_offset = ADDRS_PER_PAGE(dn.node_page, inode); 1113 count = min(end_offset - dn.ofs_in_node, pg_end - pg_start); 1115 f2fs_bug_on(F2FS_I_SB(inode), count == 0 || count > end_offset); local 1565 unsigned int end_offset; local 1586 end_offset = ADDRS_PER_PAGE(dn.node_page, inode); 1587 end = min(pg_end, end_offset 3599 pgoff_t end_offset, count; local 3776 pgoff_t end_offset, count; local 3942 pgoff_t end_offset, count; local [all...] |
/linux-master/drivers/net/wireless/ath/ath11k/ |
H A D | dp.c | 534 u32 end_offset; local 579 end_offset = (scatter_buf - slist[scatter_idx].vaddr) * 582 n_link_desc, end_offset);
|
/linux-master/drivers/spi/ |
H A D | spi-aspeed-smc.c | 829 u32 end_offset = reg & AST2600_SEG_ADDR_MASK; local 832 if (!end_offset) 835 return aspi->ahb_base_phy + end_offset + 0x100000;
|
/linux-master/arch/arm64/kernel/ |
H A D | signal.c | 65 unsigned long end_offset; member in struct:rt_sigframe_user_layout 157 ret = sigframe_alloc(user, &user->end_offset, 1096 apply_user_offset(user, user->end_offset);
|
/linux-master/sound/pci/nm256/ |
H A D | nm256.c | 373 u32 end_offset = offset + coefficient_sizes[number]; local 376 end_offset--; 377 snd_nm256_writel(chip, addr + 4, base + end_offset);
|
/linux-master/fs/xfs/ |
H A D | xfs_iomap.c | 1133 xfs_off_t end_offset; local 1136 end_offset = XFS_ALLOC_ALIGN(mp, offset + count - 1); 1137 p_end_fsb = XFS_B_TO_FSBT(mp, end_offset) +
|