Home
last modified time | relevance | path

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

12

/linux-6.1.9/virt/kvm/
Ddirty_ring.c93 u64 cur_offset, next_offset; in kvm_dirty_ring_reset() local
109 next_offset = READ_ONCE(entry->offset); in kvm_dirty_ring_reset()
121 s64 delta = next_offset - cur_offset; in kvm_dirty_ring_reset()
131 cur_offset = next_offset; in kvm_dirty_ring_reset()
138 cur_offset = next_offset; in kvm_dirty_ring_reset()
/linux-6.1.9/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.1.9/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.1.9/include/linux/netfilter_ipv4/
Dip_tables.h46 .next_offset = (__size), \
77 __u16 next_offset; member
/linux-6.1.9/include/linux/netfilter_arp/
Darp_tables.h32 .next_offset = (__size), \
66 __u16 next_offset; member
/linux-6.1.9/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()
1083 (unsigned char *)e + e->next_offset > limit) in check_compat_entry_size_and_hooks()
1086 if (e->next_offset < sizeof(struct compat_arpt_entry) + in check_compat_entry_size_and_hooks()
[all …]
Dip_tables.c220 return (void *)entry + entry->next_offset; in ipt_next_entry()
417 } while (oldpos == pos + e->next_offset); in mark_source_chains()
420 size = e->next_offset; in mark_source_chains()
438 newpos = pos + e->next_offset; in mark_source_chains()
602 (unsigned char *)e + e->next_offset > limit) in check_entry_size_and_hooks()
605 if (e->next_offset in check_entry_size_and_hooks()
613 e->next_offset); in check_entry_size_and_hooks()
831 for (off = 0, num = 0; off < total_size; off += e->next_offset, num++){ in copy_entries_to_user()
1223 u_int16_t target_offset, next_offset; in compat_copy_entry_to_user() local
1248 next_offset = e->next_offset - (origsize - *size); in compat_copy_entry_to_user()
[all …]
/linux-6.1.9/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
112 *next_offset = (length + *next_offset) % SQUASHFS_METADATA_SIZE; in get_dir_index_using_name()
/linux-6.1.9/net/ipv6/netfilter/
Dip6_tables.c245 return (void *)entry + entry->next_offset; in ip6t_next_entry()
435 } while (oldpos == pos + e->next_offset); in mark_source_chains()
438 size = e->next_offset; in mark_source_chains()
456 newpos = pos + e->next_offset; in mark_source_chains()
620 (unsigned char *)e + e->next_offset > limit) in check_entry_size_and_hooks()
623 if (e->next_offset in check_entry_size_and_hooks()
631 e->next_offset); in check_entry_size_and_hooks()
847 for (off = 0, num = 0; off < total_size; off += e->next_offset, num++){ in copy_entries_to_user()
1239 u_int16_t target_offset, next_offset; in compat_copy_entry_to_user() local
1264 next_offset = e->next_offset - (origsize - *size); in compat_copy_entry_to_user()
[all …]
/linux-6.1.9/fs/btrfs/
Dfile-item.c955 u64 *next_offset) in find_next_csum_offset() argument
967 *next_offset = (u64)-1; in find_next_csum_offset()
977 *next_offset = (u64)-1; in find_next_csum_offset()
979 *next_offset = found_key.offset; in find_next_csum_offset()
995 u64 next_offset; in btrfs_csum_file_blocks() local
1009 next_offset = (u64)-1; in btrfs_csum_file_blocks()
1042 ret = find_next_csum_offset(root, path, &next_offset); in btrfs_csum_file_blocks()
1126 ret = find_next_csum_offset(root, path, &next_offset); in btrfs_csum_file_blocks()
1133 ret = find_next_csum_offset(root, path, &next_offset); in btrfs_csum_file_blocks()
1137 tmp = (next_offset - bytenr) >> fs_info->sectorsize_bits; in btrfs_csum_file_blocks()
[all …]
/linux-6.1.9/include/uapi/linux/netfilter/
Dx_tables.h155 __i += __entry->next_offset, __n++) { \
177 (pos) = (typeof(pos))((char *)(pos) + (pos)->next_offset))
/linux-6.1.9/include/uapi/linux/netfilter_ipv6/
Dip6_tables.h119 __u16 next_offset; member
145 .next_offset = (__size), \
/linux-6.1.9/arch/arm64/kvm/vgic/
Dvgic-its.c2089 u32 next_offset; in compute_next_devid_offset() local
2094 next_offset = next->device_id - dev->device_id; in compute_next_devid_offset()
2096 return min_t(u32, next_offset, VITS_DTE_MAX_DEVID_OFFSET); in compute_next_devid_offset()
2102 u32 next_offset; in compute_next_eventid_offset() local
2107 next_offset = next->event_id - ite->event_id; in compute_next_eventid_offset()
2109 return min_t(u32, next_offset, VITS_ITE_MAX_EVENTID_OFFSET); in compute_next_eventid_offset()
2153 int next_offset; in scan_its_table() local
2160 next_offset = fn(its, id, entry, opaque); in scan_its_table()
2161 if (next_offset <= 0) in scan_its_table()
2162 return next_offset; in scan_its_table()
[all …]
/linux-6.1.9/include/uapi/linux/netfilter_bridge/
Debtables.h190 unsigned int next_offset; member
274 __i += __entry->next_offset; \
/linux-6.1.9/fs/xfs/
Dxfs_dir2_readdir.c150 unsigned int offset, next_offset; in xfs_dir2_block_getdents() local
180 offset = next_offset) { in xfs_dir2_block_getdents()
189 next_offset = offset + be16_to_cpu(dup->length); in xfs_dir2_block_getdents()
196 next_offset = offset + in xfs_dir2_block_getdents()
/linux-6.1.9/fs/ceph/
Ddir.c112 int len, unsigned next_offset) in note_last_dentry() argument
121 dfi->next_offset = next_offset; in note_last_dentry()
418 req->r_readdir_offset = dfi->next_offset; in ceph_readdir()
442 dfi->next_offset = req->r_readdir_offset; in ceph_readdir()
445 dfi->next_offset, in ceph_readdir()
459 dfi->next_offset == 2) { in ceph_readdir()
477 unsigned next_offset = req->r_reply_info.dir_end ? in ceph_readdir() local
480 next_offset); in ceph_readdir()
487 dfi->next_offset = 2; in ceph_readdir()
541 if (dfi->next_offset > 2) { in ceph_readdir()
[all …]
Dexport.c444 unsigned next_offset = 2; in __get_snap_name() local
476 req->r_readdir_offset = next_offset; in __get_snap_name()
513 next_offset += rinfo->dir_nr; in __get_snap_name()
/linux-6.1.9/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()
1712 u32 watchers_offset, target_offset, next_offset; in compat_copy_entry_to_user() local
1752 next_offset = e->next_offset - (origsize - *size); in compat_copy_entry_to_user()
[all …]
/linux-6.1.9/include/linux/netfilter_ipv6/
Dip6_tables.h42 __u16 next_offset; member
/linux-6.1.9/net/llc/
Dllc_conn.c644 int state, ev_type, next_offset; in llc_build_offset_table() local
648 next_offset = 0; in llc_build_offset_table()
650 llc_offset_table[state][ev_type] = next_offset; in llc_build_offset_table()
651 next_offset += llc_find_next_offset(curr_state, in llc_build_offset_table()
652 next_offset) + 1; in llc_build_offset_table()
/linux-6.1.9/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.1.9/drivers/gpu/drm/tegra/
Dsubmit.c361 u32 next_offset; in submit_job_add_gather() local
374 if (check_add_overflow(*offset, cmd->words, &next_offset)) { in submit_job_add_gather()
379 if (next_offset > bo->gather_data_words) { in submit_job_add_gather()
392 *offset = next_offset; in submit_job_add_gather()
/linux-6.1.9/include/uapi/linux/netfilter_arp/
Darp_tables.h103 __u16 next_offset; member
/linux-6.1.9/include/uapi/linux/netfilter_ipv4/
Dip_tables.h115 __u16 next_offset; member

12