Home
last modified time | relevance | path

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

123

/linux-6.6.21/virt/kvm/
Ddirty_ring.c107 u64 cur_offset, next_offset; in kvm_dirty_ring_reset() local
123 next_offset = READ_ONCE(entry->offset); in kvm_dirty_ring_reset()
135 s64 delta = next_offset - cur_offset; in kvm_dirty_ring_reset()
145 cur_offset = next_offset; in kvm_dirty_ring_reset()
152 cur_offset = next_offset; in kvm_dirty_ring_reset()
/linux-6.6.21/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.6.21/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.6.21/include/linux/netfilter_arp/
Darp_tables.h32 .next_offset = (__size), \
66 __u16 next_offset; member
/linux-6.6.21/include/linux/netfilter_ipv4/
Dip_tables.h46 .next_offset = (__size), \
77 __u16 next_offset; member
/linux-6.6.21/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.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()
1220 u_int16_t target_offset, next_offset; in compat_copy_entry_to_user() local
1245 next_offset = e->next_offset - (origsize - *size); in compat_copy_entry_to_user()
[all …]
/linux-6.6.21/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.6.21/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()
1236 u_int16_t target_offset, next_offset; in compat_copy_entry_to_user() local
1261 next_offset = e->next_offset - (origsize - *size); in compat_copy_entry_to_user()
[all …]
/linux-6.6.21/fs/btrfs/
Dfile-item.c1010 u64 *next_offset) in find_next_csum_offset() argument
1022 *next_offset = (u64)-1; in find_next_csum_offset()
1032 *next_offset = (u64)-1; in find_next_csum_offset()
1034 *next_offset = found_key.offset; in find_next_csum_offset()
1050 u64 next_offset; in btrfs_csum_file_blocks() local
1064 next_offset = (u64)-1; in btrfs_csum_file_blocks()
1097 ret = find_next_csum_offset(root, path, &next_offset); in btrfs_csum_file_blocks()
1181 ret = find_next_csum_offset(root, path, &next_offset); in btrfs_csum_file_blocks()
1188 ret = find_next_csum_offset(root, path, &next_offset); in btrfs_csum_file_blocks()
1192 tmp = (next_offset - bytenr) >> fs_info->sectorsize_bits; in btrfs_csum_file_blocks()
[all …]
/linux-6.6.21/include/uapi/linux/netfilter/
Dx_tables.h155 __i += __entry->next_offset, __n++) { \
177 (pos) = (typeof(pos))((char *)(pos) + (pos)->next_offset))
/linux-6.6.21/include/uapi/linux/netfilter_ipv6/
Dip6_tables.h119 __u16 next_offset; member
145 .next_offset = (__size), \
/linux-6.6.21/arch/arm64/kvm/vgic/
Dvgic-its.c2118 u32 next_offset; in compute_next_devid_offset() local
2123 next_offset = next->device_id - dev->device_id; in compute_next_devid_offset()
2125 return min_t(u32, next_offset, VITS_DTE_MAX_DEVID_OFFSET); in compute_next_devid_offset()
2131 u32 next_offset; in compute_next_eventid_offset() local
2136 next_offset = next->event_id - ite->event_id; in compute_next_eventid_offset()
2138 return min_t(u32, next_offset, VITS_ITE_MAX_EVENTID_OFFSET); in compute_next_eventid_offset()
2182 int next_offset; in scan_its_table() local
2189 next_offset = fn(its, id, entry, opaque); in scan_its_table()
2190 if (next_offset <= 0) in scan_its_table()
2191 return next_offset; in scan_its_table()
[all …]
/linux-6.6.21/include/uapi/linux/netfilter_bridge/
Debtables.h191 unsigned int next_offset;
276 __i += __entry->next_offset; \
/linux-6.6.21/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.6.21/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.6.21/include/linux/netfilter_ipv6/
Dip6_tables.h42 __u16 next_offset; member
/linux-6.6.21/fs/ceph/
Ddir.c113 int len, unsigned next_offset) in note_last_dentry() argument
122 dfi->next_offset = next_offset; in note_last_dentry()
436 req->r_readdir_offset = dfi->next_offset; in ceph_readdir()
460 dfi->next_offset = req->r_readdir_offset; in ceph_readdir()
463 dfi->next_offset, in ceph_readdir()
477 dfi->next_offset == 2) { in ceph_readdir()
495 unsigned next_offset = req->r_reply_info.dir_end ? in ceph_readdir() local
498 next_offset); in ceph_readdir()
505 dfi->next_offset = 2; in ceph_readdir()
566 if (dfi->next_offset > 2) { in ceph_readdir()
[all …]
/linux-6.6.21/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.6.21/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.6.21/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.6.21/include/uapi/linux/netfilter_arp/
Darp_tables.h103 __u16 next_offset; member
/linux-6.6.21/drivers/pci/hotplug/
Dibmphp_ebda.c234 u16 ebda_seg, num_entries, next_offset, offset, blk_id, sub_addr, re, rc_id, re_id, base; in ibmphp_access_ebda() local
260 next_offset = 0x180; in ibmphp_access_ebda()
263 offset = next_offset; in ibmphp_access_ebda()
270 next_offset = readw(io_mem + offset); /* offset of next blk */ in ibmphp_access_ebda()
273 if (next_offset == 0) /* 0 indicate it's last blk */ in ibmphp_access_ebda()
/linux-6.6.21/include/uapi/linux/netfilter_ipv4/
Dip_tables.h115 __u16 next_offset; member

123