Home
last modified time | relevance | path

Searched refs:validate (Results 1 - 25 of 410) sorted by relevance

12345678910>>...17

/kernel/linux/linux-5.10/net/tipc/
H A Dnetlink.c154 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
159 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
164 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
170 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
175 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
180 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
187 .validate = GENL_DONT_VALIDATE_STRICT |
193 .validate = GENL_DONT_VALIDATE_STRICT,
199 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
204 .validate
[all...]
/kernel/linux/linux-6.6/net/tipc/
H A Dnetlink.c154 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
159 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
164 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
170 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
175 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
180 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
187 .validate = GENL_DONT_VALIDATE_STRICT |
193 .validate = GENL_DONT_VALIDATE_STRICT,
199 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
204 .validate
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/benchs/
H A Dbench_rename.c14 static void validate() in validate() function
116 .validate = validate,
127 .validate = validate,
138 .validate = validate,
149 .validate = validate,
160 .validate
[all...]
H A Dbench_trigger.c112 .validate = trigger_validate,
122 .validate = trigger_validate,
133 .validate = trigger_validate,
144 .validate = trigger_validate,
155 .validate = trigger_validate,
166 .validate = trigger_validate,
177 .validate = trigger_validate,
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/benchs/
H A Dbench_rename.c14 static void validate(void) in validate() function
111 .validate = validate,
121 .validate = validate,
131 .validate = validate,
141 .validate = validate,
151 .validate
[all...]
H A Dbench_local_storage.c71 static void validate(void) in validate() function
254 .validate = validate,
265 .validate = validate,
276 .validate = validate,
H A Dbench_trigger.c201 .validate = trigger_validate,
210 .validate = trigger_validate,
220 .validate = trigger_validate,
230 .validate = trigger_validate,
240 .validate = trigger_validate,
250 .validate = trigger_validate,
260 .validate = trigger_validate,
H A Dbench_bloom_filter_map.c108 static void validate(void) in validate() function
427 .validate = validate,
438 .validate = validate,
449 .validate = validate,
460 .validate = validate,
471 .validate
[all...]
H A Dbench_bpf_hashmap_full_update.c15 static void validate(void) in validate() function
83 .validate = validate,
H A Dbench_bpf_loop.c48 static void validate(void) in validate() function
94 .validate = validate,
/kernel/linux/linux-6.6/net/devlink/
H A Dnetlink.c261 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
283 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
290 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
314 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
320 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
327 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
334 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
340 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
346 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
352 .validate
[all...]
H A Dnetlink_gen.c214 .validate = GENL_DONT_VALIDATE_STRICT,
224 .validate = GENL_DONT_VALIDATE_DUMP,
230 .validate = GENL_DONT_VALIDATE_STRICT,
247 .validate = GENL_DONT_VALIDATE_STRICT,
264 .validate = GENL_DONT_VALIDATE_STRICT,
281 .validate = GENL_DONT_VALIDATE_STRICT,
298 .validate = GENL_DONT_VALIDATE_STRICT,
315 .validate = GENL_DONT_VALIDATE_STRICT,
332 .validate = GENL_DONT_VALIDATE_STRICT,
349 .validate
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/sched/
H A Dcs_prctl_test.c221 #define validate(v) _validate(__LINE__, v, #v) macro
283 validate(get_cs_cookie(0) == 0); in main()
290 validate(get_cs_cookie(0) != 0); in main()
296 validate(get_cs_cookie(0) == get_cs_cookie(pid)); in main()
297 validate(get_cs_cookie(0) == get_cs_cookie(procs[pidx].thr_tids[0])); in main()
304 validate(get_cs_cookie(0) != get_cs_cookie(pid)); in main()
305 validate(get_cs_cookie(pid) != 0); in main()
306 validate(get_cs_cookie(pid) == get_cs_cookie(procs[pidx].thr_tids[0])); in main()
314 validate(get_cs_cookie(0) == get_cs_cookie(pid)); in main()
315 validate(get_cs_cooki in main()
[all...]
/kernel/linux/linux-5.10/lib/
H A Dnlattr.c58 unsigned int validate,
88 unsigned int validate, unsigned int depth) in nla_validate_array()
106 maxtype, policy, validate, extack, in nla_validate_array()
166 unsigned int validate) in nla_validate_range_unsigned()
198 if (validate & NL_VALIDATE_STRICT_ATTRS) { in nla_validate_range_unsigned()
204 /* this assumes min <= max (don't validate against min) */ in nla_validate_range_unsigned()
306 unsigned int validate) in nla_validate_int_range()
315 return nla_validate_range_unsigned(pt, nla, extack, validate); in nla_validate_int_range()
359 const struct nla_policy *policy, unsigned int validate, in validate_nla()
368 validate | in validate_nla()
85 nla_validate_array(const struct nlattr *head, int len, int maxtype, const struct nla_policy *policy, struct netlink_ext_ack *extack, unsigned int validate, unsigned int depth) nla_validate_array() argument
163 nla_validate_range_unsigned(const struct nla_policy *pt, const struct nlattr *nla, struct netlink_ext_ack *extack, unsigned int validate) nla_validate_range_unsigned() argument
303 nla_validate_int_range(const struct nla_policy *pt, const struct nlattr *nla, struct netlink_ext_ack *extack, unsigned int validate) nla_validate_int_range() argument
358 validate_nla(const struct nlattr *nla, int maxtype, const struct nla_policy *policy, unsigned int validate, struct netlink_ext_ack *extack, unsigned int depth) validate_nla() argument
560 __nla_validate_parse(const struct nlattr *head, int len, int maxtype, const struct nla_policy *policy, unsigned int validate, struct netlink_ext_ack *extack, struct nlattr **tb, unsigned int depth) __nla_validate_parse() argument
629 __nla_validate(const struct nlattr *head, int len, int maxtype, const struct nla_policy *policy, unsigned int validate, struct netlink_ext_ack *extack) __nla_validate() argument
683 __nla_parse(struct nlattr **tb, int maxtype, const struct nlattr *head, int len, const struct nla_policy *policy, unsigned int validate, struct netlink_ext_ack *extack) __nla_parse() argument
[all...]
/kernel/linux/linux-6.6/lib/
H A Dnlattr.c62 unsigned int validate,
92 unsigned int validate, unsigned int depth) in nla_validate_array()
110 maxtype, policy, validate, extack, in nla_validate_array()
172 unsigned int validate) in nla_validate_range_unsigned()
212 if (validate & NL_VALIDATE_STRICT_ATTRS) { in nla_validate_range_unsigned()
218 /* this assumes min <= max (don't validate against min) */ in nla_validate_range_unsigned()
320 unsigned int validate) in nla_validate_int_range()
331 return nla_validate_range_unsigned(pt, nla, extack, validate); in nla_validate_int_range()
381 const struct nla_policy *policy, unsigned int validate, in validate_nla()
390 validate | in validate_nla()
89 nla_validate_array(const struct nlattr *head, int len, int maxtype, const struct nla_policy *policy, struct netlink_ext_ack *extack, unsigned int validate, unsigned int depth) nla_validate_array() argument
169 nla_validate_range_unsigned(const struct nla_policy *pt, const struct nlattr *nla, struct netlink_ext_ack *extack, unsigned int validate) nla_validate_range_unsigned() argument
317 nla_validate_int_range(const struct nla_policy *pt, const struct nlattr *nla, struct netlink_ext_ack *extack, unsigned int validate) nla_validate_int_range() argument
380 validate_nla(const struct nlattr *nla, int maxtype, const struct nla_policy *policy, unsigned int validate, struct netlink_ext_ack *extack, unsigned int depth) validate_nla() argument
582 __nla_validate_parse(const struct nlattr *head, int len, int maxtype, const struct nla_policy *policy, unsigned int validate, struct netlink_ext_ack *extack, struct nlattr **tb, unsigned int depth) __nla_validate_parse() argument
651 __nla_validate(const struct nlattr *head, int len, int maxtype, const struct nla_policy *policy, unsigned int validate, struct netlink_ext_ack *extack) __nla_validate() argument
705 __nla_parse(struct nlattr **tb, int maxtype, const struct nlattr *head, int len, const struct nla_policy *policy, unsigned int validate, struct netlink_ext_ack *extack) __nla_parse() argument
[all...]
H A Dcmdline.c109 bool validate = (nints == 0); in get_options() local
112 while (i < nints || validate) { in get_options()
113 int *pint = validate ? ints : ints + i; in get_options()
119 int n = validate ? 0 : nints - i; in get_options()
/kernel/linux/linux-5.10/sound/usb/
H A Dclock.c268 unsigned long *visited, bool validate) in __uac_clock_find_source()
287 if (validate && !uac_clock_source_is_valid(chip, fmt, in __uac_clock_find_source()
320 visited, validate); in __uac_clock_find_source()
333 if (!validate || ret > 0 || !chip->autoclock) in __uac_clock_find_source()
365 visited, validate); in __uac_clock_find_source()
372 unsigned long *visited, bool validate) in __uac3_clock_find_source()
391 if (validate && !uac_clock_source_is_valid(chip, fmt, in __uac3_clock_find_source()
424 visited, validate); in __uac3_clock_find_source()
431 if (!validate || ret > 0 || !chip->autoclock) in __uac3_clock_find_source()
466 visited, validate); in __uac3_clock_find_source()
266 __uac_clock_find_source(struct snd_usb_audio *chip, struct audioformat *fmt, int entity_id, unsigned long *visited, bool validate) __uac_clock_find_source() argument
370 __uac3_clock_find_source(struct snd_usb_audio *chip, struct audioformat *fmt, int entity_id, unsigned long *visited, bool validate) __uac3_clock_find_source() argument
482 snd_usb_clock_find_source(struct snd_usb_audio *chip, struct audioformat *fmt, bool validate) snd_usb_clock_find_source() argument
[all...]
/kernel/linux/linux-5.10/net/ipv6/ila/
H A Dila_main.c19 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
25 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
31 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
37 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
/kernel/linux/linux-6.6/net/ipv6/ila/
H A Dila_main.c18 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
24 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
30 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
36 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
/kernel/linux/linux-5.10/fs/ocfs2/
H A Dbuffer_head_io.h24 * If not NULL, validate() will be called on a buffer that is freshly
26 * Note that if validate() is being used for this buffer, it needs to
32 int (*validate)(struct super_block *sb,
43 int (*validate)(struct super_block *sb, in ocfs2_read_block()
54 status = ocfs2_read_blocks(ci, off, 1, bh, 0, validate); in ocfs2_read_block()
H A Dextent_map.h55 int (*validate)(struct super_block *sb,
64 int (*validate)(struct super_block *sb, in ocfs2_read_virt_block()
75 status = ocfs2_read_virt_blocks(inode, v_block, 1, bh, 0, validate); in ocfs2_read_virt_block()
/kernel/linux/linux-6.6/fs/ocfs2/
H A Dbuffer_head_io.h22 * If not NULL, validate() will be called on a buffer that is freshly
24 * Note that if validate() is being used for this buffer, it needs to
30 int (*validate)(struct super_block *sb,
41 int (*validate)(struct super_block *sb, in ocfs2_read_block()
52 status = ocfs2_read_blocks(ci, off, 1, bh, 0, validate); in ocfs2_read_block()
/kernel/linux/linux-6.6/net/ipv4/
H A Dfou_nl.c32 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
38 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
44 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/dml/
H A Ddisplay_mode_lib.c45 .validate = dml20_ModeSupportAndSystemConfigurationFull,
52 .validate = dml20v2_ModeSupportAndSystemConfigurationFull,
59 .validate = dml21_ModeSupportAndSystemConfigurationFull,
66 .validate = dml30_ModeSupportAndSystemConfigurationFull,
73 .validate = dml31_ModeSupportAndSystemConfigurationFull,
80 .validate = dml314_ModeSupportAndSystemConfigurationFull,
87 .validate = dml32_ModeSupportAndSystemConfigurationFull,
/kernel/linux/linux-6.6/tools/lib/bpf/
H A Drelo_core.c682 bool *validate) in bpf_core_calc_field_relo()
725 if (validate) in bpf_core_calc_field_relo()
726 *validate = true; in bpf_core_calc_field_relo()
763 if (validate) in bpf_core_calc_field_relo()
764 *validate = !bitfield; in bpf_core_calc_field_relo()
780 if (validate) in bpf_core_calc_field_relo()
781 *validate = true; /* signedness is never ambiguous */ in bpf_core_calc_field_relo()
792 if (validate) in bpf_core_calc_field_relo()
793 *validate = true; /* right shift is never ambiguous */ in bpf_core_calc_field_relo()
805 __u64 *val, bool *validate) in bpf_core_calc_type_relo()
678 bpf_core_calc_field_relo(const char *prog_name, const struct bpf_core_relo *relo, const struct bpf_core_spec *spec, __u64 *val, __u32 *field_sz, __u32 *type_id, bool *validate) bpf_core_calc_field_relo() argument
803 bpf_core_calc_type_relo(const struct bpf_core_relo *relo, const struct bpf_core_spec *spec, __u64 *val, bool *validate) bpf_core_calc_type_relo() argument
[all...]

Completed in 12 milliseconds

12345678910>>...17