Documented in 2 files:
Defined in 2 files as a prototype:
- include/linux/glob.h, line 8 (as a prototype)
- tools/lib/bpf/libbpf_internal.h, line 747 (as a prototype)
Defined in 4 files as a function:
- lib/glob.c, line 45 (as a function)
- tools/lib/bpf/libbpf.c, line 12047 (as a function)
- tools/testing/selftests/bpf/bpf_arena_strsearch.h, line 43 (as a function)
- tools/testing/selftests/bpf/test_progs.c, line 135 (as a function)
Referenced in 13 files:
- arch/s390/kernel/debug.c, line 192
- drivers/ata/libata-core.c
- drivers/base/soc.c
- kernel/trace/fprobe.c
- kernel/trace/ftrace.c, line 4853
- kernel/trace/trace_probe.c, line 2380
- lib/glob.c, line 49
- lib/kunit/executor.c
- lib/tests/glob_kunit.c, line 107
- tools/lib/bpf/elf.c, line 528
- tools/lib/bpf/libbpf.c
- tools/testing/selftests/bpf/progs/arena_strsearch.c, line 21
- tools/testing/selftests/bpf/test_progs.c
Smatch caller information:
drivers/ata/libata-core.c ata_dev_get_max_sec_quirk_value() -> glob_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pat | 3646747268163624960,5382938665703088128,5596030461875662848,6449606413783494656,8434083967272165376,9126191673499308032 |
| PARAM_VALUE | 1 | str | 6487945733563174912 |
| BUF_SIZE | 1 | str | 41 |
drivers/ata/libata-core.c ata_dev_get_max_sec_quirk_value() -> glob_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pat | 54600658741669888,2069411246801100800,4745254028290686976 |
| PARAM_VALUE | 1 | str | 3874107046747471872 |
| BUF_SIZE | 1 | str | 9 |
drivers/ata/libata-core.c ata_dev_quirks() -> glob_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pat | 1-u64max |
| PARAM_VALUE | 1 | str | 4233661524645617664 |
| BUF_SIZE | 1 | str | 41 |
drivers/ata/libata-core.c ata_dev_quirks() -> glob_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pat | 1-u64max |
| PARAM_VALUE | 1 | str | 1587144662687899648 |
| BUF_SIZE | 1 | str | 9 |
lib/kunit/executor.c kunit_filter_glob_tests() -> glob_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pat | 4096-ptr_max |
| DATA_SOURCE | 0 | pat | $1 |
lib/kunit/executor.c kunit_filter_glob_tests() -> glob_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pat | 4096-ptr_max |
| DATA_SOURCE | 0 | pat | $1 |
lib/kunit/executor.c kunit_filter_suites() -> glob_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pat | 4096-ptr_max |
| BUF_SIZE | 1 | str | 256 |
| CAPPED_DATA | 0 | pat | 1 |
kernel/trace/trace_probe.c traceprobe_expand_dentry_args() -> glob_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pat | 7883206517815508992 |
| BUF_SIZE | 0 | pat | 9 |
| STR_LEN | 0 | pat | 8 |
| TERMINATED | 0 | pat | 1 |
kernel/trace/fprobe.c filter_match_callback() -> glob_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | str | 4096-ptr_max |
| BUF_SIZE | 0 | pat | 23-24,4096 |
| BUF_SIZE | 1 | str | (-1),512 |
| BUF_SIZE | 1 | str | (-1),512 |
| DATA_SOURCE | 1 | str | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &module_mutex |
kernel/trace/fprobe.c filter_match_callback() -> glob_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pat | 1-u64max |
| PARAM_VALUE | 1 | str | 4096-ptr_max |
| BUF_SIZE | 0 | pat | 4096 |
| BUF_SIZE | 1 | str | (-1),512 |
| BUF_SIZE | 1 | str | (-1),512 |
| DATA_SOURCE | 1 | str | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &module_mutex |
kernel/trace/ftrace.c ftrace_match() -> glob_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | str | 1-u64max |
| BUF_SIZE | 1 | str | (-1),666 |
| BUF_SIZE | 1 | str | (-1),666 |
| DATA_SOURCE | 1 | str | $0 [m] |
| PARAM_COMPARE | 1 | str | == $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &probe->ops.func_hash->regex_lock |
drivers/base/soc.c soc_device_match_attr() -> glob_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pat | 1-u64max |
| PARAM_VALUE | 1 | str | 1-u64max |
| BUF_SIZE | 0 | pat | 9,11 |
| BUF_SIZE | 1 | str | 9,11 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/base/soc.c soc_device_match_attr() -> glob_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pat | 1-u64max |
| PARAM_VALUE | 1 | str | 1-u64max |
| BUF_SIZE | 0 | pat | 6,9-11,13-17 |
| BUF_SIZE | 1 | str | 6,9-11,13-17 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/base/soc.c soc_device_match_attr() -> glob_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pat | 1-u64max |
| PARAM_VALUE | 1 | str | 1-u64max |
| BUF_SIZE | 0 | pat | 6,8 |
| BUF_SIZE | 1 | str | 6,8 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/base/soc.c soc_device_match_attr() -> glob_match()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pat | 1-u64max |
| PARAM_VALUE | 1 | str | 1-u64max |
| BUF_SIZE | 0 | pat | 8,11 |
| BUF_SIZE | 1 | str | 8,11 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
lib/tests/glob_kunit.c glob_test_match() -> glob_match()
| Type | Parameter | Key | Value |
|---|