Home
last modified time | relevance | path

Searched refs:validate (Results 1 – 25 of 274) sorted by relevance

1234567891011

/linux/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 = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
[all …]
/linux/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 = validate,
161 .validate = 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 = validate,
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_bpf_loop.c48 static void validate(void) in validate() function
94 .validate = validate,
H A Dbench_bpf_hashmap_full_update.c15 static void validate(void) in validate() function
83 .validate = validate,
H A Dbench_local_storage_rcu_tasks_trace.c69 static void validate(void) in validate() function
257 .validate = validate,
H A Dbench_local_storage_create.c72 static void validate(void) in validate() function
252 .validate = validate,
/linux/net/devlink/
H A Dnetlink_gen.c574 .validate = GENL_DONT_VALIDATE_STRICT,
584 .validate = GENL_DONT_VALIDATE_DUMP,
590 .validate = GENL_DONT_VALIDATE_STRICT,
607 .validate = GENL_DONT_VALIDATE_STRICT,
617 .validate = GENL_DONT_VALIDATE_STRICT,
627 .validate = GENL_DONT_VALIDATE_STRICT,
637 .validate = GENL_DONT_VALIDATE_STRICT,
647 .validate = GENL_DONT_VALIDATE_STRICT,
657 .validate = GENL_DONT_VALIDATE_STRICT,
674 .validate = GENL_DONT_VALIDATE_STRICT,
[all …]
/linux/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_cookie(pid) != 0); in main()
[all …]
/linux/lib/
H A Dnlattr.c62 unsigned int validate,
92 unsigned int validate, unsigned int depth) in nla_validate_array() argument
110 maxtype, policy, validate, extack, in nla_validate_array()
173 unsigned int validate) in nla_validate_range_unsigned() argument
216 if (validate & NL_VALIDATE_STRICT_ATTRS) { in nla_validate_range_unsigned()
328 unsigned int validate) in nla_validate_int_range() argument
340 return nla_validate_range_unsigned(pt, nla, extack, validate); in nla_validate_int_range()
394 const struct nla_policy *policy, unsigned int validate, in validate_nla() argument
403 validate |= NL_VALIDATE_STRICT; in validate_nla()
416 if (validate & NL_VALIDATE_STRICT_ATTRS) { in validate_nla()
[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()
/linux/drivers/net/team/
H A Dteam_nl.c38 .validate = GENL_DONT_VALIDATE_STRICT,
43 .validate = GENL_DONT_VALIDATE_STRICT,
49 .validate = GENL_DONT_VALIDATE_STRICT,
55 .validate = GENL_DONT_VALIDATE_STRICT,
/linux/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,
/linux/fs/ocfs2/
H A Dbuffer_head_io.h30 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()
H A Dextent_map.h53 int (*validate)(struct super_block *sb,
62 int (*validate)(struct super_block *sb, in ocfs2_read_virt_block()
73 status = ocfs2_read_virt_blocks(inode, v_block, 1, bh, 0, validate); in ocfs2_read_virt_block()
/linux/net/batman-adv/
H A Dnetlink.c1363 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
1370 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
1377 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
1384 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
1390 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
1399 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
1405 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
1411 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
1417 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
1423 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
[all …]
/linux/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,
/linux/sound/usb/
H A Dclock.c290 unsigned long *visited, bool validate) in __uac_clock_find_source()
314 if (validate && !uac_clock_source_is_valid(chip, fmt, in __uac_clock_find_source()
377 visited, validate); in __uac_clock_find_source()
396 if (!validate || ret > 0 || !chip->autoclock) in __uac_clock_find_source()
432 visited, validate); in snd_usb_clock_find_source()
449 const struct audioformat *fmt, bool validate) in set_sample_rate_v1()
458 validate); in set_sample_rate_v1()
551 * This function gets called from format.c to validate each sample rate, too. in snd_usb_set_sample_rate_v2v3()
655 /* validate clock after rate change */ in snd_usb_init_sample_rate()
268 __uac_clock_find_source(struct snd_usb_audio * chip,const struct audioformat * fmt,int entity_id,unsigned long * visited,bool validate) __uac_clock_find_source() argument
427 snd_usb_clock_find_source(struct snd_usb_audio * chip,const struct audioformat * fmt,bool validate) snd_usb_clock_find_source() argument
/linux/include/linux/
H A Dirqchip.h77 #define IRQCHIP_ACPI_DECLARE(name, subtable, validate, data, fn) \ argument
80 validate, data, fn)
/linux/drivers/thermal/
H A Dthermal_netlink.c859 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
864 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
869 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
874 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
879 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
884 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
889 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
894 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
899 .validate = GENL_DONT_VALIDATE_STRICT | GENL_DONT_VALIDATE_DUMP,
/linux/Documentation/networking/
H A Dseg6-sysctl.rst23 * 0 - Accept SR packets without HMAC, validate SR packets with HMAC
24 * 1 - Drop SR packets without HMAC, validate SR packets with HMAC
/linux/arch/x86/coco/sev/
H A Dshared.c1246 static void svsm_pval_4k_page(unsigned long paddr, bool validate) in svsm_pval_4k_page() argument
1268 pc->entry[0].action = validate; in svsm_pval_4k_page()
1283 static void pvalidate_4k_page(unsigned long vaddr, unsigned long paddr, bool validate) in pvalidate_4k_page() argument
1292 svsm_pval_4k_page(paddr, validate); in pvalidate_4k_page()
1294 ret = pvalidate(vaddr, RMP_PG_SIZE_4K, validate); in pvalidate_4k_page()
1296 __pval_terminate(PHYS_PFN(paddr), validate, RMP_PG_SIZE_4K, ret, 0); in pvalidate_4k_page()
1306 bool validate; in pval_pages() local
1316 validate = e->operation == SNP_PAGE_STATE_PRIVATE; in pval_pages()
1318 rc = pvalidate(vaddr, size, validate); in pval_pages()
1326 rc = pvalidate(vaddr, RMP_PG_SIZE_4K, validate); in pval_pages()
[all …]
/linux/drivers/thunderbolt/
H A Dnvm.c39 int (*validate)(struct tb_nvm *nvm); member
156 .validate = intel_switch_nvm_validate,
269 .validate = intel_retimer_nvm_validate,
397 return vops->validate ? vops->validate(nvm) : 0; in tb_nvm_validate()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_qdisc.c281 struct mlxsw_sp_qdisc_tree_validate validate);
285 struct mlxsw_sp_qdisc_tree_validate validate) in mlxsw_sp_qdisc_tree_validate_children() argument
292 validate); in mlxsw_sp_qdisc_tree_validate_children()
302 struct mlxsw_sp_qdisc_tree_validate validate) in __mlxsw_sp_qdisc_tree_validate() argument
311 if (validate.forbid_red) in __mlxsw_sp_qdisc_tree_validate()
313 validate.forbid_red = true; in __mlxsw_sp_qdisc_tree_validate()
314 validate.forbid_root_tbf = true; in __mlxsw_sp_qdisc_tree_validate()
315 validate.forbid_ets = true; in __mlxsw_sp_qdisc_tree_validate()
318 if (validate.forbid_root_tbf) { in __mlxsw_sp_qdisc_tree_validate()
319 if (validate.forbid_tbf) in __mlxsw_sp_qdisc_tree_validate()
[all …]

1234567891011