Home
last modified time | relevance | path

Searched refs:license (Results 1 - 25 of 192) sorted by relevance

12345678

/kernel/linux/linux-6.6/include/linux/
H A Dexport.h45 #define ___EXPORT_SYMBOL(sym, license, ns) \
48 .asciz license ASM_NL \
60 #define __EXPORT_SYMBOL(sym, license, ns)
64 #define __EXPORT_SYMBOL(sym, license, ns) __GENKSYMS_EXPORT_SYMBOL(sym)
68 #define __EXPORT_SYMBOL(sym, license, ns) \
69 ___EXPORT_SYMBOL(sym, license, ns)
73 #define __EXPORT_SYMBOL(sym, license, ns) \
76 asm(__stringify(___EXPORT_SYMBOL(sym, license, ns)))
81 #define _EXPORT_SYMBOL(sym, license) __EXPORT_SYMBOL(sym, license, __stringif
[all...]
H A Dlicense.h5 static inline int license_is_gpl_compatible(const char *license) in license_is_gpl_compatible() argument
7 return (strcmp(license, "GPL") == 0 in license_is_gpl_compatible()
8 || strcmp(license, "GPL v2") == 0 in license_is_gpl_compatible()
9 || strcmp(license, "GPL and additional rights") == 0 in license_is_gpl_compatible()
10 || strcmp(license, "Dual BSD/GPL") == 0 in license_is_gpl_compatible()
11 || strcmp(license, "Dual MIT/GPL") == 0 in license_is_gpl_compatible()
12 || strcmp(license, "Dual MPL/GPL") == 0); in license_is_gpl_compatible()
H A Dpm.h377 #define _EXPORT_PM_OPS(name, license, ns) \
379 __EXPORT_SYMBOL(name, license, ns); \
382 #define _DISCARD_PM_OPS(name, license, ns) \
386 #define _EXPORT_DEV_PM_OPS(name, license, ns) _EXPORT_PM_OPS(name, license, ns)
390 #define _EXPORT_DEV_PM_OPS(name, license, ns) _DISCARD_PM_OPS(name, license, ns)
396 #define _EXPORT_DEV_SLEEP_PM_OPS(name, license, ns) _EXPORT_PM_OPS(name, license, ns)
398 #define _EXPORT_DEV_SLEEP_PM_OPS(name, license, n
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dlicense.h5 static inline int license_is_gpl_compatible(const char *license) in license_is_gpl_compatible() argument
7 return (strcmp(license, "GPL") == 0 in license_is_gpl_compatible()
8 || strcmp(license, "GPL v2") == 0 in license_is_gpl_compatible()
9 || strcmp(license, "GPL and additional rights") == 0 in license_is_gpl_compatible()
10 || strcmp(license, "Dual BSD/GPL") == 0 in license_is_gpl_compatible()
11 || strcmp(license, "Dual MIT/GPL") == 0 in license_is_gpl_compatible()
12 || strcmp(license, "Dual MPL/GPL") == 0); in license_is_gpl_compatible()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
H A Dtest_stub.c26 size_t insns_cnt, const char *license, in bpf_test_load_program()
38 load_attr.license = license; in bpf_test_load_program()
25 bpf_test_load_program(enum bpf_prog_type type, const struct bpf_insn *insns, size_t insns_cnt, const char *license, __u32 kern_version, char *log_buf, size_t log_buf_sz) bpf_test_load_program() argument
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dsyscall.c10 char _license[] SEC("license") = "GPL";
63 static char license[] = "GPL"; in bpf_prog() local
97 prog_load_attr.license = (long) license; in bpf_prog()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
H A Draw_tp_writable_test_run.c21 .license = "GPL v2", in test_raw_tp_writable_test_run()
39 .license = "GPL v2", in test_raw_tp_writable_test_run()
H A Dfexit_stress.c25 .license = "GPL", in test_fexit_stress()
38 .license = "GPL", in test_fexit_stress()
H A Draw_tp_writable_reject_nbd_invalid.c23 .license = "GPL v2", in test_raw_tp_writable_reject_nbd_invalid()
/kernel/linux/linux-6.6/rust/macros/
H A Dmodule.rs95 license: String,
107 &["type", "name", "author", "description", "license", "alias"]; in parse()
108 const REQUIRED_KEYS: &[&str] = &["type", "name", "license"]; in parse()
132 "license" => info.license = expect_string_ascii(it), in parse()
183 modinfo.emit("license", &info.license);
/kernel/linux/linux-5.10/tools/perf/examples/bpf/
H A Dempty.c3 license(GPL);
H A Dhello.c9 license(GPL);
H A D5sec.c51 license(GPL);
H A Dsys_enter_openat.c33 license(GPL);
H A Detcsnoop.c76 license(GPL);
/kernel/linux/linux-6.6/samples/rust/
H A Drust_minimal.rs12 license: "GPL",
H A Drust_print.rs13 license: "GPL",
/kernel/linux/linux-5.10/tools/lib/bpf/
H A Dbpf.h80 const char *license; member
110 const char *license, __u32 kern_version,
115 const char *license, __u32 kern_version,
H A Dbpf.c248 attr.license = ptr_to_u64(load_attr->license); in bpf_load_program_xattr()
330 size_t insns_cnt, const char *license, in bpf_load_program()
342 load_attr.license = license; in bpf_load_program()
349 size_t insns_cnt, __u32 prog_flags, const char *license, in bpf_verify_program()
359 attr.license = ptr_to_u64(license); in bpf_verify_program()
329 bpf_load_program(enum bpf_prog_type type, const struct bpf_insn *insns, size_t insns_cnt, const char *license, __u32 kern_version, char *log_buf, size_t log_buf_sz) bpf_load_program() argument
348 bpf_verify_program(enum bpf_prog_type type, const struct bpf_insn *insns, size_t insns_cnt, __u32 prog_flags, const char *license, __u32 kern_version, char *log_buf, size_t log_buf_sz, int log_level) bpf_verify_program() argument
/kernel/linux/linux-5.10/samples/bpf/
H A Dbpf_load.c32 static char license[128]; variable
131 fd = bpf_load_program(prog_type, prog, insns_cnt, license, kern_version, in load_and_attach()
520 memset(license, 0, sizeof(license)); in do_load_bpf_file()
541 /* scan over all elf sections to get license and map info */ in do_load_bpf_file()
552 if (strcmp(shname, "license") == 0) { in do_load_bpf_file()
554 memcpy(license, data->d_buf, data->d_size); in do_load_bpf_file()
/kernel/linux/linux-5.10/tools/build/feature/
H A Dtest-bpf.c30 attr.license = 0; in main()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Dtesting_helpers.h17 size_t insns_cnt, const char *license,
/kernel/linux/linux-6.6/tools/build/feature/
H A Dtest-bpf.c36 attr.license = 0; in main()
/kernel/linux/linux-6.6/drivers/media/i2c/ccs/
H A Dccs-data.c769 char *license; in ccs_data_parse_license() local
776 license = bin_alloc(bin, size); in ccs_data_parse_license()
777 if (!license) in ccs_data_parse_license()
780 memcpy(license, payload, size); in ccs_data_parse_license()
782 *__license = license; in ccs_data_parse_license()
910 rval = ccs_data_parse_license(bin, &ccsdata->license, in __ccs_data_parse()
/kernel/linux/linux-5.10/kernel/
H A Dmodule.c47 #include <linux/license.h>
504 enum mod_license license; member
514 if (syms->license == GPL_ONLY) in check_exported_symbol()
516 if (syms->license == WILL_BE_GPL_ONLY && fsa->warn) { in check_exported_symbol()
538 fsa->license = syms->license; in check_exported_symbol()
598 enum mod_license *license, in find_symbol()
613 if (license) in find_symbol()
614 *license = fsa.license; in find_symbol()
595 find_symbol(const char *name, struct module **owner, const s32 **crc, enum mod_license *license, bool gplok, bool warn) find_symbol() argument
1468 enum mod_license license; resolve_symbol() local
2276 enum mod_license license; __symbol_get() local
2579 set_license(struct module *mod, const char *license) set_license() argument
[all...]

Completed in 13 milliseconds

12345678