Home
last modified time | relevance | path

Searched refs:sfile (Results 1 - 17 of 17) sorted by relevance

/kernel/linux/linux-6.6/drivers/crypto/intel/qat/qat_common/
H A Dadf_transport_debug.c13 static void *adf_ring_start(struct seq_file *sfile, loff_t *pos) in adf_ring_start() argument
15 struct adf_etr_ring_data *ring = sfile->private; in adf_ring_start()
29 static void *adf_ring_next(struct seq_file *sfile, void *v, loff_t *pos) in adf_ring_next() argument
31 struct adf_etr_ring_data *ring = sfile->private; in adf_ring_next()
41 static int adf_ring_show(struct seq_file *sfile, void *v) in adf_ring_show() argument
43 struct adf_etr_ring_data *ring = sfile->private; in adf_ring_show()
57 seq_puts(sfile, "------- Ring configuration -------\n"); in adf_ring_show()
58 seq_printf(sfile, "ring name: %s\n", in adf_ring_show()
60 seq_printf(sfile, "ring num %d, bank num %d\n", in adf_ring_show()
62 seq_printf(sfile, "hea in adf_ring_show()
76 adf_ring_stop(struct seq_file *sfile, void *v) adf_ring_stop() argument
119 adf_bank_start(struct seq_file *sfile, loff_t *pos) adf_bank_start() argument
134 adf_bank_next(struct seq_file *sfile, void *v, loff_t *pos) adf_bank_next() argument
145 adf_bank_show(struct seq_file *sfile, void *v) adf_bank_show() argument
177 adf_bank_stop(struct seq_file *sfile, void *v) adf_bank_stop() argument
[all...]
H A Dadf_fw_counters.c136 static void *qat_fw_counters_seq_start(struct seq_file *sfile, loff_t *pos) in qat_fw_counters_seq_start() argument
138 struct adf_fw_counters *fw_counters = sfile->private; in qat_fw_counters_seq_start()
149 static void *qat_fw_counters_seq_next(struct seq_file *sfile, void *v, loff_t *pos) in qat_fw_counters_seq_next() argument
151 struct adf_fw_counters *fw_counters = sfile->private; in qat_fw_counters_seq_next()
161 static void qat_fw_counters_seq_stop(struct seq_file *sfile, void *v) {} in qat_fw_counters_seq_stop() argument
163 static int qat_fw_counters_seq_show(struct seq_file *sfile, void *v) in qat_fw_counters_seq_show() argument
168 seq_puts(sfile, "AE "); in qat_fw_counters_seq_show()
170 seq_printf(sfile, " %*s", ADF_FW_COUNTERS_MAX_PADDING, in qat_fw_counters_seq_show()
175 seq_printf(sfile, "%2d:", ae_counters->ae); in qat_fw_counters_seq_show()
177 seq_printf(sfile, " in qat_fw_counters_seq_show()
[all...]
H A Dadf_cfg.c13 static void *qat_dev_cfg_start(struct seq_file *sfile, loff_t *pos) in qat_dev_cfg_start() argument
15 struct adf_cfg_device_data *dev_cfg = sfile->private; in qat_dev_cfg_start()
21 static int qat_dev_cfg_show(struct seq_file *sfile, void *v) in qat_dev_cfg_show() argument
27 seq_printf(sfile, "[%s]\n", sec->name); in qat_dev_cfg_show()
31 seq_printf(sfile, "%s = %s\n", ptr->key, ptr->val); in qat_dev_cfg_show()
36 static void *qat_dev_cfg_next(struct seq_file *sfile, void *v, loff_t *pos) in qat_dev_cfg_next() argument
38 struct adf_cfg_device_data *dev_cfg = sfile->private; in qat_dev_cfg_next()
43 static void qat_dev_cfg_stop(struct seq_file *sfile, void *v) in qat_dev_cfg_stop() argument
/third_party/ltp/testcases/kernel/syscalls/madvise/
H A Dmadvise01.c30 static char *sfile; variable
39 {MADV_NORMAL, "MADV_NORMAL", &sfile},
40 {MADV_RANDOM, "MADV_RANDOM", &sfile},
41 {MADV_SEQUENTIAL, "MADV_SEQUENTIAL", &sfile},
42 {MADV_WILLNEED, "MADV_WILLNEED", &sfile},
43 {MADV_DONTNEED, "MADV_DONTNEED", &sfile},
44 {MADV_REMOVE, "MADV_REMOVE", &sfile}, /* since Linux 2.6.16 */
45 {MADV_DONTFORK, "MADV_DONTFORK", &sfile}, /* since Linux 2.6.16 */
46 {MADV_DOFORK, "MADV_DOFORK", &sfile}, /* since Linux 2.6.16 */
47 {MADV_HWPOISON, "MADV_HWPOISON", &sfile}, /* sinc
[all...]
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/
H A Dadf_transport_debug.c13 static void *adf_ring_start(struct seq_file *sfile, loff_t *pos) in adf_ring_start() argument
15 struct adf_etr_ring_data *ring = sfile->private; in adf_ring_start()
29 static void *adf_ring_next(struct seq_file *sfile, void *v, loff_t *pos) in adf_ring_next() argument
31 struct adf_etr_ring_data *ring = sfile->private; in adf_ring_next()
41 static int adf_ring_show(struct seq_file *sfile, void *v) in adf_ring_show() argument
43 struct adf_etr_ring_data *ring = sfile->private; in adf_ring_show()
56 seq_puts(sfile, "------- Ring configuration -------\n"); in adf_ring_show()
57 seq_printf(sfile, "ring name: %s\n", in adf_ring_show()
59 seq_printf(sfile, "ring num %d, bank num %d\n", in adf_ring_show()
61 seq_printf(sfile, "hea in adf_ring_show()
75 adf_ring_stop(struct seq_file *sfile, void *v) adf_ring_stop() argument
118 adf_bank_start(struct seq_file *sfile, loff_t *pos) adf_bank_start() argument
130 adf_bank_next(struct seq_file *sfile, void *v, loff_t *pos) adf_bank_next() argument
138 adf_bank_show(struct seq_file *sfile, void *v) adf_bank_show() argument
169 adf_bank_stop(struct seq_file *sfile, void *v) adf_bank_stop() argument
[all...]
H A Dadf_cfg.c13 static void *qat_dev_cfg_start(struct seq_file *sfile, loff_t *pos) in qat_dev_cfg_start() argument
15 struct adf_cfg_device_data *dev_cfg = sfile->private; in qat_dev_cfg_start()
21 static int qat_dev_cfg_show(struct seq_file *sfile, void *v) in qat_dev_cfg_show() argument
27 seq_printf(sfile, "[%s]\n", sec->name); in qat_dev_cfg_show()
31 seq_printf(sfile, "%s = %s\n", ptr->key, ptr->val); in qat_dev_cfg_show()
36 static void *qat_dev_cfg_next(struct seq_file *sfile, void *v, loff_t *pos) in qat_dev_cfg_next() argument
38 struct adf_cfg_device_data *dev_cfg = sfile->private; in qat_dev_cfg_next()
43 static void qat_dev_cfg_stop(struct seq_file *sfile, void *v) in qat_dev_cfg_stop() argument
/kernel/linux/linux-5.10/drivers/scsi/
H A Dscsi_proc.c387 static void *scsi_seq_start(struct seq_file *sfile, loff_t *pos) in scsi_seq_start() argument
395 sfile->private++; in scsi_seq_start()
400 static void *scsi_seq_next(struct seq_file *sfile, void *v, loff_t *pos) in scsi_seq_next() argument
403 sfile->private++; in scsi_seq_next()
407 static void scsi_seq_stop(struct seq_file *sfile, void *v) in scsi_seq_stop() argument
412 static int scsi_seq_show(struct seq_file *sfile, void *dev) in scsi_seq_show() argument
414 if (!sfile->private) in scsi_seq_show()
415 seq_puts(sfile, "Attached devices:\n"); in scsi_seq_show()
417 return proc_print_scsidevice(dev, sfile); in scsi_seq_show()
/kernel/linux/linux-6.6/drivers/scsi/
H A Dscsi_proc.c482 static void *scsi_seq_start(struct seq_file *sfile, loff_t *pos) in scsi_seq_start() argument
490 sfile->private++; in scsi_seq_start()
495 static void *scsi_seq_next(struct seq_file *sfile, void *v, loff_t *pos) in scsi_seq_next() argument
498 sfile->private++; in scsi_seq_next()
502 static void scsi_seq_stop(struct seq_file *sfile, void *v) in scsi_seq_stop() argument
507 static int scsi_seq_show(struct seq_file *sfile, void *dev) in scsi_seq_show() argument
509 if (!sfile->private) in scsi_seq_show()
510 seq_puts(sfile, "Attached devices:\n"); in scsi_seq_show()
512 return proc_print_scsidevice(dev, sfile); in scsi_seq_show()
/third_party/python/Lib/test/test_tools/
H A Dtest_i18n.py323 encoding='utf-8') as sfile:
324 sfile.write(f'_({text1!r})')
327 encoding='utf-8') as sfile:
328 sfile.write(f'_({text2!r})')
331 encoding='utf-8') as sfile:
332 sfile.write(f'_({text3!r})')
/kernel/linux/linux-5.10/drivers/gpio/
H A Dgpio-mockup.c266 struct seq_file *sfile; in gpio_mockup_debugfs_read() local
274 sfile = file->private_data; in gpio_mockup_debugfs_read()
275 priv = sfile->private; in gpio_mockup_debugfs_read()
291 struct seq_file *sfile; in gpio_mockup_debugfs_write() local
302 sfile = file->private_data; in gpio_mockup_debugfs_write()
303 priv = sfile->private; in gpio_mockup_debugfs_write()
/kernel/linux/linux-5.10/scripts/
H A Dcheckkconfigsymbols.py378 for sfile in source_files:
379 referenced_symbols[sfile] = parse_source_file(sfile)
383 def parse_source_file(sfile):
384 """Parse @sfile and return a list of referenced Kconfig symbols."""
388 if not os.path.exists(sfile):
391 with open(sfile, "r", encoding='utf-8', errors='replace') as stream:
/kernel/linux/linux-6.6/drivers/gpio/
H A Dgpio-mockup.c265 struct seq_file *sfile; in gpio_mockup_debugfs_read() local
273 sfile = file->private_data; in gpio_mockup_debugfs_read()
274 priv = sfile->private; in gpio_mockup_debugfs_read()
290 struct seq_file *sfile; in gpio_mockup_debugfs_write() local
301 sfile = file->private_data; in gpio_mockup_debugfs_write()
302 priv = sfile->private; in gpio_mockup_debugfs_write()
/kernel/linux/linux-6.6/scripts/
H A Dcheckkconfigsymbols.py380 for sfile in source_files:
381 referenced_symbols[sfile] = parse_source_file(sfile)
385 def parse_source_file(sfile):
386 """Parse @sfile and return a list of referenced Kconfig symbols."""
390 if not os.path.exists(sfile):
393 with open(sfile, "r", encoding='utf-8', errors='replace') as stream:
/third_party/ltp/testcases/kernel/fs/linktest/
H A Dlinktest.sh65 touch hlink.$$/hfile slink.$$/sfile
/kernel/linux/linux-6.6/drivers/pinctrl/
H A Dpinmux.c683 struct seq_file *sfile = file->private_data; in pinmux_select() local
684 struct pinctrl_dev *pctldev = sfile->private; in pinmux_select()
/third_party/python/Lib/
H A Dconfigparser.py738 sfile = io.StringIO(string)
739 self.read_file(sfile, source)
/third_party/python/Lib/test/
H A Dtest_argparse.py3402 sfile = StdIOBuffer()
3403 print_(sfile)
3404 parser_text = sfile.getvalue()

Completed in 19 milliseconds