| /kernel/linux/linux-6.6/tools/verification/dot2/ |
| D | dot2c.py | 40 buff.append("\t%s%s = 0," % (self.initial_state, self.enum_suffix)) 43 buff.append("\t%s%s," % (state, self.enum_suffix)) 44 buff.append("\tstate_max%s" % (self.enum_suffix)) 54 buff.append("enum %s {" % self.enum_states_def) 55 buff.append(self.get_enum_states_string()) 56 buff.append("};\n") 65 buff.append("\t%s%s = 0," % (event, self.enum_suffix)) 68 buff.append("\t%s%s," % (event, self.enum_suffix)) 70 buff.append("\tevent_max%s" % self.enum_suffix) 80 buff.append("enum %s {" % self.enum_events_def) [all …]
|
| D | dot2k.py | 75 buff.append("static void handle_%s(void *data, /* XXX: fill header */)" % event) 76 buff.append("{") 78 buff.append("\tstruct task_struct *p = /* XXX: how do I get p? */;"); 79 … buff.append("\tda_handle_event_%s(p, %s%s);" % (self.name, event, self.enum_suffix)); 81 buff.append("\tda_handle_event_%s(%s%s);" % (self.name, event, self.enum_suffix)); 82 buff.append("}") 83 buff.append("") 89 …buff.append("\trv_attach_trace_probe(\"%s\", /* XXX: tracepoint */, handle_%s);" % (self.name, eve… 95 …buff.append("\trv_detach_trace_probe(\"%s\", /* XXX: tracepoint */, handle_%s);" % (self.name, eve… 117 buff.append("/*") [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/hid/tests/ |
| D | test_keyboard.py | 163 array.append(k) 271 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_A, 1)) 279 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_A, 0)) 292 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_A, 1)) 293 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_Q, 1)) 301 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_A, 0)) 302 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_Q, 0)) 311 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_C, 1)) 319 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_SPACE, 1)) 329 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_C, 0)) [all …]
|
| D | test_apple_keyboard.py | 172 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_ALL_APPLICATIONS, 1)) 181 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_ALL_APPLICATIONS, 0)) 196 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_F4, 1)) 197 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_FN, 1)) 205 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_F4, 0)) 214 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_FN, 0)) 228 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_F4, 1)) 229 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_FN, 1)) 237 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_FN, 0)) 244 expected.append(libevdev.InputEvent(libevdev.EV_KEY.KEY_F4, 0)) [all …]
|
| D | test_mouse.py | 337 rs.append(r) 340 rs.append(r) 705 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_WHEEL, 1)) 707 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_WHEEL_HI_RES, 120)) 714 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_WHEEL, -1)) 716 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_WHEEL_HI_RES, -120)) 723 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_X, -1)) 724 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_Y, 2)) 725 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_WHEEL, 3)) 727 expected.append(libevdev.InputEvent(libevdev.EV_REL.REL_WHEEL_HI_RES, 360)) [all …]
|
| /kernel/linux/linux-5.10/tools/perf/scripts/python/ |
| D | netdev-times.py | 16 sys.path.append(os.environ['PERF_EXEC_PATH'] + \ 236 all_event_list.append(event_info) 242 all_event_list.append(event_info) 248 all_event_list.append(event_info) 254 all_event_list.append(event_info) 258 all_event_list.append(event_info) 264 all_event_list.append(event_info) 270 all_event_list.append(event_info) 276 all_event_list.append(event_info) 282 all_event_list.append(event_info) [all …]
|
| D | mem-phys-addr.py | 16 sys.path.append(os.environ['PERF_EXEC_PATH'] + \ 36 system_ram.append(int(m[0], 16)) 37 system_ram.append(int(m[1], 16)) 39 pmem.append(int(m[0], 16)) 40 pmem.append(int(m[1], 16))
|
| /kernel/linux/linux-6.6/tools/perf/scripts/python/ |
| D | netdev-times.py | 16 sys.path.append(os.environ['PERF_EXEC_PATH'] + \ 236 all_event_list.append(event_info) 242 all_event_list.append(event_info) 248 all_event_list.append(event_info) 254 all_event_list.append(event_info) 258 all_event_list.append(event_info) 264 all_event_list.append(event_info) 270 all_event_list.append(event_info) 276 all_event_list.append(event_info) 282 all_event_list.append(event_info) [all …]
|
| D | mem-phys-addr.py | 16 sys.path.append(os.environ['PERF_EXEC_PATH'] + \ 36 system_ram.append(int(m[0], 16)) 37 system_ram.append(int(m[1], 16)) 39 pmem.append(int(m[0], 16)) 40 pmem.append(int(m[1], 16))
|
| /kernel/linux/linux-5.10/include/linux/soc/mediatek/ |
| D | mtk-cmdq.h | 84 * cmdq_pkt_write() - append write command to the CMDQ packet 95 * cmdq_pkt_write_mask() - append write command with mask to the CMDQ packet 108 * cmdq_pkt_read_s() - append read_s command to the CMDQ packet 120 * cmdq_pkt_write_s() - append write_s command to the CMDQ packet 137 * cmdq_pkt_write_s_mask() - append write_s with mask command to the CMDQ packet 155 * cmdq_pkt_write_s_value() - append write_s command to the CMDQ packet which 168 * cmdq_pkt_write_s_mask_value() - append write_s command with mask to the CMDQ 183 * cmdq_pkt_wfe() - append wait for event command to the CMDQ packet 193 * cmdq_pkt_clear_event() - append clear event command to the CMDQ packet 202 * cmdq_pkt_set_event() - append set event command to the CMDQ packet [all …]
|
| /kernel/linux/linux-6.6/drivers/comedi/drivers/ni_routing/tools/ |
| D | convert_csv_to_c.py | 45 lines.append('\t\t[B({})] = {{'.format(D0_sig)) 52 lines.append('\t\t\t[B({})]\t= {},'.format(D1_sig, value)) 53 lines.append('\t\t},') 54 lines.append('\t},') 98 lines.append('{I1}{{\n{I2}.{keyname} = {D0_sig},\n' 103 lines.append( '{I3}{D1_sig},'.format(D1_sig=D1_sig, **indents) ) 104 lines.append( '{I3}0, /* Termination */'.format(**indents) ) 106 lines.append('{I2}}}\n{I1}}},'.format(**indents)) 108 lines.append('{I1}{{ /* Termination of list */\n{I2}.{keyname} = 0,\n{I1}}},' 111 lines.append('{I0}}},'.format(**indents)) [all …]
|
| /kernel/linux/linux-6.6/include/linux/soc/mediatek/ |
| D | mtk-cmdq.h | 78 * cmdq_pkt_write() - append write command to the CMDQ packet 89 * cmdq_pkt_write_mask() - append write command with mask to the CMDQ packet 102 * cmdq_pkt_read_s() - append read_s command to the CMDQ packet 114 * cmdq_pkt_write_s() - append write_s command to the CMDQ packet 131 * cmdq_pkt_write_s_mask() - append write_s with mask command to the CMDQ packet 149 * cmdq_pkt_write_s_value() - append write_s command to the CMDQ packet which 162 * cmdq_pkt_write_s_mask_value() - append write_s command with mask to the CMDQ 177 * cmdq_pkt_wfe() - append wait for event command to the CMDQ packet 187 * cmdq_pkt_clear_event() - append clear event command to the CMDQ packet 196 * cmdq_pkt_set_event() - append set event command to the CMDQ packet [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/comedi/drivers/ni_routing/tools/ |
| D | convert_csv_to_c.py | 46 lines.append('\t\t[B({})] = {{'.format(D0_sig)) 53 lines.append('\t\t\t[B({})]\t= {},'.format(D1_sig, value)) 54 lines.append('\t\t},') 55 lines.append('\t},') 99 lines.append('{I1}{{\n{I2}.{keyname} = {D0_sig},\n' 104 lines.append( '{I3}{D1_sig},'.format(D1_sig=D1_sig, **indents) ) 105 lines.append( '{I3}0, /* Termination */'.format(**indents) ) 107 lines.append('{I2}}}\n{I1}}},'.format(**indents)) 109 lines.append('{I1}{{ /* Termination of list */\n{I2}.{keyname} = 0,\n{I1}}},' 112 lines.append('{I0}}},'.format(**indents)) [all …]
|
| /kernel/linux/linux-6.6/tools/testing/scatterlist/ |
| D | main.c | 88 struct sg_append_table append = {}; in main() local 96 &append, pages, test->num_pages, 0, test->size, in main() 100 &append.sgt, pages, test->num_pages, 0, in main() 111 &append, pages, test->num_pages, 0, test->size, in main() 117 VALIDATE(append.sgt.nents == test->expected_segments, in main() 118 &append.sgt, test); in main() 120 VALIDATE(append.sgt.orig_nents == in main() 122 &append.sgt, test); in main() 125 sg_free_append_table(&append); in main() 127 sg_free_table(&append.sgt); in main()
|
| /kernel/liteos_m/tools/ |
| D | mem_analysis.py | 85 target_list.append('{:<10s}'.format(values.get('offsets'))) 86 target_list.append('{:<30s}'.format(values.get('section'))) 87 target_list.append('{:<10}'.format(values.get('sizeH'))) 88 target_list.append('{:<10}'.format(values.get('sizeD'))) 89 …target_list.append('{:<55s}{:<55s}{:<55s}'.format(values.get('symbol'), values.get('lib'), values.… 90 target_list.append("\r") 164 target_list.append('{:<15s}{:<15s}'.format("node", "size")) 169 … target_list.append('{:<15s}{:<55s}{:<55s}'.format(addr_name, symbol_name, object_name)) 173 target_list.append("\r") 174 target_list.append('{:<15s}{:<15}'.format(values.get('symbol'), values.get('lib'))) [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/nolibc/ |
| D | Makefile | 92 QEMU_ARGS_i386 = -M pc -append "console=ttyS0,9600 i8042.noaux panic=-1 $(TEST:%=NOLIBC_TEST=… 93 QEMU_ARGS_x86_64 = -M pc -append "console=ttyS0,9600 i8042.noaux panic=-1 $(TEST:%=NOLIBC_TEST=… 94 QEMU_ARGS_x86 = -M pc -append "console=ttyS0,9600 i8042.noaux panic=-1 $(TEST:%=NOLIBC_TEST=… 95 QEMU_ARGS_arm64 = -M virt -cpu cortex-a53 -append "panic=-1 $(TEST:%=NOLIBC_TEST=%)" 96 QEMU_ARGS_arm = -M virt -append "panic=-1 $(TEST:%=NOLIBC_TEST=%)" 97 QEMU_ARGS_mips = -M malta -append "panic=-1 $(TEST:%=NOLIBC_TEST=%)" 98 QEMU_ARGS_ppc = -M g3beige -append "console=ttyS0 panic=-1 $(TEST:%=NOLIBC_TEST=%)" 99 QEMU_ARGS_ppc64 = -M powernv -append "console=hvc0 panic=-1 $(TEST:%=NOLIBC_TEST=%)" 100 QEMU_ARGS_ppc64le = -M powernv -append "console=hvc0 panic=-1 $(TEST:%=NOLIBC_TEST=%)" 101 QEMU_ARGS_riscv = -M virt -append "console=ttyS0 panic=-1 $(TEST:%=NOLIBC_TEST=%)" [all …]
|
| /kernel/linux/linux-6.6/samples/pktgen/ |
| D | parameters.sh | 24 echo " -a : (\$APPEND) Script will not reset generator's state, but will append its config" 89 export APPEND=yes 90 info "Append mode: APPEND=$APPEND"
|
| /kernel/linux/linux-6.6/drivers/md/ |
| D | dm-zone.c | 222 * for zone append emulation. Note that we cannot simply use the block layer 300 /* Check if zone append is natively supported */ in dm_set_zones_restrictions() 308 * Mark the mapped device as needing zone append emulation and in dm_set_zones_restrictions() 363 * First phase of BIO mapping for targets with zone append emulation: 365 * append operations into regular write operations. 397 * Change zone append operations into a non-mergeable regular in dm_zone_map_bio_begin() 418 * Second phase of BIO mapping for targets with zone append emulation: 449 * emulating a zone append. in dm_zone_map_bio_end() 452 DMWARN_LIMIT("Truncated write for zone append"); in dm_zone_map_bio_end() 510 * Special IO mapping for targets needing zone append emulation. [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/ |
| D | fib_offload.sh | 83 # Append an identical prefix route with an higher metric and check that 85 ip -6 route append 2001:db8:3::/64 dev $spine_p1 metric 200 87 check_err $? "lowest metric not offloaded after append" 93 ip -6 route append 2001:db8:3::/64 dev $spine_p1 metric 10 123 # Append another nexthop and check that it is offloaded as well. 124 ip -6 route append 2001:db8:3::/64 metric 100 \ 138 # Append a nexthop with an higher metric and check that the offload 140 ip -6 route append 2001:db8:3::/64 metric 200 \ 143 check_err $? "lowest metric not offloaded after append" 149 ip -6 route append 2001:db8:3::/64 metric 10 \
|
| /kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/ |
| D | fib_offload.sh | 83 # Append an identical prefix route with an higher metric and check that 85 ip -6 route append 2001:db8:3::/64 dev $spine_p1 metric 200 87 check_err $? "lowest metric not offloaded after append" 93 ip -6 route append 2001:db8:3::/64 dev $spine_p1 metric 10 123 # Append another nexthop and check that it is offloaded as well. 124 ip -6 route append 2001:db8:3::/64 metric 100 \ 138 # Append a nexthop with an higher metric and check that the offload 140 ip -6 route append 2001:db8:3::/64 metric 200 \ 143 check_err $? "lowest metric not offloaded after append" 149 ip -6 route append 2001:db8:3::/64 metric 10 \
|
| /kernel/linux/linux-6.6/tools/perf/tests/shell/lib/ |
| D | perf_metric_validation.py | 129 results.append(data[name]) 131 results.append(float(name)) 154 rerun.append(name) 172 … self.failtests['PositiveValueTest']['Failed Tests'].append({'NegativeValue': negmessage}) 196 errs.append(s) 204 stack.append(-v[0]) 206 stack.append(v[0]) 234 …self.failtests['RelationshipTest']['Failed Tests'].append({'RuleIndex': rule['RuleIndex'], 'Descri… 244 …self.failtests['RelationshipTest']['Failed Tests'].append({'RuleIndex': rule['RuleIndex'], 'Formul… 283 rerun.append(m['Name']) [all …]
|
| /kernel/linux/linux-6.6/scripts/clang-tools/ |
| D | run-clang-tools.py | 49 checks.append("-checks=-*") 51 checks.append("linuxkernel-*") 53 checks.append("clang-analyzer-*") 54 checks.append("-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling")
|
| /kernel/linux/linux-6.6/tools/testing/selftests/net/openvswitch/ |
| D | ovs-dpctl.py | 499 self["attrs"].append(["OVS_ACTION_ATTR_DROP", reason]) 509 self["attrs"].append(["OVS_ACTION_ATTR_OUTPUT", output]) 521 self["attrs"].append(["OVS_ACTION_ATTR_RECIRC", recircid]) 534 self["attrs"].append([flat_act[1], True]) 544 self["attrs"].append(("OVS_ACTION_ATTR_CLONE", subacts)) 568 ctact["attrs"].append([scan[1], datum]) 571 ctact["attrs"].append([scan[1], None]) 605 natact["attrs"].append([t, None]) 608 natact["attrs"].append( 612 natact["attrs"].append( [all …]
|
| /kernel/liteos_a/kernel/extended/lms/usr/ |
| D | los_lmslibc.c | 178 ATTRIBUTE_NO_SANITIZE_ADDRESS char *LmsStrcat(char *s, const char *append) in LmsStrcat() argument 180 if ((s == NULL) || (append == NULL)) { in LmsStrcat() 187 LmsCheckValid(s, append); in LmsStrcat() 189 return __real_strcat(save, append); in LmsStrcat() 192 ATTRIBUTE_NO_SANITIZE_ADDRESS char *__wrap_strcat(char *s, const char *append) in __wrap_strcat() argument 194 return LmsStrcat(s, append); in __wrap_strcat()
|
| /kernel/liteos_m/components/lms/ |
| D | lms_libc.c | 59 char *strcat(char *s, const char *append) in strcat() argument 61 if ((s == NULL) || (append == NULL)) { in strcat() 66 size_t len = strlen(append); in strcat() 71 __asan_loadN_noabort((UINTPTR)append, len + 1); in strcat() 73 return __strcat(s, append); in strcat()
|