Searched refs:size_default (Results 1 – 4 of 4) sorted by relevance
1243 const int size_default = sizeof(__u32); in cgroup_dev_is_valid_access() local1256 bpf_ctx_record_field_size(info, size_default); in cgroup_dev_is_valid_access()1261 if (size != size_default) in cgroup_dev_is_valid_access()1823 const int size_default = sizeof(__u32); in sysctl_is_valid_access() local1839 return size == size_default; in sysctl_is_valid_access()1967 const int size_default = sizeof(__u32); in cg_sockopt_is_valid_access() local1978 if (size != size_default) in cg_sockopt_is_valid_access()1985 if (size != size_default) in cg_sockopt_is_valid_access()1990 return size == size_default; in cg_sockopt_is_valid_access()2013 if (size != size_default) in cg_sockopt_is_valid_access()[all …]
12397 u32 target_size, size_default, off; in convert_ctx_accesses() local12511 size_default = bpf_ctx_off_adjust_machine(ctx_field_size); in convert_ctx_accesses()12527 insn->off = off & ~(size_default - 1); in convert_ctx_accesses()12542 off, size, size_default) * 8; in convert_ctx_accesses()
851 bpf_ctx_narrow_access_ok(u32 off, u32 size, u32 size_default) in bpf_ctx_narrow_access_ok() argument853 return size <= size_default && (size & (size - 1)) == 0; in bpf_ctx_narrow_access_ok()857 bpf_ctx_narrow_access_offset(u32 off, u32 size, u32 size_default) in bpf_ctx_narrow_access_offset() argument859 u8 access_off = off & (size_default - 1); in bpf_ctx_narrow_access_offset()864 return size_default - (access_off + size); in bpf_ctx_narrow_access_offset()
7765 if (size != size_default) in bpf_skb_is_valid_access()7789 if (size != size_default) in bpf_skb_is_valid_access()7995 return size == size_default; in bpf_sock_is_valid_access()8288 if (size != size_default) in sock_addr_is_valid_access()8301 if (size != size_default) in sock_addr_is_valid_access()8329 if (size != size_default) in sock_ops_is_valid_access()8360 size_default); in sock_ops_is_valid_access()8362 if (size != size_default) in sock_ops_is_valid_access()8474 if (size != size_default) in flow_dissector_is_valid_access()8479 if (size != size_default) in flow_dissector_is_valid_access()[all …]
Completed in 66 milliseconds