Searched refs:str (Results 176 - 200 of 1868) sorted by relevance

1234567891011>>

/linux-master/security/selinux/ss/
H A Dcontext.c20 * context struct with only the len & str set (and vice versa)
27 return full_name_hash(NULL, c->str, c->len);
/linux-master/tools/testing/selftests/drivers/net/hw/lib/py/
H A D__init__.py14 ksft_pr(str(e))
/linux-master/tools/testing/selftests/drivers/net/lib/py/
H A D__init__.py13 ksft_pr(str(e))
/linux-master/arch/powerpc/include/asm/
H A Dfadump.h27 static inline void crash_fadump(struct pt_regs *regs, const char *str) { } argument
/linux-master/tools/perf/util/
H A Dcomm.c12 char str[]; local
48 return &RC_CHK_ACCESS(cs)->str[0];
76 static struct comm_str *comm_str__new(const char *str) argument
81 cs = malloc(sizeof(*cs) + strlen(str) + 1);
84 strcpy(&cs->str[0], str);
127 static struct comm_str *__comm_strs__find(struct comm_strs *comm_strs, const char *str) argument
131 result = bsearch(str, comm_strs->strs, comm_strs->num_strs, sizeof(struct comm_str *),
140 static struct comm_str *comm_strs__findnew(const char *str) argument
149 result = __comm_strs__find(comm_strs, str);
181 comm__new(const char *str, u64 timestamp, bool exec) argument
200 comm__override(struct comm *comm, const char *str, u64 timestamp, bool exec) argument
[all...]
H A Dparse-branch-options.c43 int parse_branch_str(const char *str, __u64 *mode) argument
55 if (str == NULL) {
60 /* because str is read-only */
61 s = os = strdup(str);
99 parse_branch_stack(const struct option *opt, const char *str, int unset) argument
114 return parse_branch_str(str, mode);
H A Ddemangle-java.c34 * demangle Java symbol between str and end positions and stores
38 * Use MODE_TYPE to process return type if str starts on return type char
45 __demangle_java_sym(const char *str, const char *end, char *buf, int maxlen, int mode) argument
53 end = str + strlen(str);
55 for (q = str; q != end; q++) {
149 * str: string to parse. String is not modified
158 java_demangle_sym(const char *str, int flags) argument
164 if (!str)
168 p = strrchr(str, ')');
[all...]
/linux-master/drivers/s390/char/
H A Dtape_proc.c43 const char *str; local
67 str = tape_state_verbose[device->tape_state];
69 str = "UNKNOWN";
70 seq_printf(m, "%s\t", str);
74 str = tape_op_verbose[request->op];
76 str = "---";
77 seq_printf(m, "%s\t", str);
/linux-master/tools/testing/selftests/bpf/benchs/
H A Dbench_strncmp.c22 { "cmp-str-len", ARG_CMP_STR_LEN, "CMP_STR_LEN", 0,
33 args.cmp_str_len >= sizeof(ctx.skel->bss->str)) {
34 fprintf(stderr, "Invalid cmp str len (limit %zu)\n",
35 sizeof(ctx.skel->bss->str));
66 if (!sz || sz < sizeof(ctx.skel->bss->str)) {
68 sz, sizeof(ctx.skel->bss->str));
88 memcpy(ctx.skel->bss->str, target, args.cmp_str_len);
89 ctx.skel->bss->str[args.cmp_str_len] = '\0';
90 /* Make bss->str < rodata->target */
91 ctx.skel->bss->str[arg
[all...]
/linux-master/sound/firewire/motu/
H A Dmotu-midi.c86 struct snd_rawmidi_str *str)
90 list_for_each_entry(subs, &str->substreams, list) {
109 struct snd_rawmidi_str *str; local
127 str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT];
128 set_midi_substream_names(motu, str);
132 str = &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT];
133 set_midi_substream_names(motu, str);
85 set_midi_substream_names(struct snd_motu *motu, struct snd_rawmidi_str *str) argument
/linux-master/arch/arm/mach-sa1100/
H A Dsleep.S51 str r4, [r6]
58 str r1, [r5]
120 str r3, [r0]
121 str r4, [r1]
122 str r5, [r2]
125 str r7, [r6]
128 str r8, [r6]
131 str r10, [r9]
134 str r11, [r6]
141 str r1
[all...]
/linux-master/tools/objtool/
H A Dbuiltin-check.c29 static int parse_dump(const struct option *opt, const char *str, int unset) argument
31 if (!str || !strcmp(str, "orc")) {
39 static int parse_hacks(const struct option *opt, const char *str, int unset) argument
50 if (!str || strstr(str, "jump_label")) {
55 if (!str || strstr(str, "noinstr")) {
60 if (!str || strstr(str, "skylak
[all...]
/linux-master/drivers/char/ipmi/
H A Dipmi_si_hardcode.c96 char *str; local
102 str = si_type_str;
103 if (*str != '\0') {
104 for (i = 0; (i < SI_MAX_PARMS) && (*str != '\0'); i++) {
105 si_type[i] = str;
106 str = strchr(str, ',');
107 if (str) {
108 *str = '\0';
109 str
[all...]
/linux-master/tools/perf/
H A Dbuiltin-probe.c53 static int parse_probe_event(const char *str) argument
58 pr_debug("probe-definition(%d): %s\n", params->nevents, str);
75 ret = parse_perf_probe_command(str, pev);
81 static int params_add_filter(const char *str) argument
86 pr_debug2("Add filter: %s\n", str);
88 params->filter = strfilter__new(str, &err);
92 ret = strfilter__or(params->filter, str, &err);
95 pr_err("Filter parse error at %td.\n", err - str + 1);
96 pr_err("Source: \"%s\"\n", str);
97 pr_err(" %*c\n", (int)(err - str
167 opt_set_target(const struct option *opt, const char *str, int unset __maybe_unused) argument
202 opt_set_target_ns(const struct option *opt __maybe_unused, const char *str, int unset __maybe_unused) argument
233 opt_show_lines(const struct option *opt, const char *str, int unset __maybe_unused) argument
253 opt_show_vars(const struct option *opt, const char *str, int unset __maybe_unused) argument
275 opt_add_probe_event(const struct option *opt, const char *str, int unset __maybe_unused) argument
286 opt_set_filter_with_command(const struct option *opt, const char *str, int unset) argument
298 opt_set_filter(const struct option *opt __maybe_unused, const char *str, int unset __maybe_unused) argument
444 char *str = strfilter__string(filter); local
[all...]
/linux-master/arch/arm/lib/
H A Dputuser.S63 4: TUSER(str) r2, [r0]
71 5: TUSER(str) r2, [r0]
72 6: TUSER(str) r3, [r0, #4]
74 5: TUSER(str) r2, [r0], #4
75 6: TUSER(str) r3, [r0]
/linux-master/arch/um/include/shared/
H A Dinit.h63 const char *str; member in struct:uml_param
86 #define __uml_setup(str, fn, help...) \
87 __non_empty_string(fn ##_setup, str); \
89 static char __uml_setup_str_##fn[] __initdata = str; \
92 #define __uml_setup(str, fn, help...) \
/linux-master/drivers/gpu/drm/i915/
H A Di915_mitigations.c33 char *str, *sep, *tok; local
39 str = kstrdup(val, GFP_KERNEL);
40 if (!str)
43 for (sep = str; (tok = strsep(&sep, ","));) {
90 kfree(str);
/linux-master/sound/core/
H A Dpcm_local.h71 #define for_each_pcm_substream(pcm, str, subs) \
72 for ((str) = 0; (str) < 2; (str)++) \
73 for ((subs) = (pcm)->streams[str].substream; (subs); \
/linux-master/security/apparmor/
H A Dlib.c29 * aa_free_str_table - free entries str table
87 * skipn_spaces - Removes leading whitespace from @str.
88 * @str: The string to be stripped.
89 * @n: length of str to parse, will stop at \0 if encountered before n
91 * Returns a pointer to the first non-whitespace character in @str.
95 const char *skipn_spaces(const char *str, size_t n) argument
97 for (; n && isspace(*str); --n)
98 ++str;
100 return (char *)str;
143 * @str
145 aa_info_message(const char *str) argument
158 struct counted_str *str; local
224 aa_perm_mask_to_str(char *str, size_t str_size, const char *chrs, u32 mask) argument
263 char str[33]; local
[all...]
/linux-master/kernel/printk/
H A Dconopt.c39 * @str: Kernel command line console name and option
47 int __init console_opt_save(const char *str, const char *brl_opt) argument
54 namelen = strcspn(str, ",");
58 opt = str + namelen;
70 if (!strncmp(str, con->name, namelen))
80 strscpy(con->name, str, namelen + 1);
/linux-master/drivers/char/tpm/
H A Dtpm-sysfs.c38 char *str = buf; local
57 str +=
58 sprintf(str,
72 str += sprintf(str, "%16ph\n", &out->modulus[i]);
78 return str - buf;
88 char *str = buf; local
104 str = buf;
107 str += sprintf(str, "PC
211 char *str = buf; local
376 char *str = buf; local
[all...]
/linux-master/arch/um/drivers/
H A Dchan_kern.c14 static void *not_configged_init(char *str, int device, argument
337 static int one_chan_config_string(struct chan *chan, char *str, int size, argument
343 CONFIG_CHUNK(str, size, n, "none", 1);
347 CONFIG_CHUNK(str, size, n, chan->ops->type, 0);
350 CONFIG_CHUNK(str, size, n, "", 1);
354 CONFIG_CHUNK(str, size, n, ":", 0);
355 CONFIG_CHUNK(str, size, n, chan->dev, 0);
361 char *str, int size, char **error_out)
365 n = one_chan_config_string(in, str, size, error_out);
366 str
360 chan_pair_config_string(struct chan *in, struct chan *out, char *str, int size, char **error_out) argument
383 chan_config_string(struct line *line, char *str, int size, char **error_out) argument
437 parse_chan(struct line *line, char *str, int device, const struct chan_opts *opts, char **error_out) argument
487 parse_chan_pair(char *str, struct line *line, int device, const struct chan_opts *opts, char **error_out) argument
[all...]
/linux-master/tools/perf/pmu-events/
H A Dmetric.py13 def ToPerfJson(self) -> str:
17 def ToPython(self) -> str:
29 def Substitute(self, name: str, expression: 'Expression') -> 'Expression':
32 def __str__(self) -> str:
115 def __init__(self, operator: str, lhs: Union[int, float, Expression],
123 other_str: str,
124 rhs: bool = False) -> str:
138 other_str (str): ``other`` in the appropriate string form
142 str: possibly bracketed other_str
198 def Substitute(self, name: str, expressio
[all...]
/linux-master/arch/arm/mach-tegra/
H A Dsleep-tegra30.S92 str \rd, [\base, #EMC_TIMING_CONTROL]
111 str \rd, [\tmp]
121 str \rd, [\tmp]
144 str \rd, [\r_car_base, #\pll_misc]
148 str \rd, [\r_car_base, #\pll_misc]
166 str \rd, [\car, #\iddq]
172 str \rd, [\car, #\iddq]
227 str r12, [r1]
236 str r3, [r1] @ clear CSR
253 str r
[all...]
/linux-master/drivers/pnp/
H A Dsupport.c39 void pnp_eisa_id_to_string(u32 id, char *str) argument
51 str[0] = 'A' + ((id >> 26) & 0x3f) - 1;
52 str[1] = 'A' + ((id >> 21) & 0x1f) - 1;
53 str[2] = 'A' + ((id >> 16) & 0x1f) - 1;
54 str[3] = hex_asc_hi(id >> 8);
55 str[4] = hex_asc_lo(id >> 8);
56 str[5] = hex_asc_hi(id);
57 str[6] = hex_asc_lo(id);
58 str[7] = '\0';

Completed in 510 milliseconds

1234567891011>>