Home
last modified time | relevance | path

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

12

/Linux-v5.4/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->paddr + setup->next_offset; in vc4_create_rcl_bo()
/Linux-v5.4/include/linux/netfilter_arp/
Darp_tables.h32 .next_offset = (__size), \
67 __u16 next_offset; member
/Linux-v5.4/include/linux/netfilter_ipv4/
Dip_tables.h45 .next_offset = (__size), \
76 __u16 next_offset; member
/Linux-v5.4/net/ipv4/netfilter/
Darp_tables.c179 return (void *)entry + entry->next_offset; in arpt_next_entry()
352 } while (oldpos == pos + e->next_offset); in mark_source_chains()
355 size = e->next_offset; in mark_source_chains()
373 newpos = pos + e->next_offset; in mark_source_chains()
462 (unsigned char *)e + e->next_offset > limit) in check_entry_size_and_hooks()
465 if (e->next_offset in check_entry_size_and_hooks()
473 e->next_offset); in check_entry_size_and_hooks()
683 for (off = 0, num = 0; off < total_size; off += e->next_offset, num++){ in copy_entries_to_user()
1080 (unsigned char *)e + e->next_offset > limit) in check_compat_entry_size_and_hooks()
1083 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()
416 } while (oldpos == pos + e->next_offset); in mark_source_chains()
419 size = e->next_offset; in mark_source_chains()
437 newpos = pos + e->next_offset; in mark_source_chains()
601 (unsigned char *)e + e->next_offset > limit) in check_entry_size_and_hooks()
604 if (e->next_offset in check_entry_size_and_hooks()
612 e->next_offset); in check_entry_size_and_hooks()
830 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-v5.4/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-v5.4/net/ipv6/netfilter/
Dip6_tables.c245 return (void *)entry + entry->next_offset; in ip6t_next_entry()
434 } while (oldpos == pos + e->next_offset); in mark_source_chains()
437 size = e->next_offset; in mark_source_chains()
455 newpos = pos + e->next_offset; in mark_source_chains()
619 (unsigned char *)e + e->next_offset > limit) in check_entry_size_and_hooks()
622 if (e->next_offset in check_entry_size_and_hooks()
630 e->next_offset); in check_entry_size_and_hooks()
846 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-v5.4/include/uapi/linux/netfilter/
Dx_tables.h155 __i += __entry->next_offset, __n++) { \
177 (pos) = (typeof(pos))((char *)(pos) + (pos)->next_offset))
/Linux-v5.4/include/uapi/linux/netfilter_ipv6/
Dip6_tables.h119 __u16 next_offset; member
145 .next_offset = (__size), \
/Linux-v5.4/fs/ceph/
Ddir.c108 int len, unsigned next_offset) in note_last_dentry() argument
117 dfi->next_offset = next_offset; in note_last_dentry()
409 req->r_readdir_offset = dfi->next_offset; in ceph_readdir()
433 dfi->next_offset = req->r_readdir_offset; in ceph_readdir()
436 dfi->next_offset, in ceph_readdir()
450 dfi->next_offset == 2) { in ceph_readdir()
468 unsigned next_offset = req->r_reply_info.dir_end ? in ceph_readdir() local
471 next_offset); in ceph_readdir()
475 dfi->next_offset = 2; in ceph_readdir()
529 if (dfi->next_offset > 2) { in ceph_readdir()
[all …]
Dexport.c410 unsigned next_offset = 2; in __get_snap_name() local
442 req->r_readdir_offset = next_offset; in __get_snap_name()
479 next_offset += rinfo->dir_nr; in __get_snap_name()
/Linux-v5.4/virt/kvm/arm/vgic/
Dvgic-its.c2028 u32 next_offset; in compute_next_devid_offset() local
2033 next_offset = next->device_id - dev->device_id; in compute_next_devid_offset()
2035 return min_t(u32, next_offset, VITS_DTE_MAX_DEVID_OFFSET); in compute_next_devid_offset()
2041 u32 next_offset; in compute_next_eventid_offset() local
2046 next_offset = next->event_id - ite->event_id; in compute_next_eventid_offset()
2048 return min_t(u32, next_offset, VITS_ITE_MAX_EVENTID_OFFSET); in compute_next_eventid_offset()
2092 int next_offset; in scan_its_table() local
2099 next_offset = fn(its, id, entry, opaque); in scan_its_table()
2100 if (next_offset <= 0) in scan_its_table()
2101 return next_offset; in scan_its_table()
[all …]
/Linux-v5.4/include/uapi/linux/netfilter_bridge/
Debtables.h190 unsigned int next_offset; member
274 __i += __entry->next_offset; \
/Linux-v5.4/include/linux/netfilter_ipv6/
Dip6_tables.h43 __u16 next_offset; member
/Linux-v5.4/drivers/ide/
Dtrm290.c282 static u16 next_offset = 0; in init_hwif_trm290() local
291 compat += (next_offset += 0x400); in init_hwif_trm290()
/Linux-v5.4/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-v5.4/net/bridge/netfilter/
Debtables.c169 return (void *)entry + entry->next_offset; in ebt_next_entry()
471 if (left < e->next_offset) in ebt_verify_pointers()
473 if (e->next_offset < sizeof(struct ebt_entry)) in ebt_verify_pointers()
475 offset += e->next_offset; in ebt_verify_pointers()
533 e->target_offset >= e->next_offset) in ebt_check_entry_size_and_hooks()
537 if (e->next_offset - e->target_offset < sizeof(struct ebt_entry_target)) in ebt_check_entry_size_and_hooks()
708 gap = e->next_offset - e->target_offset; in ebt_check_entry()
789 e->next_offset) in check_chainloops()
1665 u32 watchers_offset, target_offset, next_offset; in compat_copy_entry_to_user() local
1705 next_offset = e->next_offset - (origsize - *size); in compat_copy_entry_to_user()
[all …]
/Linux-v5.4/include/uapi/linux/netfilter_arp/
Darp_tables.h103 __u16 next_offset; member
/Linux-v5.4/include/linux/netfilter/
Dx_tables.h282 unsigned int next_offset);
530 unsigned int next_offset);
/Linux-v5.4/fs/cifs/
Dreaddir.c380 u32 next_offset = le32_to_cpu(pDirInfo->NextEntryOffset); in nxt_dir_entry() local
382 if (old_entry + next_offset < old_entry) { in nxt_dir_entry()
383 cifs_dbg(VFS, "invalid offset %u\n", next_offset); in nxt_dir_entry()
386 new_entry = old_entry + next_offset; in nxt_dir_entry()
/Linux-v5.4/include/uapi/linux/netfilter_ipv4/
Dip_tables.h115 __u16 next_offset; member
/Linux-v5.4/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-v5.4/net/netfilter/
Dx_tables.c803 unsigned int next_offset) in xt_compat_check_entry_offsets() argument
812 if (target_offset + sizeof(*t) > next_offset) in xt_compat_check_entry_offsets()
819 if (target_offset + t->u.target_size > next_offset) in xt_compat_check_entry_offsets()
825 if (COMPAT_XT_ALIGN(target_offset + sizeof(*st)) != next_offset) in xt_compat_check_entry_offsets()
896 unsigned int next_offset) in xt_check_entry_offsets() argument
906 if (target_offset + sizeof(*t) > next_offset) in xt_check_entry_offsets()
913 if (target_offset + t->u.target_size > next_offset) in xt_check_entry_offsets()
919 if (XT_ALIGN(target_offset + sizeof(*st)) != next_offset) in xt_check_entry_offsets()
/Linux-v5.4/fs/btrfs/
Dfile-item.c745 u64 next_offset; in btrfs_csum_file_blocks() local
760 next_offset = (u64)-1; in btrfs_csum_file_blocks()
809 next_offset = found_key.offset; in btrfs_csum_file_blocks()
881 tmp = min(tmp, (next_offset - file_key.offset) >> in btrfs_csum_file_blocks()

12