Home
last modified time | relevance | path

Searched refs:proc_entry (Results 1 – 25 of 25) sorted by relevance

/linux/tools/tracing/rtla/src/
H A Dutils.c311 * Return: True if the proc_entry contains a comm file with comm_prefix*. in procfs_is_workload_pid()
314 static int procfs_is_workload_pid(const char *comm_prefix, struct dirent *proc_entry) in procfs_is_workload_pid()
320 if (proc_entry->d_type != DT_DIR) in procfs_is_workload_pid()
323 if (*proc_entry->d_name == '.') in procfs_is_workload_pid()
327 for (t_name = proc_entry->d_name; *t_name; t_name++) {
335 snprintf(buffer, MAX_PATH, "/proc/%s/comm", proc_entry->d_name); in set_comm_sched_attr()
353 debug_msg("Found workload pid:%s comm:%s", proc_entry->d_name, buffer); in set_comm_sched_attr()
368 struct dirent *proc_entry; in set_comm_sched_attr()
385 while ((proc_entry = readdir(procfs))) { in get_long_ns_after_colon()
387 retval = procfs_is_workload_pid(comm_prefix, proc_entry); in get_long_ns_after_colon()
283 procfs_is_workload_pid(const char * comm_prefix,struct dirent * proc_entry) procfs_is_workload_pid() argument
337 struct dirent *proc_entry; set_comm_sched_attr() local
858 struct dirent *proc_entry; set_comm_cgroup() local
[all...]
/linux/fs/proc/
H A Dproc_tty.c135 if (!driver->driver_name || driver->proc_entry || in proc_tty_register_driver()
141 driver->proc_entry = ent; in proc_tty_register_driver()
151 ent = driver->proc_entry; in proc_tty_unregister_driver()
157 driver->proc_entry = NULL; in proc_tty_unregister_driver()
/linux/drivers/net/bonding/
H A Dbond_procfs.c291 bond->proc_entry = proc_create_seq_data(bond_dev->name, 0444, in bond_create_proc_entry()
293 if (bond->proc_entry == NULL) in bond_create_proc_entry()
306 if (bn->proc_dir && bond->proc_entry) { in bond_remove_proc_entry()
309 bond->proc_entry = NULL; in bond_remove_proc_entry()
/linux/tools/perf/util/
H A Ddrm_pmu.c473 struct dirent *proc_entry; in for_each_drm_fdinfo()
491 while ((proc_entry = readdir(proc_dir)) != NULL) { in for_each_drm_fdinfo()
492 if (proc_entry->d_type != DT_DIR || in for_each_drm_fdinfo()
493 !isdigit(proc_entry->d_name[0])) in for_each_drm_fdinfo()
500 dirfd(proc_dir), proc_entry->d_name, in for_each_drm_fdinfo()
477 struct dirent *proc_entry; for_each_drm_fdinfo() local
H A Devsel.c3934 struct dirent *proc_entry; in dump_perf_event_processes()
3942 while ((proc_entry = readdir(proc_dir)) != NULL) { in dump_perf_event_processes()
3948 if (proc_entry->d_type != DT_DIR || in dump_perf_event_processes()
3949 !isdigit(proc_entry->d_name[0]) || in dump_perf_event_processes()
3950 strlen(proc_entry->d_name) > sizeof(buf) - 4) in dump_perf_event_processes()
3953 scnprintf(buf, sizeof(buf), "%s/fd", proc_entry->d_name); in dump_perf_event_processes()
3975 scnprintf(buf, sizeof(buf), "%s/cmdline", proc_entry->d_name); in arch_evsel__open_strerror()
3993 "%s %s\n", proc_entry->d_name, buf); in evsel__open_strerror()
3902 struct dirent *proc_entry; dump_perf_event_processes() local
/linux/include/sound/
H A Dpcm_oss.h66 struct snd_info_entry *proc_entry; member
H A Dmixer_oss.h50 struct snd_info_entry *proc_entry; member
H A Dsb.h96 struct snd_info_entry *proc_entry; member
/linux/drivers/video/fbdev/via/
H A Dviafbdev.h33 struct proc_dir_entry *proc_entry; /*viafb proc entry */ member
H A Dviafbdev.c1573 shared->proc_entry = viafb_entry; in viafb_init_proc()
1600 struct proc_dir_entry *viafb_entry = shared->proc_entry; in viafb_remove_proc()
/linux/net/atm/
H A Dproc.c350 dev->proc_entry = proc_create_data(dev->proc_name, 0, atm_proc_root, in atm_proc_dev_register()
352 if (!dev->proc_entry) in atm_proc_dev_register()
/linux/sound/drivers/opl4/
H A Dopl4_local.h182 struct snd_info_entry *proc_entry; member
/linux/drivers/usb/gadget/function/
H A Drndis.c904 struct proc_dir_entry *proc_entry; in rndis_register() local
908 proc_entry = proc_create_data(name, 0660, NULL, in rndis_register()
910 if (!proc_entry) { in rndis_register()
/linux/sound/soc/codecs/
H A Dhdmi-codec.c292 struct snd_info_entry *proc_entry; member
871 hcp->proc_entry = entry; in hdmi_dai_proc_new()
878 snd_info_free_entry(hcp->proc_entry); in hdmi_dai_proc_free()
879 hcp->proc_entry = NULL; in hdmi_dai_proc_free()
/linux/sound/hda/codecs/hdmi/
H A Dhdmi_local.h56 struct snd_info_entry *proc_entry; member
H A Dhdmi.c319 per_pin->proc_entry = entry; in eld_proc_new()
327 snd_info_free_entry(per_pin->proc_entry); in eld_proc_free()
328 per_pin->proc_entry = NULL; in eld_proc_free()
/linux/sound/pci/ymfpci/
H A Dymfpci.h387 struct snd_info_entry *proc_entry; member
/linux/sound/pci/ice1712/
H A Dice1712.h316 struct snd_info_entry *proc_entry; member
/linux/sound/core/oss/
H A Dmixer_oss.c1221 mixer->proc_entry = entry; in snd_mixer_oss_proc_init()
1226 snd_info_free_entry(mixer->proc_entry); in snd_mixer_oss_proc_done()
1227 mixer->proc_entry = NULL; in snd_mixer_oss_proc_done()
H A Dpcm_oss.c3101 pstr->oss.proc_entry = entry;
3110 snd_info_free_entry(pstr->oss.proc_entry);
3111 pstr->oss.proc_entry = NULL;
/linux/sound/core/
H A Drawmidi.c1926 snd_info_free_entry(rmidi->proc_entry); in snd_rawmidi_free()
1927 rmidi->proc_entry = NULL; in snd_rawmidi_free()
2028 rmidi->proc_entry = entry; in snd_rawmidi_dev_register()
/linux/include/net/
H A Dbonding.h239 struct proc_dir_entry *proc_entry; member
/linux/sound/pci/
H A Dvia82xx_modem.c245 struct snd_info_entry *proc_entry; member
H A Dvia82xx.c383 struct snd_info_entry *proc_entry; member
/linux/sound/pci/riptide/
H A Driptide.c449 struct snd_info_entry *proc_entry; member