/kernel/linux/linux-6.6/scripts/ |
H A D | generate_rust_analyzer.py | 41 "root_module": str(root_module), 94 crates[-1]["env"]["OBJTREE"] = str(objtree.resolve(True)) 104 str(srctree / "rust" / "kernel"), 105 str(objtree / "rust") 159 "sysroot_src": str(args.sysroot_src),
|
/kernel/linux/linux-6.6/security/apparmor/ |
H A D | path.c | 25 static int prepend(char **buffer, int buflen, const char *str, int namelen) in prepend() argument 31 memcpy(*buffer, str, namelen); in prepend() 200 char *str = NULL; in aa_path_name() local 201 int error = d_namespace_path(path, buffer, &str, flags, disconnected); in aa_path_name() 214 *name = str; in aa_path_name()
|
/kernel/linux/linux-6.6/tools/perf/ |
H A D | builtin-script.c | 165 const char *str; member 168 {.str = "comm", .field = PERF_OUTPUT_COMM}, 169 {.str = "tid", .field = PERF_OUTPUT_TID}, 170 {.str = "pid", .field = PERF_OUTPUT_PID}, 171 {.str = "time", .field = PERF_OUTPUT_TIME}, 172 {.str = "cpu", .field = PERF_OUTPUT_CPU}, 173 {.str = "event", .field = PERF_OUTPUT_EVNAME}, 174 {.str = "trace", .field = PERF_OUTPUT_TRACE}, 175 {.str = "ip", .field = PERF_OUTPUT_IP}, 176 {.str 404 const char *str = ""; output_field2str() local 1640 perf_sample__sprintf_flags(u32 flags, char *str, size_t sz) perf_sample__sprintf_flags() argument 1688 char str[SAMPLE_FLAGS_BUF_SIZE]; perf_sample__fprintf_flags() local 1811 char str[sizeof(u64) + 1] = ""; perf_sample__fprintf_synth_ptwrite() local 2148 char str[PAGE_SIZE_NAME_LEN]; process_event() local 2957 parse_scriptname(const struct option *opt __maybe_unused, const char *str, int unset __maybe_unused) parse_scriptname() argument 3012 char *str = strdup(arg); parse_output_fields() local 3243 ends_with(const char *str, const char *suffix) ends_with() argument 3300 char *script_root, *str; get_script_root() local [all...] |
/kernel/linux/linux-5.10/arch/x86/kernel/ |
H A D | traps.c | 100 do_trap_no_signal(struct task_struct *tsk, int trapnr, const char *str, in do_trap_no_signal() argument 119 die(str, regs, error_code); in do_trap_no_signal() 152 do_trap(int trapnr, int signr, char *str, struct pt_regs *regs, in do_trap() argument 157 if (!do_trap_no_signal(tsk, trapnr, str, regs, error_code)) in do_trap() 160 show_signal(tsk, signr, "trap ", str, regs, error_code); in do_trap() 169 static void do_error_trap(struct pt_regs *regs, long error_code, char *str, in do_error_trap() argument 174 if (notify_die(DIE_TRAP, str, regs, error_code, trapnr, signr) != in do_error_trap() 177 do_trap(trapnr, signr, str, regs, error_code, sicode, addr); in do_error_trap() 291 char *str = "alignment check"; in DEFINE_IDTENTRY_ERRORCODE() local 293 if (notify_die(DIE_TRAP, str, reg in DEFINE_IDTENTRY_ERRORCODE() 347 static const char str[] = "double fault"; DEFINE_IDTENTRY_DF() local 1053 char *str = (trapnr == X86_TRAP_MF) ? "fpu exception" : math_error() local [all...] |
/kernel/linux/linux-5.10/arch/um/drivers/ |
H A D | mconsole_kern.c | 289 static int mem_config(char *str, char **error_out) in mem_config() argument 295 if (str[0] != '=') { in mem_config() 300 str++; in mem_config() 301 if (str[0] == '-') in mem_config() 303 else if (str[0] == '+') { in mem_config() 311 str++; in mem_config() 312 diff = memparse(str, &ret); in mem_config() 382 static int mem_get_config(char *name, char *str, int size, char **error_out) in mem_get_config() argument 388 CONFIG_CHUNK(str, size, len, buf, 1); in mem_get_config() 393 static int mem_id(char **str, in argument 818 mconsole_setup(char *str) mconsole_setup() argument [all...] |
/kernel/linux/linux-6.6/arch/um/drivers/ |
H A D | mconsole_kern.c | 290 static int mem_config(char *str, char **error_out) in mem_config() argument 296 if (str[0] != '=') { in mem_config() 301 str++; in mem_config() 302 if (str[0] == '-') in mem_config() 304 else if (str[0] == '+') { in mem_config() 312 str++; in mem_config() 313 diff = memparse(str, &ret); in mem_config() 383 static int mem_get_config(char *name, char *str, int size, char **error_out) in mem_get_config() argument 389 CONFIG_CHUNK(str, size, len, buf, 1); in mem_get_config() 394 static int mem_id(char **str, in argument 819 mconsole_setup(char *str) mconsole_setup() argument [all...] |
/kernel/linux/linux-5.10/sound/soc/sof/ |
H A D | ipc.c | 53 u8 *str; in ipc_log_header() local 64 str = "GLB_REPLY"; break; in ipc_log_header() 66 str = "GLB_COMPOUND"; break; in ipc_log_header() 68 str = "GLB_TPLG_MSG"; in ipc_log_header() 93 str = "GLB_PM_MSG"; in ipc_log_header() 114 str = "GLB_COMP_MSG"; in ipc_log_header() 129 str = "GLB_STREAM_MSG"; in ipc_log_header() 161 str = "FW_READY"; break; in ipc_log_header() 163 str = "GLB_DAI_MSG"; in ipc_log_header() 174 str in ipc_log_header() [all...] |
/kernel/linux/linux-5.10/fs/hfsplus/ |
H A D | catalog.c | 44 hfsplus_btree_key *key, u32 parent, const struct qstr *str) in hfsplus_cat_build_key() 50 str->name, str->len); in hfsplus_cat_build_key() 178 u32 parentid, const struct qstr *str) in hfsplus_fill_cat_thread() 186 str->name, str->len); in hfsplus_fill_cat_thread() 254 const struct qstr *str, struct inode *inode) in hfsplus_create_cat() 263 str->name, cnid, inode->i_nlink); in hfsplus_create_cat() 280 dir->i_ino, str); in hfsplus_create_cat() 296 err = hfsplus_cat_build_key(sb, fd.search_key, dir->i_ino, str); in hfsplus_create_cat() 43 hfsplus_cat_build_key(struct super_block *sb, hfsplus_btree_key *key, u32 parent, const struct qstr *str) hfsplus_cat_build_key() argument 176 hfsplus_fill_cat_thread(struct super_block *sb, hfsplus_cat_entry *entry, int type, u32 parentid, const struct qstr *str) hfsplus_fill_cat_thread() argument 253 hfsplus_create_cat(u32 cnid, struct inode *dir, const struct qstr *str, struct inode *inode) hfsplus_create_cat() argument 330 hfsplus_delete_cat(u32 cnid, struct inode *dir, const struct qstr *str) hfsplus_delete_cat() argument [all...] |
/kernel/linux/linux-5.10/kernel/power/ |
H A D | hibernate.c | 1271 static int __init resume_setup(char *str) in resume_setup() argument 1276 strncpy(resume_file, str, 255); in resume_setup() 1280 static int __init resume_offset_setup(char *str) in resume_offset_setup() argument 1287 if (sscanf(str, "%llu", &offset) == 1) in resume_offset_setup() 1293 static int __init hibernate_setup(char *str) in hibernate_setup() argument 1295 if (!strncmp(str, "noresume", 8)) { in hibernate_setup() 1297 } else if (!strncmp(str, "nocompress", 10)) { in hibernate_setup() 1299 } else if (!strncmp(str, "no", 2)) { in hibernate_setup() 1303 && !strncmp(str, "protect_image", 13)) { in hibernate_setup() 1309 static int __init noresume_setup(char *str) in noresume_setup() argument 1315 resumewait_setup(char *str) resumewait_setup() argument 1321 resumedelay_setup(char *str) resumedelay_setup() argument 1330 nohibernate_setup(char *str) nohibernate_setup() argument [all...] |
/kernel/linux/linux-6.6/fs/hfsplus/ |
H A D | catalog.c | 44 hfsplus_btree_key *key, u32 parent, const struct qstr *str) in hfsplus_cat_build_key() 50 str->name, str->len); in hfsplus_cat_build_key() 178 u32 parentid, const struct qstr *str) in hfsplus_fill_cat_thread() 186 str->name, str->len); in hfsplus_fill_cat_thread() 254 const struct qstr *str, struct inode *inode) in hfsplus_create_cat() 263 str->name, cnid, inode->i_nlink); in hfsplus_create_cat() 280 dir->i_ino, str); in hfsplus_create_cat() 296 err = hfsplus_cat_build_key(sb, fd.search_key, dir->i_ino, str); in hfsplus_create_cat() 43 hfsplus_cat_build_key(struct super_block *sb, hfsplus_btree_key *key, u32 parent, const struct qstr *str) hfsplus_cat_build_key() argument 176 hfsplus_fill_cat_thread(struct super_block *sb, hfsplus_cat_entry *entry, int type, u32 parentid, const struct qstr *str) hfsplus_fill_cat_thread() argument 253 hfsplus_create_cat(u32 cnid, struct inode *dir, const struct qstr *str, struct inode *inode) hfsplus_create_cat() argument 330 hfsplus_delete_cat(u32 cnid, struct inode *dir, const struct qstr *str) hfsplus_delete_cat() argument [all...] |
/kernel/linux/linux-6.6/kernel/power/ |
H A D | hibernate.c | 1301 static int __init resume_setup(char *str) in resume_setup() argument 1306 strncpy(resume_file, str, 255); in resume_setup() 1310 static int __init resume_offset_setup(char *str) in resume_offset_setup() argument 1317 if (sscanf(str, "%llu", &offset) == 1) in resume_offset_setup() 1323 static int __init hibernate_setup(char *str) in hibernate_setup() argument 1325 if (!strncmp(str, "noresume", 8)) { in hibernate_setup() 1327 } else if (!strncmp(str, "nocompress", 10)) { in hibernate_setup() 1329 } else if (!strncmp(str, "no", 2)) { in hibernate_setup() 1333 && !strncmp(str, "protect_image", 13)) { in hibernate_setup() 1339 static int __init noresume_setup(char *str) in noresume_setup() argument 1345 resumewait_setup(char *str) resumewait_setup() argument 1351 resumedelay_setup(char *str) resumedelay_setup() argument 1360 nohibernate_setup(char *str) nohibernate_setup() argument [all...] |
/kernel/linux/linux-5.10/arch/arm/mach-omap1/ |
H A D | sleep.S | 85 str r9, [r6, #EMIFF_SDRAM_CONFIG_ASM_OFFSET & 0xff] 90 str r9, [r6, #EMIFS_CONFIG_ASM_OFFSET & 0xff] 134 str r7, [r6, #EMIFF_SDRAM_CONFIG_ASM_OFFSET & 0xff] 135 str r8, [r6, #EMIFS_CONFIG_ASM_OFFSET & 0xff] 160 str r5, [r4, #EMIFS_CONFIG_ASM_OFFSET & 0xff] 164 str r5, [r4, #EMIFS_CONFIG_ASM_OFFSET & 0xff] 170 str r5, [r4, #EMIFF_SDRAM_CONFIG_ASM_OFFSET & 0xff] 175 str r5, [r4, #EMIFS_CONFIG_ASM_OFFSET & 0xff] 240 str r9, [r6, #EMIFF_SDRAM_CONFIG_ASM_OFFSET & 0xff] 245 str r [all...] |
/kernel/linux/linux-5.10/arch/mips/pci/ |
H A D | ops-tx4927.c | 196 char *tx4927_pcibios_setup(char *str) in tx4927_pcibios_setup() argument 198 if (!strncmp(str, "trdyto=", 7)) { in tx4927_pcibios_setup() 200 if (kstrtou8(str + 7, 0, &val) == 0) in tx4927_pcibios_setup() 204 if (!strncmp(str, "retryto=", 8)) { in tx4927_pcibios_setup() 206 if (kstrtou8(str + 8, 0, &val) == 0) in tx4927_pcibios_setup() 210 if (!strncmp(str, "gbwc=", 5)) { in tx4927_pcibios_setup() 212 if (kstrtou16(str + 5, 0, &val) == 0) in tx4927_pcibios_setup() 216 return str; in tx4927_pcibios_setup() 373 const char *str; in tx4927_report_pcic_status1() member 402 cont++ ? " " : "", pcistat_tbl[i].str); in tx4927_report_pcic_status1() [all...] |
/kernel/linux/linux-6.6/arch/arm/kernel/ |
H A D | entry-common.S | 55 str r0, [sp, #S_R0+S_OFF]! @ returned r0 68 str r0, [sp, #S_R0 + S_OFF]! @ save returned r0 93 str scno, [tsk, #TI_ABI_SYSCALL] @ make sure tracers see update 181 str saved_pc, [sp, #S_PC] @ Save calling PC 182 str saved_psr, [sp, #S_PSR] @ Save CPSR 183 str r0, [sp, #S_OLD_R0] @ Save OLD_R0 248 str scno, [tsk, #TI_ABI_SYSCALL] 251 str scno, [tsk, #TI_ABI_SYSCALL] 286 str lr, [sp, #S_PC] 313 str r [all...] |
/kernel/linux/linux-6.6/arch/mips/pci/ |
H A D | ops-tx4927.c | 196 char *tx4927_pcibios_setup(char *str) in tx4927_pcibios_setup() argument 198 if (!strncmp(str, "trdyto=", 7)) { in tx4927_pcibios_setup() 200 if (kstrtou8(str + 7, 0, &val) == 0) in tx4927_pcibios_setup() 204 if (!strncmp(str, "retryto=", 8)) { in tx4927_pcibios_setup() 206 if (kstrtou8(str + 8, 0, &val) == 0) in tx4927_pcibios_setup() 210 if (!strncmp(str, "gbwc=", 5)) { in tx4927_pcibios_setup() 212 if (kstrtou16(str + 5, 0, &val) == 0) in tx4927_pcibios_setup() 216 return str; in tx4927_pcibios_setup() 373 const char *str; in tx4927_report_pcic_status1() member 402 cont++ ? " " : "", pcistat_tbl[i].str); in tx4927_report_pcic_status1() [all...] |
/kernel/linux/linux-5.10/drivers/nvdimm/ |
H A D | core.c | 220 const char *str = buf; in nd_uuid_parse() local 225 if (!isxdigit(str[0]) || !isxdigit(str[1])) { in nd_uuid_parse() 227 i, str - buf, str[0], in nd_uuid_parse() 228 str + 1 - buf, str[1]); in nd_uuid_parse() 232 uuid[i] = (hex_to_bin(str[0]) << 4) | hex_to_bin(str[1]); in nd_uuid_parse() 233 str in nd_uuid_parse() [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | auxtrace.h | 407 const char *str); 431 * @str: allocated string that contains the other string members 445 char *str; member 576 const char *str); 579 struct record_opts *opts, const char *str); 621 const char *str, int unset); 622 int itrace_parse_synth_opts(const struct option *opt, const char *str, 761 const char *str __maybe_unused, int unset __maybe_unused) in itrace_do_parse_synth_opts() 769 const char *str __maybe_unused, in itrace_parse_synth_opts() 779 const char *str) in auxtrace_parse_snapshot_options() 777 auxtrace_parse_snapshot_options(struct auxtrace_record *itr __maybe_unused, struct record_opts *opts __maybe_unused, const char *str) auxtrace_parse_snapshot_options() argument 788 auxtrace_parse_sample_options(struct auxtrace_record *itr __maybe_unused, struct evlist *evlist __maybe_unused, struct record_opts *opts __maybe_unused, const char *str) auxtrace_parse_sample_options() argument [all...] |
/test/xts/acts/notification/ces_standard/actsCommonEventSubscribeNDKTest/entry/src/main/cpp/ |
H A D | subscribe.cpp | 149 char* str = new char[1024];
in CreateSubscribeInfo() local 150 napi_get_value_string_utf8(env, event, str, 1024 - 1, &strLen);
in CreateSubscribeInfo() 151 events[i] = str;
in CreateSubscribeInfo() 152 OH_LOG_Print(LOG_APP, LOG_INFO, 1, "CES_TEST", "Get event %{public}s.", str);
in CreateSubscribeInfo() 175 char str[1024] = {0};
in SetPublisherPermission() local 183 napi_get_value_string_utf8(env, result, str, 1024 - 1, &strLen);
in SetPublisherPermission() 184 int32_t ret = OH_CommonEvent_SetPublisherPermission(information, str);
in SetPublisherPermission() 185 OH_LOG_Print(LOG_APP, LOG_INFO, 1, "CES_TEST", "Get permission %{public}s.", str);
in SetPublisherPermission() 208 char str[1024] = {0};
in SetPublisherBundleName() local 209 napi_get_value_string_utf8(env, result, str, 102 in SetPublisherBundleName() [all...] |
/test/xts/hats/kernel/purgeableMem/ |
H A D | purgeable_cpp_test.cpp | 49 char *str = static_cast<char *>(data); in Build() local 52 str[len++] = ch; in Build() 54 str[size - 1] = 0; in Build() 55 std::cout << "rebuild addr("<< (unsigned long long)str <<") " << in Build() 56 start << "~" << end << ", data=[" << str << "]" << std::endl; in Build() 79 char *str = static_cast<char *>(data); in Build() local 80 for (size_t i = 0; i < size && str[i]; i++) { in Build() 81 if (str[i] == from) { in Build() 82 str[i] = to; in Build() 109 char *str in Build() local [all...] |
/kernel/linux/linux-5.10/arch/mips/fw/lib/ |
H A D | cmdline.c | 92 char *str; in fw_getenvl() local 95 str = fw_getenv(envname); in fw_getenvl() 96 if (str) { in fw_getenvl() 97 tmp = kstrtoul(str, 0, &envl); in fw_getenvl()
|
/kernel/linux/linux-5.10/arch/s390/boot/ |
H A D | string.c | 24 char *skip_spaces(const char *str) in skip_spaces() argument 26 while (isspace(*str)) in skip_spaces() 27 ++str; in skip_spaces() 28 return (char *)str; in skip_spaces()
|
/kernel/linux/linux-6.6/arch/mips/fw/lib/ |
H A D | cmdline.c | 92 char *str; in fw_getenvl() local 95 str = fw_getenv(envname); in fw_getenvl() 96 if (str) { in fw_getenvl() 97 tmp = kstrtoul(str, 0, &envl); in fw_getenvl()
|
/kernel/linux/linux-6.6/arch/s390/boot/ |
H A D | string.c | 25 char *skip_spaces(const char *str) in skip_spaces() argument 27 while (isspace(*str)) in skip_spaces() 28 ++str; in skip_spaces() 29 return (char *)str; in skip_spaces()
|
/kernel/linux/linux-5.10/samples/bpf/ |
H A D | lwt_len_hist_user.c | 18 static void stars(char *str, long val, long max, int width) in stars() argument 23 str[i] = '*'; in stars() 25 str[i - 1] = '+'; in stars() 26 str[i] = '\0'; in stars()
|
/kernel/linux/linux-5.10/fs/gfs2/ |
H A D | dentry.c | 80 static int gfs2_dhash(const struct dentry *dentry, struct qstr *str) in gfs2_dhash() argument 82 str->hash = gfs2_disk_hash(str->name, str->len); in gfs2_dhash()
|