Home
last modified time | relevance | path

Searched refs:next_offset (Results 1 – 25 of 55) sorted by relevance

123

/linux-6.12.1/virt/kvm/
Ddirty_ring.c110 u64 cur_offset, next_offset; in kvm_dirty_ring_reset() local
126 next_offset = READ_ONCE(entry->offset); in kvm_dirty_ring_reset()
138 s64 delta = next_offset - cur_offset; in kvm_dirty_ring_reset()
148 cur_offset = next_offset; in kvm_dirty_ring_reset()
155 cur_offset = next_offset; in kvm_dirty_ring_reset()
/linux-6.12.1/drivers/char/tpm/
Dtpm-buf.c178 off_t next_offset; in tpm_buf_read() local
184 next_offset = *offset + count; in tpm_buf_read()
185 if (next_offset > buf->length) { in tpm_buf_read()
192 *offset = next_offset; in tpm_buf_read()
/linux-6.12.1/drivers/gpu/drm/vc4/
Dvc4_render_cl.c51 u32 next_offset; member
58 *(u8 *)(setup->rcl->vaddr + setup->next_offset) = val; in rcl_u8()
59 setup->next_offset += 1; in rcl_u8()
64 *(u16 *)(setup->rcl->vaddr + setup->next_offset) = val; in rcl_u16()
65 setup->next_offset += 2; in rcl_u16()
70 *(u32 *)(setup->rcl->vaddr + setup->next_offset) = val; in rcl_u32()
71 setup->next_offset += 4; in rcl_u32()
376 BUG_ON(setup->next_offset != size); in vc4_create_rcl_bo()
378 exec->ct1ea = setup->rcl->dma_addr + setup->next_offset; in vc4_create_rcl_bo()
/linux-6.12.1/drivers/staging/media/atomisp/i2c/
Datomisp-libmsrlisthelper.c42 u16 next_offset; member
129 header->next_offset); in parse_and_apply()
130 } while (header->next_offset); in parse_and_apply()
/linux-6.12.1/include/linux/netfilter_arp/
Darp_tables.h32 .next_offset = (__size), \
66 __u16 next_offset; member
/linux-6.12.1/include/linux/netfilter_ipv4/
Dip_tables.h46 .next_offset = (__size), \
77 __u16 next_offset; member
/linux-6.12.1/fs/squashfs/
Ddir.c39 u64 *next_block, int *next_offset, u64 index_start, int index_offset, in get_dir_index_using_offset() argument
88 *next_offset = (length + *next_offset) % SQUASHFS_METADATA_SIZE; in get_dir_index_using_offset()
Dnamei.c64 u64 *next_block, int *next_offset, u64 index_start, in get_dir_index_using_name() argument
106 *next_offset = (length + *next_offset) % SQUASHFS_METADATA_SIZE; in get_dir_index_using_name()
/linux-6.12.1/net/ipv4/netfilter/
Darp_tables.c179 return (void *)entry + entry->next_offset; in arpt_next_entry()
353 } while (oldpos == pos + e->next_offset); in mark_source_chains()
356 size = e->next_offset; in mark_source_chains()
374 newpos = pos + e->next_offset; in mark_source_chains()
465 (unsigned char *)e + e->next_offset > limit) in check_entry_size_and_hooks()
468 if (e->next_offset in check_entry_size_and_hooks()
476 e->next_offset); in check_entry_size_and_hooks()
689 for (off = 0, num = 0; off < total_size; off += e->next_offset, num++){ in copy_entries_to_user()
1087 (unsigned char *)e + e->next_offset > limit) in check_compat_entry_size_and_hooks()
1090 if (e->next_offset < sizeof(struct compat_arpt_entry) + in check_compat_entry_size_and_hooks()
[all …]
Dip_tables.c218 return (void *)entry + entry->next_offset; in ipt_next_entry()
415 } while (oldpos == pos + e->next_offset); in mark_source_chains()
418 size = e->next_offset; in mark_source_chains()
436 newpos = pos + e->next_offset; in mark_source_chains()
600 (unsigned char *)e + e->next_offset > limit) in check_entry_size_and_hooks()
603 if (e->next_offset in check_entry_size_and_hooks()
611 e->next_offset); in check_entry_size_and_hooks()
829 for (off = 0, num = 0; off < total_size; off += e->next_offset, num++){ in copy_entries_to_user()
1224 u_int16_t target_offset, next_offset; in compat_copy_entry_to_user() local
1249 next_offset = e->next_offset - (origsize - *size); in compat_copy_entry_to_user()
[all …]
/linux-6.12.1/net/ipv6/netfilter/
Dip6_tables.c243 return (void *)entry + entry->next_offset; in ip6t_next_entry()
433 } while (oldpos == pos + e->next_offset); in mark_source_chains()
436 size = e->next_offset; in mark_source_chains()
454 newpos = pos + e->next_offset; in mark_source_chains()
618 (unsigned char *)e + e->next_offset > limit) in check_entry_size_and_hooks()
621 if (e->next_offset in check_entry_size_and_hooks()
629 e->next_offset); in check_entry_size_and_hooks()
845 for (off = 0, num = 0; off < total_size; off += e->next_offset, num++){ in copy_entries_to_user()
1240 u_int16_t target_offset, next_offset; in compat_copy_entry_to_user() local
1265 next_offset = e->next_offset - (origsize - *size); in compat_copy_entry_to_user()
[all …]
/linux-6.12.1/fs/btrfs/
Dfile-item.c1021 u64 *next_offset) in find_next_csum_offset() argument
1033 *next_offset = (u64)-1; in find_next_csum_offset()
1043 *next_offset = (u64)-1; in find_next_csum_offset()
1045 *next_offset = found_key.offset; in find_next_csum_offset()
1061 u64 next_offset; in btrfs_csum_file_blocks() local
1075 next_offset = (u64)-1; in btrfs_csum_file_blocks()
1108 ret = find_next_csum_offset(root, path, &next_offset); in btrfs_csum_file_blocks()
1192 ret = find_next_csum_offset(root, path, &next_offset); in btrfs_csum_file_blocks()
1199 ret = find_next_csum_offset(root, path, &next_offset); in btrfs_csum_file_blocks()
1203 tmp = (next_offset - bytenr) >> fs_info->sectorsize_bits; in btrfs_csum_file_blocks()
[all …]
/linux-6.12.1/include/uapi/linux/netfilter_ipv6/
Dip6_tables.h119 __u16 next_offset; member
145 .next_offset = (__size), \
/linux-6.12.1/include/uapi/linux/netfilter/
Dx_tables.h155 __i += __entry->next_offset, __n++) { \
177 (pos) = (typeof(pos))((char *)(pos) + (pos)->next_offset))
/linux-6.12.1/arch/arm64/kvm/vgic/
Dvgic-its.c1996 u32 next_offset; in compute_next_devid_offset() local
2001 next_offset = next->device_id - dev->device_id; in compute_next_devid_offset()
2003 return min_t(u32, next_offset, VITS_DTE_MAX_DEVID_OFFSET); in compute_next_devid_offset()
2009 u32 next_offset; in compute_next_eventid_offset() local
2014 next_offset = next->event_id - ite->event_id; in compute_next_eventid_offset()
2016 return min_t(u32, next_offset, VITS_ITE_MAX_EVENTID_OFFSET); in compute_next_eventid_offset()
2061 int next_offset; in scan_its_table() local
2068 next_offset = fn(its, id, entry, opaque); in scan_its_table()
2069 if (next_offset <= 0) in scan_its_table()
2070 return next_offset; in scan_its_table()
[all …]
/linux-6.12.1/net/bridge/netfilter/
Debtables.c182 return (void *)entry + entry->next_offset; in ebt_next_entry()
510 if (left < e->next_offset) in ebt_verify_pointers()
512 if (e->next_offset < sizeof(struct ebt_entry)) in ebt_verify_pointers()
514 offset += e->next_offset; in ebt_verify_pointers()
572 e->target_offset >= e->next_offset) in ebt_check_entry_size_and_hooks()
576 if (e->next_offset - e->target_offset < sizeof(struct ebt_entry_target)) in ebt_check_entry_size_and_hooks()
747 gap = e->next_offset - e->target_offset; in ebt_check_entry()
828 e->next_offset) in check_chainloops()
1716 u32 watchers_offset, target_offset, next_offset; in compat_copy_entry_to_user() local
1756 next_offset = e->next_offset - (origsize - *size); in compat_copy_entry_to_user()
[all …]
/linux-6.12.1/fs/xfs/
Dxfs_dir2_readdir.c151 unsigned int offset, next_offset; in xfs_dir2_block_getdents() local
181 offset = next_offset) { in xfs_dir2_block_getdents()
190 next_offset = offset + be16_to_cpu(dup->length); in xfs_dir2_block_getdents()
197 next_offset = offset + in xfs_dir2_block_getdents()
/linux-6.12.1/include/uapi/linux/netfilter_bridge/
Debtables.h191 unsigned int next_offset;
276 __i += __entry->next_offset; \
/linux-6.12.1/include/linux/netfilter_ipv6/
Dip6_tables.h42 __u16 next_offset; member
/linux-6.12.1/fs/ceph/
Ddir.c115 int len, unsigned next_offset) in note_last_dentry() argument
124 dfi->next_offset = next_offset; in note_last_dentry()
448 req->r_readdir_offset = dfi->next_offset; in ceph_readdir()
472 dfi->next_offset = req->r_readdir_offset; in ceph_readdir()
475 dfi->next_offset, in ceph_readdir()
489 dfi->next_offset == 2) { in ceph_readdir()
508 unsigned next_offset = req->r_reply_info.dir_end ? in ceph_readdir() local
511 rde->name_len, next_offset); in ceph_readdir()
518 dfi->next_offset = 2; in ceph_readdir()
580 if (dfi->next_offset > 2) { in ceph_readdir()
[all …]
/linux-6.12.1/drivers/gpu/drm/tegra/
Dsubmit.c356 u32 next_offset; in submit_job_add_gather() local
369 if (check_add_overflow(*offset, cmd->words, &next_offset)) { in submit_job_add_gather()
374 if (next_offset > bo->gather_data_words) { in submit_job_add_gather()
387 *offset = next_offset; in submit_job_add_gather()
/linux-6.12.1/fs/ext4/
Ddir.c87 const int next_offset = ((char *) de - buf) + rlen; in __ext4_check_dir_entry() local
98 else if (unlikely(next_offset > size)) in __ext4_check_dir_entry()
100 else if (unlikely(next_offset > size - ext4_dir_rec_len(1, in __ext4_check_dir_entry()
102 next_offset != size)) in __ext4_check_dir_entry()
/linux-6.12.1/net/llc/
Dllc_conn.c656 int state, ev_type, next_offset; in llc_build_offset_table() local
660 next_offset = 0; in llc_build_offset_table()
662 llc_offset_table[state][ev_type] = next_offset; in llc_build_offset_table()
663 next_offset += llc_find_next_offset(curr_state, in llc_build_offset_table()
664 next_offset) + 1; in llc_build_offset_table()
/linux-6.12.1/tools/bpf/bpftool/
Dgen.c968 __u32 offset, next_offset = 0; in walk_st_ops_shadow_vars() local
986 if (next_offset < offset) in walk_st_ops_shadow_vars()
987 printf("\t\t\tchar __padding_%d[%d];\n", i, offset - next_offset); in walk_st_ops_shadow_vars()
1011 next_offset = offset + size; in walk_st_ops_shadow_vars()
1019 next_offset = offset + sizeof(void *); in walk_st_ops_shadow_vars()
1047 next_offset = offset + size; in walk_st_ops_shadow_vars()
1054 if (next_offset < (__u32)size) in walk_st_ops_shadow_vars()
1055 printf("\t\t\tchar __padding_end[%d];\n", size - next_offset); in walk_st_ops_shadow_vars()
/linux-6.12.1/include/uapi/linux/netfilter_arp/
Darp_tables.h103 __u16 next_offset; member

123