/kernel/linux/linux-6.6/include/linux/ |
H A D | export.h | 45 #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 D | license.h | 5 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 D | pm.h | 377 #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 D | license.h | 5 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 D | test_stub.c | 26 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 D | syscall.c | 10 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 D | raw_tp_writable_test_run.c | 21 .license = "GPL v2", in test_raw_tp_writable_test_run() 39 .license = "GPL v2", in test_raw_tp_writable_test_run()
|
H A D | fexit_stress.c | 25 .license = "GPL", in test_fexit_stress() 38 .license = "GPL", in test_fexit_stress()
|
H A D | raw_tp_writable_reject_nbd_invalid.c | 23 .license = "GPL v2", in test_raw_tp_writable_reject_nbd_invalid()
|
/kernel/linux/linux-6.6/rust/macros/ |
H A D | module.rs | 95 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 D | empty.c | 3 license(GPL);
|
H A D | hello.c | 9 license(GPL);
|
H A D | 5sec.c | 51 license(GPL);
|
H A D | sys_enter_openat.c | 33 license(GPL);
|
H A D | etcsnoop.c | 76 license(GPL);
|
/kernel/linux/linux-6.6/samples/rust/ |
H A D | rust_minimal.rs | 12 license: "GPL",
|
H A D | rust_print.rs | 13 license: "GPL",
|
/kernel/linux/linux-5.10/tools/lib/bpf/ |
H A D | bpf.h | 80 const char *license; member 110 const char *license, __u32 kern_version, 115 const char *license, __u32 kern_version,
|
H A D | bpf.c | 248 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 D | bpf_load.c | 32 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 D | test-bpf.c | 30 attr.license = 0; in main()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | testing_helpers.h | 17 size_t insns_cnt, const char *license,
|
/kernel/linux/linux-6.6/tools/build/feature/ |
H A D | test-bpf.c | 36 attr.license = 0; in main()
|
/kernel/linux/linux-6.6/drivers/media/i2c/ccs/ |
H A D | ccs-data.c | 769 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 D | module.c | 47 #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...] |