Searched refs:line (Results 176 - 200 of 791) sorted by relevance

1234567891011>>

/linux-master/tools/perf/util/
H A Dsrcline.c76 static char *srcline_from_fileline(const char *file, unsigned int line) argument
86 if (asprintf(&srcline, "%s:%u", file, line) < 0)
148 unsigned line; member in struct:a2l_data
237 &a2l->line);
296 srcline = srcline_from_fileline(a2l->filename, a2l->line);
302 char **file, unsigned int *line, struct dso *dso,
335 &a2l->funcname, &a2l->line) &&
355 if (line)
356 *line = a2l->line;
301 addr2line(const char *dso_name, u64 addr, char **file, unsigned int *line, struct dso *dso, bool unwind_inlines, struct inline_node *node, struct symbol *sym) argument
517 char *line = NULL; local
822 unsigned line = 0; local
867 get_srcline_split(struct dso *dso, u64 addr, unsigned *line) argument
[all...]
/linux-master/scripts/
H A Dspdxcheck.py202 for line in fd:
203 line = line.decode(locale.getpreferredencoding(False), errors='ignore')
208 if line.find("SPDX-License-Identifier:") < 0:
210 expr = line.split(':')[1].strip()
212 if line.strip().endswith('*/'):
215 if line.strip().endswith('-->'):
218 if line.startswith('LIST \"'):
231 col = line.find(expr) + pe.tok.lexpos
260 def __init__(self, line)
[all...]
/linux-master/tools/testing/kunit/
H A Dkunit_parser.py150 (line#, text).
165 """Advances the LineSteam to the next line, if necessary."""
176 """Returns the current line, without advancing the LineStream.
182 """Returns the current line and advances the LineStream to
183 the next line.
187 raise ValueError(f'LineStream: going past EOF, last line was {s}')
205 """Returns the line number of the current line."""
223 for line in kernel_output:
225 line
[all...]
/linux-master/tools/power/pm-graph/
H A Dbootgraph.py138 def myCronJob(self, line):
139 if '@reboot' not in line:
141 if 'bootgraph' in line or 'analyze_boot.py' in line or '-cronjob' in line:
168 '1. Add the CMDLINE string to your kernel command line.\n'\
309 for line in lf:
310 line = aslib.ascii(line).replace('\r\n', '')
312 if re.match(tp.stampfmt, line)
[all...]
/linux-master/tools/firmware/
H A Dihex2fw.c140 int line = 1; local
147 if (data[i] == '\n') line++;
153 fprintf(stderr, "Can't find valid record at line %d\n", line);
173 fprintf(stderr, "Not enough data to read complete record at line %d\n",
174 line);
188 fprintf(stderr, "CRC failure at line %d: got 0x%X, expected 0x%X\n",
189 line, crcbyte, (unsigned char)(crcbyte-crc));
206 fprintf(stderr, "Bad EOF record (type 01) format at line %d",
207 line);
[all...]
/linux-master/tools/perf/scripts/perl/Perf-Trace-Util/
H A DContext.c12 #line 1 "Context.xs"
28 #line 42 "Context.c"
/linux-master/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/
H A Dgpio.h35 u8 line; member in struct:dcb_gpio_func
50 u16 dcb_gpio_match(struct nvkm_bios *, int idx, u8 func, u8 line,
/linux-master/tools/gpio/
H A Dgpio-utils.h36 int gpiotools_get(const char *device_name, unsigned int line);
39 int gpiotools_set(const char *device_name, unsigned int line,
/linux-master/include/linux/
H A Dkmsg_dump.h61 char *line, size_t size, size_t *len);
79 const char *line, size_t size, size_t *len)
78 kmsg_dump_get_line(struct kmsg_dump_iter *iter, bool syslog, const char *line, size_t size, size_t *len) argument
/linux-master/arch/arm/include/asm/
H A Dbug.h24 #define _BUG(file, line, value) __BUG(file, line, value)
/linux-master/tools/cgroup/
H A Dmemcg_shrinker.py30 for line in f.readlines():
31 items = line.split(' ')
/linux-master/tools/testing/selftests/hid/tests/
H A Dconftest.py69 for line in p.stdout.split("\n"):
70 m = modalias_re.match(line)
/linux-master/tools/perf/tests/
H A Dapi-io.c298 char *line = NULL; local
313 EXPECT_EQUAL((int)io__getline(&io, &line, &line_len), 513);
314 EXPECT_EQUAL((int)strlen(line), 513);
316 EXPECT_EQUAL(line[i], 'a');
317 EXPECT_EQUAL(line[512], '\n');
318 EXPECT_EQUAL((int)io__getline(&io, &line, &line_len), 510);
320 EXPECT_EQUAL(line[i], 'b');
322 free(line);
/linux-master/drivers/auxdisplay/
H A DMakefile15 obj-$(CONFIG_LINEDISP) += line-display.o
/linux-master/tools/testing/selftests/kvm/lib/
H A Dassert.c68 const char *file, unsigned int line, const char *fmt, ...)
78 file, line, exp_str, getpid(), _gettid(),
67 test_assert(bool exp, const char *exp_str, const char *file, unsigned int line, const char *fmt, ...) argument
/linux-master/lib/kunit/
H A Dstring-stream-test.c166 char line[60]; local
177 len = snprintf(line, sizeof(line),
181 KUNIT_ASSERT_LT(test, len, sizeof(line));
183 string_stream_add(stream, line);
204 snprintf(line, sizeof(line),
206 KUNIT_EXPECT_STREQ(test, pos, line);
218 static const char line[] = local
238 offset = prandom_u32_state(&rnd) % (sizeof(line)
[all...]
/linux-master/drivers/media/platform/qcom/camss/
H A Dcamss-vfe-4-7.c579 struct vfe_line *line = container_of(output, struct vfe_line, output); local
580 u32 p = line->video_out.active_fmt.fmt.pix_mp.pixelformat;
646 static void vfe_set_realign_cfg(struct vfe_device *vfe, struct vfe_line *line, argument
649 u32 p = line->video_out.active_fmt.fmt.pix_mp.pixelformat;
686 /* Enforce barrier between line update and commit */
720 struct vfe_output *output = &vfe->line[line_id].output;
758 static void vfe_set_demux_cfg(struct vfe_device *vfe, struct vfe_line *line) argument
770 switch (line->fmt[MSM_VFE_PAD_SINK].code) {
794 static void vfe_set_scale_cfg(struct vfe_device *vfe, struct vfe_line *line) argument
796 u32 p = line
849 vfe_set_crop_cfg(struct vfe_device *vfe, struct vfe_line *line) argument
939 vfe_set_camif_cfg(struct vfe_device *vfe, struct vfe_line *line) argument
[all...]
H A Dcamss-vfe-4-8.c550 struct vfe_line *line = container_of(output, struct vfe_line, output); local
551 u32 p = line->video_out.active_fmt.fmt.pix_mp.pixelformat;
617 static void vfe_set_realign_cfg(struct vfe_device *vfe, struct vfe_line *line, argument
620 u32 p = line->video_out.active_fmt.fmt.pix_mp.pixelformat;
657 /* Enforce barrier between line update and commit */
692 struct vfe_output *output = &vfe->line[line_id].output;
729 static void vfe_set_demux_cfg(struct vfe_device *vfe, struct vfe_line *line) argument
741 switch (line->fmt[MSM_VFE_PAD_SINK].code) {
765 static void vfe_set_scale_cfg(struct vfe_device *vfe, struct vfe_line *line) argument
767 u32 p = line
820 vfe_set_crop_cfg(struct vfe_device *vfe, struct vfe_line *line) argument
871 vfe_set_camif_cfg(struct vfe_device *vfe, struct vfe_line *line) argument
[all...]
/linux-master/drivers/tty/serial/8250/
H A D8250_dfl.c32 int line; member in struct:dfl_uart
131 dfluart->line = serial8250_register_8250_port(&uart);
132 if (dfluart->line < 0)
133 return dev_err_probe(dev, dfluart->line, "unable to register 8250 port.\n");
144 serial8250_unregister_port(dfluart->line);
H A D8250_fsl.c103 int line; member in struct:fsl8250_data
155 data->line = serial8250_register_8250_port(&port8250);
156 if (data->line < 0)
157 return data->line;
167 serial8250_unregister_port(data->line);
H A D8250_pxa.c29 int line; member in struct:pxa8250_data
37 serial8250_suspend_port(data->line);
46 serial8250_resume_port(data->line);
134 data->line = ret;
149 serial8250_unregister_port(data->line);
/linux-master/drivers/clk/stm32/
H A Dreset-stm32.c33 struct stm32_reset_cfg *line)
42 line->offset = bank * reg_width;
43 line->bit_idx = offset;
44 line->set_clr = (data->clear_offset ? true : false);
46 return line;
31 stm32_get_reset_line(struct reset_controller_dev *rcdev, unsigned long id, struct stm32_reset_cfg *line) argument
/linux-master/fs/ext4/
H A Dext4_jbd2.h225 const char *func, unsigned int line);
233 int __ext4_journal_get_write_access(const char *where, unsigned int line,
238 int __ext4_forget(const char *where, unsigned int line, handle_t *handle,
242 int __ext4_journal_get_create_access(const char *where, unsigned int line,
247 int __ext4_handle_dirty_metadata(const char *where, unsigned int line,
265 unsigned int line, int type, int blocks,
267 int __ext4_journal_stop(const char *where, unsigned int line, handle_t *handle);
322 unsigned int line, int type,
326 return __ext4_journal_start_sb(inode, inode->i_sb, line, type, blocks,
336 handle_t *__ext4_journal_start_reserved(handle_t *handle, unsigned int line,
321 __ext4_journal_start(struct inode *inode, unsigned int line, int type, int blocks, int rsv_blocks, int revoke_creds) argument
[all...]
/linux-master/scripts/mod/
H A Dsumversion.c300 /* We have dir/file.o. Open dir/.file.o.cmd, look for source_ and deps_ line
304 char *cmd, *file, *line, *dir, *pos; local
328 while ((line = get_line(&pos))) {
332 while (isspace(*line))
333 line++;
334 p = line;
336 if (strncmp(line, "source_", sizeof("source_")-1) == 0) {
337 p = strrchr(line, ' ');
339 warn("malformed line: %s\n", line);
[all...]
/linux-master/tools/testing/selftests/resctrl/
H A Dresctrlfs.c19 char line[256], *fs, *mntpoint; local
27 if (!fgets(line, 256, mounts))
29 fs = strtok(line, " \t");
695 char line[256]; local
699 if (!fgets(line, 256, inf))
701 if (strncmp(line, str, slen))
704 return strdup(line);
799 char line[1024]; local
828 while (fgets(line, 1024, fp)) {
829 if (strstr(line, "intel_rd
[all...]

Completed in 290 milliseconds

1234567891011>>