Searched refs:sys (Results 1 - 200 of 1084) sorted by relevance

123456

/linux-4.4.14/drivers/ps3/
H A DMakefile4 obj-$(CONFIG_PPC_PS3) += sys-manager-core.o
5 obj-$(CONFIG_PS3_SYS_MANAGER) += ps3-sys-manager.o
/linux-4.4.14/fs/ocfs2/cluster/
H A DMakefile3 ocfs2_nodemanager-objs := heartbeat.o masklog.o sys.o nodemanager.o \
H A Dsys.c4 * sys.c
35 #include "sys.h"
H A Dsys.h4 * sys.h
/linux-4.4.14/drivers/clk/at91/
H A Dclk-system.c44 struct clk_system *sys = (struct clk_system *)dev_id; clk_system_irq_handler() local
46 wake_up(&sys->wait); clk_system_irq_handler()
47 disable_irq_nosync(sys->irq); clk_system_irq_handler()
54 struct clk_system *sys = to_clk_system(hw); clk_system_prepare() local
55 struct at91_pmc *pmc = sys->pmc; clk_system_prepare()
56 u32 mask = 1 << sys->id; clk_system_prepare()
60 if (!is_pck(sys->id)) clk_system_prepare()
64 if (sys->irq) { clk_system_prepare()
65 enable_irq(sys->irq); clk_system_prepare()
66 wait_event(sys->wait, clk_system_prepare()
76 struct clk_system *sys = to_clk_system(hw); clk_system_unprepare() local
77 struct at91_pmc *pmc = sys->pmc; clk_system_unprepare()
79 pmc_write(pmc, AT91_PMC_SCDR, 1 << sys->id); clk_system_unprepare()
84 struct clk_system *sys = to_clk_system(hw); clk_system_is_prepared() local
85 struct at91_pmc *pmc = sys->pmc; clk_system_is_prepared()
87 if (!(pmc_read(pmc, AT91_PMC_SCSR) & (1 << sys->id))) clk_system_is_prepared()
90 if (!is_pck(sys->id)) clk_system_is_prepared()
93 return !!(pmc_read(pmc, AT91_PMC_SR) & (1 << sys->id)); clk_system_is_prepared()
106 struct clk_system *sys; at91_clk_register_system() local
114 sys = kzalloc(sizeof(*sys), GFP_KERNEL); at91_clk_register_system()
115 if (!sys) at91_clk_register_system()
124 sys->id = id; at91_clk_register_system()
125 sys->hw.init = &init; at91_clk_register_system()
126 sys->pmc = pmc; at91_clk_register_system()
127 sys->irq = irq; at91_clk_register_system()
129 init_waitqueue_head(&sys->wait); at91_clk_register_system()
130 irq_set_status_flags(sys->irq, IRQ_NOAUTOEN); at91_clk_register_system()
131 ret = request_irq(sys->irq, clk_system_irq_handler, at91_clk_register_system()
132 IRQF_TRIGGER_HIGH, name, sys); at91_clk_register_system()
134 kfree(sys); at91_clk_register_system()
139 clk = clk_register(NULL, &sys->hw); at91_clk_register_system()
142 free_irq(sys->irq, sys); at91_clk_register_system()
143 kfree(sys); at91_clk_register_system()
/linux-4.4.14/tools/perf/scripts/python/
H A Dsctop.py11 import os, sys, thread, time
13 sys.path.append(os.environ['PERF_EXEC_PATH'] + \
26 if len(sys.argv) > 3:
27 sys.exit(usage)
29 if len(sys.argv) > 2:
30 for_comm = sys.argv[1]
31 interval = int(sys.argv[2])
32 elif len(sys.argv) > 1:
34 interval = int(sys.argv[1])
36 for_comm = sys.argv[1]
H A Dfailed-syscalls-by-pid.py9 import sys
11 sys.path.append(os.environ['PERF_EXEC_PATH'] + \
23 if len(sys.argv) > 2:
24 sys.exit(usage)
26 if len(sys.argv) > 1:
28 for_pid = int(sys.argv[1])
30 for_comm = sys.argv[1]
H A Dsyscall-counts-by-pid.py8 import os, sys
10 sys.path.append(os.environ['PERF_EXEC_PATH'] + \
22 if len(sys.argv) > 2:
23 sys.exit(usage)
25 if len(sys.argv) > 1:
27 for_pid = int(sys.argv[1])
29 for_comm = sys.argv[1]
H A Dsyscall-counts.py9 import sys
11 sys.path.append(os.environ['PERF_EXEC_PATH'] + \
22 if len(sys.argv) > 2:
23 sys.exit(usage)
25 if len(sys.argv) > 1:
26 for_comm = sys.argv[1]
H A Dcompaction-times.py5 # 'echo 1 > /proc/sys/vm/compact_memory' to force compaction of all zones
8 import sys
138 sys.stderr.write("missing start compaction event for pid %d\n" % pid)
147 sys.stderr.write("missing start compaction event for pid %d\n" % pid)
192 sys.stdout.write("%d[%s].%d: %s\n" % (self.pid, self.comm, i+1, pelem))
202 sys.stdout.write("%d[%s]: %s\n" % (self.pid, self.comm, self.val))
206 sys.stdout.write("total: %s\n" % chead.str())
249 sys.stdout.write(usage)
250 sys.stdout.write("\n")
251 sys.stdout.write("-h display this help\n")
252 sys.stdout.write("-p display by process\n")
253 sys.stdout.write("-pv display by process (verbose)\n")
254 sys.stdout.write("-t display stall times only\n")
255 sys.stdout.write("-m display stats for migration\n")
256 sys.stdout.write("-fs display stats for free scanner\n")
257 sys.stdout.write("-ms display stats for migration scanner\n")
258 sys.stdout.write("-u display results in microseconds (default nanoseconds)\n")
270 argc = len(sys.argv) - 1
274 for i, opt in enumerate(sys.argv[1:]):
294 sys.exit(usage)
307 sys.stderr.write("invalid regex '%s'" % opt)
308 sys.exit(usage)
H A Dcheck-perf-trace.py11 import sys
13 sys.path.append(os.environ['PERF_EXEC_PATH'] + \
H A Dfutex-contention.py13 import os, sys
14 sys.path.append(os.environ['PERF_EXEC_PATH'] + '/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
H A Dnet_dropmonitor.py4 import sys
6 sys.path.append(os.environ['PERF_EXEC_PATH'] + \
/linux-4.4.14/drivers/staging/iio/frequency/
H A Ddds.h12 * /sys/bus/iio/devices/.../out_altvoltageX_frequencyY
20 * /sys/bus/iio/devices/.../out_altvoltageX_frequencyY_scale
27 * /sys/bus/iio/devices/.../out_altvoltageX_frequencysymbol
35 * /sys/bus/iio/devices/.../out_altvoltageX_phaseY
43 * /sys/bus/iio/devices/.../out_altvoltageX_phaseY_scale
50 * /sys/bus/iio/devices/.../out_altvoltageX_phasesymbol
58 * /sys/bus/iio/devices/.../out_altvoltageX_pincontrol_en
66 * /sys/bus/iio/devices/.../out_altvoltageX_pincontrol_frequency_en
74 * /sys/bus/iio/devices/.../out_altvoltageX_pincontrol_phase_en
82 * /sys/bus/iio/devices/.../out_altvoltageX_out_enable
90 * /sys/bus/iio/devices/.../out_altvoltageX_outY_enable
99 * /sys/bus/iio/devices/.../out_altvoltageX_outY_wavetype
107 * /sys/bus/iio/devices/.../out_altvoltageX_outY_wavetype_available
/linux-4.4.14/Documentation/mic/mpssd/
H A Dmpssd.h34 #include <sys/dir.h>
35 #include <sys/ioctl.h>
36 #include <sys/poll.h>
37 #include <sys/types.h>
38 #include <sys/socket.h>
39 #include <sys/stat.h>
40 #include <sys/types.h>
41 #include <sys/mman.h>
42 #include <sys/utsname.h>
43 #include <sys/wait.h>
57 #define MICSYSFSDIR "/sys/class/mic"
/linux-4.4.14/Documentation/networking/
H A Dcxacru-cf.py29 import sys
34 buf = sys.stdin.read(4)
39 sys.stdout.write("\n")
40 sys.stderr.write("Error: read {0} not 4 bytes\n".format(len(buf)))
41 sys.exit(1)
44 sys.stdout.write(" ")
45 sys.stdout.write("{0:x}={1}".format(i, struct.unpack("<I", buf)[0]))
48 sys.stdout.write("\n")
/linux-4.4.14/tools/perf/tests/
H A Dpython-use.c16 if (asprintf(&cmd, "echo \"import sys ; sys.path.append('%s'); import perf\" | %s %s", test__python_use()
H A Dthread-map.c1 #include <sys/types.h>
H A Dopenat-syscall.c31 "tweak /proc/sys/kernel/perf_event_paranoid?\n", test__openat_syscall_event()
H A Dbp_signal_overflow.c16 #include <sys/ioctl.h>
20 #include <sys/mman.h>
H A Dsw-clock.c4 #include <sys/mman.h>
69 const char *knob = "/proc/sys/kernel/perf_event_max_sample_rate"; __test__sw_clock_freq()
/linux-4.4.14/tools/usb/usbip/libsrc/
H A Dsysfs_utils.c1 #include <sys/types.h>
2 #include <sys/stat.h>
H A Dvhci_driver.h31 /* /sys/devices/platform/vhci_hcd */
/linux-4.4.14/arch/arm/mach-dove/
H A Dpcie.c38 static int __init dove_pcie_setup(int nr, struct pci_sys_data *sys) dove_pcie_setup() argument
46 sys->private_data = pp; dove_pcie_setup()
47 pp->root_bus_nr = sys->busnr; dove_pcie_setup()
52 orion_pcie_set_local_bus_nr(pp->base, sys->busnr); dove_pcie_setup()
57 pci_ioremap_io(sys->busnr * SZ_64K, DOVE_PCIE0_IO_PHYS_BASE); dove_pcie_setup()
59 pci_ioremap_io(sys->busnr * SZ_64K, DOVE_PCIE1_IO_PHYS_BASE); dove_pcie_setup()
78 pci_add_resource_offset(&sys->resources, &pp->res, sys->mem_offset); dove_pcie_setup()
98 struct pci_sys_data *sys = bus->sysdata; pcie_rd_conf() local
99 struct pcie_port *pp = sys->private_data; pcie_rd_conf()
118 struct pci_sys_data *sys = bus->sysdata; pcie_wr_conf() local
119 struct pcie_port *pp = sys->private_data; pcie_wr_conf()
156 dove_pcie_scan_bus(int nr, struct pci_sys_data *sys) dove_pcie_scan_bus() argument
163 return pci_scan_root_bus(NULL, sys->busnr, &pcie_ops, sys, dove_pcie_scan_bus()
164 &sys->resources); dove_pcie_scan_bus()
169 struct pci_sys_data *sys = dev->sysdata; dove_pcie_map_irq() local
170 struct pcie_port *pp = sys->private_data; dove_pcie_map_irq()
/linux-4.4.14/scripts/
H A Dbloat-o-meter10 import sys, os, re
12 if len(sys.argv) != 3:
13 sys.stderr.write("usage: %s file1 file2\n" % sys.argv[0])
14 sys.exit(-1)
31 old = getsizes(sys.argv[1])
32 new = getsizes(sys.argv[2])
H A Ddiffconfig10 import sys, os
36 sys.exit(0)
71 if ("-h" in sys.argv or "--help" in sys.argv):
75 if "-m" in sys.argv:
77 sys.argv.remove("-m")
79 argc = len(sys.argv)
92 configa_filename = sys.argv[1]
93 configb_filename = sys.argv[2]
99 e = sys.exc_info()[1]
H A Dshow_delta12 import sys
39 sys.exit(1)
83 for arg in sys.argv[1:]:
85 base_str = sys.argv[sys.argv.index("-b")+1]
98 sys.exit(1)
121 sys.exit(1)
/linux-4.4.14/tools/perf/util/
H A Dtrace-event.c6 #include <sys/types.h>
7 #include <sys/stat.h>
74 tp_format(const char *sys, const char *name) tp_format() argument
84 tracing_events_path, sys, name); tp_format()
90 pevent_parse_format(pevent, &event, data, size, sys); tp_format()
100 trace_event__tp_format(const char *sys, const char *name) trace_event__tp_format() argument
105 return tp_format(sys, name); trace_event__tp_format()
H A Dxyarray.h4 #include <sys/types.h>
H A Dtrace-event-info.c28 #include <sys/types.h>
29 #include <sys/stat.h>
30 #include <sys/wait.h>
162 static bool name_in_tp_list(char *sys, struct tracepoint_path *tps) name_in_tp_list() argument
165 if (!strcmp(sys, tps->name)) name_in_tp_list()
173 static int copy_event_system(const char *sys, struct tracepoint_path *tps) copy_event_system() argument
183 dir = opendir(sys); copy_event_system()
185 pr_debug("can't read directory '%s'", sys); copy_event_system()
195 if (asprintf(&format, "%s/%s/format", sys, dent->d_name) < 0) { copy_event_system()
219 if (asprintf(&format, "%s/%s/format", sys, dent->d_name) < 0) { copy_event_system()
258 static bool system_in_tp_list(char *sys, struct tracepoint_path *tps) system_in_tp_list() argument
261 if (!strcmp(sys, tps->system)) system_in_tp_list()
274 char *sys; record_event_files() local
317 if (asprintf(&sys, "%s/%s", path, dent->d_name) < 0) { record_event_files()
321 ret = stat(sys, &st); record_event_files()
326 copy_event_system(sys, tps) < 0) { record_event_files()
328 free(sys); record_event_files()
332 free(sys); record_event_files()
H A Dzlib.c3 #include <sys/stat.h>
4 #include <sys/mman.h>
H A Dtrace-event-read.c26 #include <sys/types.h>
27 #include <sys/stat.h>
28 #include <sys/wait.h>
29 #include <sys/mman.h>
279 static int read_event_file(struct pevent *pevent, char *sys, read_event_file() argument
293 parse_event_file(pevent, buf, size, sys); read_event_file()
319 char *sys; read_event_files() local
328 sys = read_string(); read_event_files()
329 if (sys == NULL) read_event_files()
336 ret = read_event_file(pevent, sys, size); read_event_files()
H A Dutil.h48 #include <sys/stat.h>
49 #include <sys/statfs.h>
58 #include <sys/param.h>
59 #include <sys/types.h>
61 #include <sys/time.h>
68 #include <sys/wait.h>
70 #include <sys/socket.h>
71 #include <sys/ioctl.h>
76 #include <sys/ttydefaults.h>
H A Dthread_map.h4 #include <sys/types.h>
H A Ddata.c3 #include <sys/types.h>
4 #include <sys/stat.h>
H A Dtrace-event.h24 trace_event__tp_format(const char *sys, const char *name);
36 char *buf, unsigned long size, char *sys);
/linux-4.4.14/tools/testing/selftests/firmware/
H A Dfw_filesystem.sh10 DIR=/sys/devices/virtual/misc/test_firmware
12 # CONFIG_FW_LOADER_USER_HELPER has a sysfs class under /sys/class/firmware/
15 HAS_FW_LOADER_USER_HELPER=$(if [ -d /sys/class/firmware/ ]; then echo yes; else echo no; fi)
18 OLD_TIMEOUT=$(cat /sys/class/firmware/timeout)
21 OLD_FWPATH=$(cat /sys/module/firmware_class/parameters/path)
29 echo "$OLD_TIMEOUT" >/sys/class/firmware/timeout
31 echo -n "$OLD_PATH" >/sys/module/firmware_class/parameters/path
40 echo 1 >/sys/class/firmware/timeout
44 echo -n "$FWPATH" >/sys/module/firmware_class/parameters/path
H A Dfw_userhelper.sh10 DIR=/sys/devices/virtual/misc/test_firmware
12 # CONFIG_FW_LOADER_USER_HELPER has a sysfs class under /sys/class/firmware/
15 HAS_FW_LOADER_USER_HELPER=$(if [ -d /sys/class/firmware/ ]; then echo yes; else echo no; fi)
18 OLD_TIMEOUT=$(cat /sys/class/firmware/timeout)
29 echo "$OLD_TIMEOUT" >/sys/class/firmware/timeout
68 echo 1 >/sys/class/firmware/timeout
79 echo 4 >/sys/class/firmware/timeout
/linux-4.4.14/tools/testing/selftests/vm/
H A Don-fault-limit.c1 #include <sys/mman.h>
5 #include <sys/time.h>
6 #include <sys/resource.h>
H A Dcompaction_test.c11 #include <sys/mman.h>
12 #include <sys/resource.h>
58 fd = open("/proc/sys/vm/compact_unevictable_allowed", prereq()
62 "/proc/sys/vm/compact_unevictable_allowed\n"); prereq()
68 "/proc/sys/vm/compact_unevictable_allowed\n"); prereq()
91 fd = open("/proc/sys/vm/nr_hugepages", O_RDWR | O_NONBLOCK); check_compaction()
93 perror("Failed to open /proc/sys/vm/nr_hugepages"); check_compaction()
98 perror("Failed to read from /proc/sys/vm/nr_hugepages"); check_compaction()
104 perror("Failed to write to /proc/sys/vm/nr_hugepages\n"); check_compaction()
113 perror("Failed to write to /proc/sys/vm/nr_hugepages\n"); check_compaction()
120 perror("Failed to read from /proc/sys/vm/nr_hugepages\n"); check_compaction()
141 perror("Failed to write to /proc/sys/vm/nr_hugepages\n"); check_compaction()
H A Dhugepage-shm.c20 * echo 268435456 > /proc/sys/kernel/shmmax
27 * echo 4194304 > /proc/sys/kernel/shmall
32 #include <sys/types.h>
33 #include <sys/ipc.h>
34 #include <sys/shm.h>
35 #include <sys/mman.h>
H A Dthuge-gen.c15 #include <sys/mman.h>
18 #include <sys/ipc.h>
19 #include <sys/shm.h>
20 #include <sys/stat.h>
62 glob("/sys/kernel/mm/hugepages/hugepages-*kB", 0, NULL, &g); find_pagesizes()
65 sscanf(g.gl_pathv[i], "/sys/kernel/mm/hugepages/hugepages-%lukB", find_pagesizes()
100 "cat /sys/kernel/mm/hugepages/hugepages-%lukB/free_hugepages", show()
135 "/sys/kernel/mm/hugepages/hugepages-%lukB/free_hugepages", read_free()
209 if (read_sysfs(0, "/proc/sys/kernel/shmmax") < NUM_PAGES * largest) { sanity_checks()
210 printf("Please do echo %lu > /proc/sys/kernel/shmmax", largest * NUM_PAGES); sanity_checks()
/linux-4.4.14/drivers/staging/fsl-mc/bus/
H A DMakefile11 mc-sys.o \
/linux-4.4.14/arch/um/drivers/
H A Dubd_user.c14 #include <sys/time.h>
15 #include <sys/socket.h>
16 #include <sys/mman.h>
17 #include <sys/param.h>
H A Ddaemon_user.c12 #include <sys/types.h>
13 #include <sys/socket.h>
14 #include <sys/time.h>
15 #include <sys/un.h>
/linux-4.4.14/arch/x86/um/os-Linux/
H A Dprctl.c6 #include <sys/ptrace.h>
H A Dtls.c4 #include <sys/ptrace.h>
5 #include <sys/syscall.h>
H A Dregisters.c8 #include <sys/ptrace.h>
10 #include <sys/user.h>
H A Dmcontext.c1 #include <sys/ucontext.h>
/linux-4.4.14/fs/gfs2/
H A DMakefile7 recovery.o rgrp.o super.o sys.o trans.o util.o
/linux-4.4.14/tools/build/feature/
H A Dtest-timerfd.c4 #include <sys/timerfd.h>
/linux-4.4.14/include/uapi/linux/
H A Dsysctl.h75 /* /proc/sys/fs/inotify/ */
228 /* /proc/sys/kernel/random */
239 /* /proc/sys/kernel/pty */
246 /* /proc/sys/bus/isa */
254 /* /proc/sys/net/core */
281 /* /proc/sys/net/ethernet */
283 /* /proc/sys/net/802 */
285 /* /proc/sys/net/unix */
294 /* /proc/sys/net/netfilter */
331 /* /proc/sys/net/ipv4 */
487 /* /proc/sys/net/ipv4/netfilter */
520 /* /proc/sys/net/ipv6 */
576 /* /proc/sys/net/ipv6/icmp */
581 /* /proc/sys/net/<protocol>/neigh/<dev> */
603 /* /proc/sys/net/dccp */
608 /* /proc/sys/net/ipx */
614 /* /proc/sys/net/llc */
620 /* /proc/sys/net/llc/llc2 */
625 /* /proc/sys/net/llc/station */
630 /* /proc/sys/net/llc/llc2/timeout */
638 /* /proc/sys/net/appletalk */
647 /* /proc/sys/net/netrom */
663 /* /proc/sys/net/ax25 */
681 /* /proc/sys/net/rose */
695 /* /proc/sys/net/x25 */
705 /* /proc/sys/net/token-ring */
711 /* /proc/sys/net/decnet/ */
730 /* /proc/sys/net/decnet/conf/<dev> */
742 /* /proc/sys/net/decnet/conf/<dev>/ */
753 /* /proc/sys/net/sctp */
774 /* /proc/sys/net/bridge */
783 /* proc/sys/net/irda */
828 /* /proc/sys/fs/quota/ */
854 /* /proc/sys/dev/cdrom */
864 /* /proc/sys/dev/parport */
869 /* /proc/sys/dev/raid */
875 /* /proc/sys/dev/parport/default */
881 /* /proc/sys/dev/parport/parport n */
892 /* /proc/sys/dev/parport/parport n/devices/ */
897 /* /proc/sys/dev/parport/parport n/devices/device n */
902 /* /proc/sys/dev/mac_hid */
912 /* /proc/sys/dev/scsi */
917 /* /proc/sys/dev/ipmi */
922 /* /proc/sys/abi */
H A Dposix_types.h13 * <sys/time.h> (and thus <linux/time.h>) - but this is a more logical
14 * place for them. Solved by having dummy defines in <sys/time.h>.
H A Datm_nicstar.h18 * sys/types.h for struct timeval
H A Dpatchkey.h9 * Do not include this file directly. Please use <sys/soundcard.h> instead.
H A Datm_zatm.h12 * sys/types.h for struct timeval
/linux-4.4.14/tools/testing/selftests/efivarfs/
H A Dcreate-read.c5 #include <sys/types.h>
6 #include <sys/stat.h>
H A Dopen-unlink.c6 #include <sys/ioctl.h>
7 #include <sys/types.h>
8 #include <sys/stat.h>
/linux-4.4.14/arch/ia64/scripts/
H A Dunwcheck.py15 import sys
17 if len(sys.argv) != 2:
18 print "Usage: %s FILE" % sys.argv[0]
19 sys.exit(2)
39 for line in os.popen("%s -u %s" % (readelf, sys.argv[1])):
64 sys.exit(1)
/linux-4.4.14/tools/testing/selftests/timers/
H A Dskew_consistency.c29 #include <sys/time.h>
30 #include <sys/timex.h>
32 #include <sys/types.h>
33 #include <sys/stat.h>
37 #include <sys/wait.h>
H A Dclocksource-switch.c29 #include <sys/time.h>
30 #include <sys/timex.h>
32 #include <sys/types.h>
33 #include <sys/stat.h>
36 #include <sys/wait.h>
58 fd = open("/sys/devices/system/clocksource/clocksource0/available_clocksource", O_RDONLY); get_clocksources()
90 fd = open("/sys/devices/system/clocksource/clocksource0/current_clocksource", O_RDONLY); get_cur_clocksource()
102 fd = open("/sys/devices/system/clocksource/clocksource0/current_clocksource", O_WRONLY); change_clocksource()
H A Dset-tai.c21 #include <sys/time.h>
22 #include <sys/timex.h>
/linux-4.4.14/arch/arm/kernel/
H A Dbios32.c380 struct pci_sys_data *sys = dev->sysdata; pcibios_swizzle() local
383 if (sys->swizzle) pcibios_swizzle()
384 slot = sys->swizzle(dev, pin); pcibios_swizzle()
400 struct pci_sys_data *sys = dev->sysdata; pcibios_map_irq() local
403 if (sys->map_irq) pcibios_map_irq()
404 irq = sys->map_irq(dev, slot, pin); pcibios_map_irq()
413 static int pcibios_init_resources(int busnr, struct pci_sys_data *sys) pcibios_init_resources() argument
418 if (list_empty(&sys->resources)) { pcibios_init_resources()
419 pci_add_resource_offset(&sys->resources, pcibios_init_resources()
420 &iomem_resource, sys->mem_offset); pcibios_init_resources()
423 resource_list_for_each_entry(window, &sys->resources) pcibios_init_resources()
427 sys->io_res.start = (busnr * SZ_64K) ? : pcibios_min_io; pcibios_init_resources()
428 sys->io_res.end = (busnr + 1) * SZ_64K - 1; pcibios_init_resources()
429 sys->io_res.flags = IORESOURCE_IO; pcibios_init_resources()
430 sys->io_res.name = sys->io_res_name; pcibios_init_resources()
431 sprintf(sys->io_res_name, "PCI%d I/O", busnr); pcibios_init_resources()
433 ret = request_resource(&ioport_resource, &sys->io_res); pcibios_init_resources()
438 pci_add_resource_offset(&sys->resources, &sys->io_res, pcibios_init_resources()
439 sys->io_offset); pcibios_init_resources()
447 struct pci_sys_data *sys = NULL; pcibios_init_hw() local
452 sys = kzalloc(sizeof(struct pci_sys_data), GFP_KERNEL); pcibios_init_hw()
453 if (WARN(!sys, "PCI: unable to allocate sys data!")) pcibios_init_hw()
456 sys->busnr = busnr; pcibios_init_hw()
457 sys->swizzle = hw->swizzle; pcibios_init_hw()
458 sys->map_irq = hw->map_irq; pcibios_init_hw()
459 INIT_LIST_HEAD(&sys->resources); pcibios_init_hw()
462 sys->private_data = hw->private_data[nr]; pcibios_init_hw()
464 ret = hw->setup(nr, sys); pcibios_init_hw()
469 ret = pcibios_init_resources(nr, sys); pcibios_init_hw()
471 kfree(sys); pcibios_init_hw()
476 sys->bus = hw->scan(nr, sys); pcibios_init_hw()
478 sys->bus = pci_scan_root_bus_msi(parent, pcibios_init_hw()
479 sys->busnr, hw->ops, sys, pcibios_init_hw()
480 &sys->resources, hw->msi_ctrl); pcibios_init_hw()
482 if (WARN(!sys->bus, "PCI: unable to scan bus!")) { pcibios_init_hw()
483 kfree(sys); pcibios_init_hw()
487 busnr = sys->bus->busn_res.end + 1; pcibios_init_hw()
489 list_add(&sys->node, head); pcibios_init_hw()
491 host_bridge = pci_find_host_bridge(sys->bus); pcibios_init_hw()
494 kfree(sys); pcibios_init_hw()
503 struct pci_sys_data *sys; pci_common_init_dev() local
515 list_for_each_entry(sys, &head, node) { pci_common_init_dev()
516 struct pci_bus *bus = sys->bus; pci_common_init_dev()
/linux-4.4.14/drivers/clk/pistachio/
H A Dclk-pistachio.c208 GATE(PERIPH_CLK_SYS, "sys", "periph_sys", 0x100, 0),
278 GATE(SYS_CLK_I2C0, "i2c0_sys", "sys", 0x8, 0),
279 GATE(SYS_CLK_I2C1, "i2c1_sys", "sys", 0x8, 1),
280 GATE(SYS_CLK_I2C2, "i2c2_sys", "sys", 0x8, 2),
281 GATE(SYS_CLK_I2C3, "i2c3_sys", "sys", 0x8, 3),
282 GATE(SYS_CLK_I2S_IN, "i2s_in_sys", "sys", 0x8, 4),
283 GATE(SYS_CLK_PAUD_OUT, "paud_out_sys", "sys", 0x8, 5),
284 GATE(SYS_CLK_SPDIF_OUT, "spdif_out_sys", "sys", 0x8, 6),
285 GATE(SYS_CLK_SPI0_MASTER, "spi0_master_sys", "sys", 0x8, 7),
286 GATE(SYS_CLK_SPI0_SLAVE, "spi0_slave_sys", "sys", 0x8, 8),
287 GATE(SYS_CLK_PWM, "pwm_sys", "sys", 0x8, 9),
288 GATE(SYS_CLK_UART0, "uart0_sys", "sys", 0x8, 10),
289 GATE(SYS_CLK_UART1, "uart1_sys", "sys", 0x8, 11),
290 GATE(SYS_CLK_SPI1, "spi1_sys", "sys", 0x8, 12),
291 GATE(SYS_CLK_MDC, "mdc_sys", "sys", 0x8, 13),
292 GATE(SYS_CLK_SD_HOST, "sd_host_sys", "sys", 0x8, 14),
293 GATE(SYS_CLK_ENET, "enet_sys", "sys", 0x8, 15),
294 GATE(SYS_CLK_IR, "ir_sys", "sys", 0x8, 16),
295 GATE(SYS_CLK_WD, "wd_sys", "sys", 0x8, 17),
296 GATE(SYS_CLK_TIMER, "timer_sys", "sys", 0x8, 18),
297 GATE(SYS_CLK_I2S_OUT, "i2s_out_sys", "sys", 0x8, 24),
298 GATE(SYS_CLK_SPDIF_IN, "spdif_in_sys", "sys", 0x8, 25),
299 GATE(SYS_CLK_EVENT_TIMER, "event_timer_sys", "sys", 0x8, 26),
300 GATE(SYS_CLK_HASH, "hash_sys", "sys", 0x8, 27),
/linux-4.4.14/tools/lib/api/fs/
H A Dtracing_path.c15 char tracing_mnt[PATH_MAX] = "/sys/kernel/debug";
16 char tracing_path[PATH_MAX] = "/sys/kernel/debug/tracing";
17 char tracing_events_path[PATH_MAX] = "/sys/kernel/debug/tracing/events";
111 "Hint:\tTry 'sudo mount -t debugfs nodev /sys/kernel/debug'"); strerror_open()
128 int tracing_path__strerror_open_tp(int err, char *buf, size_t size, const char *sys, const char *name) tracing_path__strerror_open_tp() argument
132 snprintf(path, PATH_MAX, "%s/%s", sys, name ?: "*"); tracing_path__strerror_open_tp()
H A Dtracing_path.h15 int tracing_path__strerror_open_tp(int err, char *buf, size_t size, const char *sys, const char *name);
H A Dfs.c8 #include <sys/vfs.h>
9 #include <sys/types.h>
10 #include <sys/stat.h>
13 #include <sys/mount.h>
37 "/sys",
47 #define DEBUGFS_DEFAULT_PATH "/sys/kernel/debug"
58 #define TRACEFS_DEFAULT_PATH "/sys/kernel/tracing"
63 "/sys/kernel/debug/tracing",
337 snprintf(path, sizeof(path), "%s/sys/%s", procfs, sysctl); sysctl__read_int()
/linux-4.4.14/arch/m68k/coldfire/
H A Dm5407.c24 DEFINE_CLK(sys, "sys.0", MCF_BUSCLK);
H A Dm5206.c24 DEFINE_CLK(sys, "sys.0", MCF_BUSCLK);
H A Dm523x.c27 DEFINE_CLK(sys, "sys.0", MCF_BUSCLK);
H A Dm5249.c24 DEFINE_CLK(sys, "sys.0", MCF_BUSCLK);
H A Dm525x.c24 DEFINE_CLK(sys, "sys.0", MCF_BUSCLK);
H A Dm5307.c33 DEFINE_CLK(sys, "sys.0", MCF_BUSCLK);
H A Dm520x.c46 DEFINE_CLK(0, "sys.0", 40, MCF_BUSCLK);
71 &__clk_0_40, /* sys.0 */
89 &__clk_0_40, /* sys.0 */
H A Dm5272.c35 DEFINE_CLK(sys, "sys.0", MCF_BUSCLK);
H A Dm527x.c28 DEFINE_CLK(sys, "sys.0", MCF_BUSCLK);
H A Dm528x.c29 DEFINE_CLK(sys, "sys.0", MCF_BUSCLK);
H A Dm54xx.c34 DEFINE_CLK(sys, "sys.0", MCF_BUSCLK);
/linux-4.4.14/net/ipx/
H A Dsysctl_net_ipx.c5 * Added /proc/sys/net/ipx directory entry (empty =) ). [MS]
6 * Added /proc/sys/net/ipx/ipx_pprop_broadcasting - acme March 4, 2001
/linux-4.4.14/tools/lib/lockdep/uinclude/linux/
H A Dlockdep.h4 #include <sys/prctl.h>
5 #include <sys/syscall.h>
/linux-4.4.14/drivers/base/
H A Dhypervisor.c2 * hypervisor.c - /sys/hypervisor subsystem.
/linux-4.4.14/arch/arm/mach-mv78xx0/
H A Dpcie.c101 static int __init mv78xx0_pcie_setup(int nr, struct pci_sys_data *sys) mv78xx0_pcie_setup() argument
109 sys->private_data = pp; mv78xx0_pcie_setup()
110 pp->root_bus_nr = sys->busnr; mv78xx0_pcie_setup()
115 orion_pcie_set_local_bus_nr(pp->base, sys->busnr); mv78xx0_pcie_setup()
120 pci_add_resource_offset(&sys->resources, &pp->res, sys->mem_offset); mv78xx0_pcie_setup()
140 struct pci_sys_data *sys = bus->sysdata; pcie_rd_conf() local
141 struct pcie_port *pp = sys->private_data; pcie_rd_conf()
160 struct pci_sys_data *sys = bus->sysdata; pcie_wr_conf() local
161 struct pcie_port *pp = sys->private_data; pcie_wr_conf()
198 mv78xx0_pcie_scan_bus(int nr, struct pci_sys_data *sys) mv78xx0_pcie_scan_bus() argument
205 return pci_scan_root_bus(NULL, sys->busnr, &pcie_ops, sys, mv78xx0_pcie_scan_bus()
206 &sys->resources); mv78xx0_pcie_scan_bus()
212 struct pci_sys_data *sys = dev->bus->sysdata; mv78xx0_pcie_map_irq() local
213 struct pcie_port *pp = sys->private_data; mv78xx0_pcie_map_irq()
/linux-4.4.14/tools/lib/lockdep/
H A Dcommon.c6 #include <sys/syscall.h>
/linux-4.4.14/tools/testing/selftests/kcmp/
H A Dkcmp_test.c15 #include <sys/syscall.h>
16 #include <sys/types.h>
17 #include <sys/stat.h>
18 #include <sys/wait.h>
/linux-4.4.14/tools/testing/selftests/powerpc/benchmarks/
H A Dgettimeofday.c6 #include <sys/time.h>
/linux-4.4.14/tools/testing/selftests/x86/
H A Dtest_FCMOV.c10 #include <sys/types.h>
11 #include <sys/select.h>
12 #include <sys/time.h>
13 #include <sys/wait.h>
H A Dtest_FISTTP.c10 #include <sys/types.h>
11 #include <sys/select.h>
12 #include <sys/time.h>
13 #include <sys/wait.h>
H A Dsingle_step_syscall.c23 #include <sys/time.h>
26 #include <sys/syscall.h>
31 #include <sys/mman.h>
32 #include <sys/signal.h>
33 #include <sys/ucontext.h>
39 #include <sys/ptrace.h>
40 #include <sys/user.h>
H A Dunwind_vdso.c33 #include <sys/time.h>
39 #include <sys/mman.h>
41 #include <sys/ucontext.h>
45 #include <sys/ptrace.h>
46 #include <sys/user.h>
47 #include <sys/ucontext.h>
49 #include <sys/auxv.h>
/linux-4.4.14/tools/laptop/freefall/
H A Dfreefall.c15 #include <sys/stat.h>
16 #include <sys/types.h>
21 #include <sys/mman.h>
37 "/sys/block/%s/device/unload_heads", device+5); set_unload_heads_path()
78 write_int("/sys/class/leds/hp::hddprotect/brightness", on); set_led()
91 /* /sys/class/power_supply/AC0/online */ on_ac()
132 if (stat("/sys/class/leds/hp::hddprotect/brightness", &st)) main()
/linux-4.4.14/fs/nilfs2/
H A Dsysfs.h29 * @sg_superblock_kobj: /sys/fs/<nilfs>/<device>/superblock
31 * @sg_segctor_kobj: /sys/fs/<nilfs>/<device>/segctor
33 * @sg_mounted_snapshots_kobj: /sys/fs/<nilfs>/<device>/mounted_snapshots
35 * @sg_checkpoints_kobj: /sys/fs/<nilfs>/<device>/checkpoints
37 * @sg_segments_kobj: /sys/fs/<nilfs>/<device>/segments
41 /* /sys/fs/<nilfs>/<device>/superblock */
45 /* /sys/fs/<nilfs>/<device>/segctor */
49 /* /sys/fs/<nilfs>/<device>/mounted_snapshots */
53 /* /sys/fs/<nilfs>/<device>/checkpoints */
57 /* /sys/fs/<nilfs>/<device>/segments */
/linux-4.4.14/tools/testing/selftests/powerpc/dscr/
H A Ddscr.h25 #include <sys/types.h>
26 #include <sys/stat.h>
27 #include <sys/wait.h>
38 #define DSCR_DEFAULT "/sys/devices/system/cpu/dscr_default"
39 #define CPU_PATH "/sys/devices/system/cpu/"
/linux-4.4.14/drivers/hsi/controllers/
H A Domap_ssi.c55 void __iomem *sys = omap_ssi->sys; ssi_debug_show() local
58 seq_printf(m, "REVISION\t: 0x%08x\n", readl(sys + SSI_REVISION_REG)); ssi_debug_show()
59 seq_printf(m, "SYSCONFIG\t: 0x%08x\n", readl(sys + SSI_SYSCONFIG_REG)); ssi_debug_show()
60 seq_printf(m, "SYSSTATUS\t: 0x%08x\n", readl(sys + SSI_SYSSTATUS_REG)); ssi_debug_show()
71 void __iomem *sys = omap_ssi->sys; ssi_debug_gdd_show() local
77 readl(sys + SSI_GDD_MPU_IRQ_STATUS_REG)); ssi_debug_gdd_show()
79 readl(sys + SSI_GDD_MPU_IRQ_ENABLE_REG)); ssi_debug_gdd_show()
192 omap_ssi->sys + SSI_SET_WAKE_REG(port->num)); ssi_waketest()
195 omap_ssi->sys + SSI_CLEAR_WAKE_REG(port->num)); ssi_waketest()
213 val = readl(omap_ssi->sys + SSI_GDD_MPU_IRQ_ENABLE_REG); ssi_gdd_complete()
215 writel_relaxed(val, omap_ssi->sys + SSI_GDD_MPU_IRQ_ENABLE_REG); ssi_gdd_complete()
242 val |= readl(omap_ssi->sys + SSI_MPU_ENABLE_REG(port->num, 0)); ssi_gdd_complete()
243 writel_relaxed(val, omap_ssi->sys + SSI_MPU_ENABLE_REG(port->num, 0)); ssi_gdd_complete()
254 void __iomem *sys = omap_ssi->sys; ssi_gdd_tasklet() local
260 status_reg = readl(sys + SSI_GDD_MPU_IRQ_STATUS_REG); ssi_gdd_tasklet()
265 writel_relaxed(status_reg, sys + SSI_GDD_MPU_IRQ_STATUS_REG); ssi_gdd_tasklet()
266 status_reg = readl(sys + SSI_GDD_MPU_IRQ_STATUS_REG); ssi_gdd_tasklet()
337 err = ssi_get_iomem(pd, "sys", &omap_ssi->sys, NULL); ssi_add_controller()
404 writel_relaxed(SSI_SOFTRESET, omap_ssi->sys + SSI_SYSCONFIG_REG); ssi_hw_init()
405 val = readl(omap_ssi->sys + SSI_SYSSTATUS_REG); ssi_hw_init()
408 val = readl(omap_ssi->sys + SSI_SYSSTATUS_REG); ssi_hw_init()
422 writel_relaxed(val, omap_ssi->sys + SSI_SYSCONFIG_REG); ssi_hw_init()
424 writel_relaxed(SSI_CLK_AUTOGATING_ON, omap_ssi->sys + SSI_GDD_GCR_REG); ssi_hw_init()
H A Domap_ssi_port.c63 void __iomem *base = omap_ssi->sys; ssi_debug_port_show()
273 tmp = readl(omap_ssi->sys + SSI_GDD_MPU_IRQ_ENABLE_REG); ssi_start_dma()
275 writel_relaxed(tmp, omap_ssi->sys + SSI_GDD_MPU_IRQ_ENABLE_REG); ssi_start_dma()
301 val |= readl(omap_ssi->sys + SSI_MPU_ENABLE_REG(port->num, 0)); ssi_start_pio()
302 writel(val, omap_ssi->sys + SSI_MPU_ENABLE_REG(port->num, 0)); ssi_start_pio()
352 tmp = readl(omap_ssi->sys + ssi_async_break()
355 omap_ssi->sys + SSI_MPU_ENABLE_REG(port->num, 0)); ssi_async_break()
539 writel_relaxed(0, omap_ssi->sys + SSI_MPU_ENABLE_REG(port->num, 0)); ssi_flush()
541 omap_ssi->sys + SSI_MPU_STATUS_REG(port->num, 0)); ssi_flush()
542 writel_relaxed(0, omap_ssi->sys + SSI_GDD_MPU_IRQ_ENABLE_REG); ssi_flush()
543 writel(0xff, omap_ssi->sys + SSI_GDD_MPU_IRQ_STATUS_REG); ssi_flush()
574 writel(SSI_WAKE(0), omap_ssi->sys + SSI_SET_WAKE_REG(port->num)); ssi_start_tx()
595 writel(SSI_WAKE(0), omap_ssi->sys + SSI_CLEAR_WAKE_REG(port->num)); ssi_stop_tx()
677 tmp = readl(omap_ssi->sys + SSI_MPU_ENABLE_REG(port->num, 0)); ssi_cleanup_queues()
679 writel_relaxed(tmp, omap_ssi->sys + SSI_MPU_ENABLE_REG(port->num, 0)); ssi_cleanup_queues()
680 writel_relaxed(status, omap_ssi->sys + ssi_cleanup_queues()
708 tmp = readl_relaxed(omap_ssi->sys + SSI_GDD_MPU_IRQ_ENABLE_REG); ssi_cleanup_gdd()
710 writel_relaxed(tmp, omap_ssi->sys + SSI_GDD_MPU_IRQ_ENABLE_REG); ssi_cleanup_gdd()
711 writel(val, omap_ssi->sys + SSI_GDD_MPU_IRQ_STATUS_REG); ssi_cleanup_gdd()
790 tmp = readl(omap_ssi->sys + SSI_GDD_MPU_IRQ_ENABLE_REG); ssi_error()
792 writel_relaxed(tmp, omap_ssi->sys + SSI_GDD_MPU_IRQ_ENABLE_REG); ssi_error()
796 tmp = readl(omap_ssi->sys + SSI_MPU_ENABLE_REG(port->num, 0)); ssi_error()
798 writel_relaxed(tmp, omap_ssi->sys + SSI_MPU_ENABLE_REG(port->num, 0)); ssi_error()
802 omap_ssi->sys + SSI_MPU_STATUS_REG(port->num, 0)); ssi_error()
832 val = readl(omap_ssi->sys + SSI_MPU_ENABLE_REG(port->num, 0)); ssi_break_complete()
834 writel_relaxed(val, omap_ssi->sys + SSI_MPU_ENABLE_REG(port->num, 0)); ssi_break_complete()
837 omap_ssi->sys + SSI_MPU_STATUS_REG(port->num, 0)); ssi_break_complete()
890 writel(val, omap_ssi->sys + ssi_pio_complete()
899 reg = readl(omap_ssi->sys + SSI_MPU_ENABLE_REG(port->num, 0)); ssi_pio_complete()
905 writel_relaxed(reg, omap_ssi->sys + SSI_MPU_ENABLE_REG(port->num, 0)); ssi_pio_complete()
906 writel_relaxed(val, omap_ssi->sys + SSI_MPU_STATUS_REG(port->num, 0)); ssi_pio_complete()
919 void __iomem *sys = omap_ssi->sys; ssi_pio_tasklet() local
924 status_reg = readl(sys + SSI_MPU_STATUS_REG(port->num, 0)); ssi_pio_tasklet()
925 status_reg &= readl(sys + SSI_MPU_ENABLE_REG(port->num, 0)); ssi_pio_tasklet()
938 status_reg = readl(sys + SSI_MPU_STATUS_REG(port->num, 0)); ssi_pio_tasklet()
939 status_reg &= readl(sys + SSI_MPU_ENABLE_REG(port->num, 0)); ssi_pio_tasklet()
982 omap_ssi->sys + SSI_SET_WAKE_REG(port->num)); ssi_wake_tasklet()
989 omap_ssi->sys + SSI_CLEAR_WAKE_REG(port->num)); ssi_wake_tasklet()
1269 omap_port->sys_mpu_enable = readl(omap_ssi->sys + ssi_save_port_ctx()
1283 omap_ssi->sys + SSI_MPU_ENABLE_REG(port->num, 0)); ssi_restore_port_ctx()
/linux-4.4.14/arch/powerpc/oprofile/
H A Dop_model_pa6t.c92 struct op_system_config *sys, pa6t_reg_setup()
106 sys->mmcr0 &= ~(0x1UL << pmc); pa6t_reg_setup()
107 sys->mmcr0 &= ~(0x1UL << (pmc+12)); pa6t_reg_setup()
111 if (sys->enable_kernel) pa6t_reg_setup()
112 sys->mmcr0 |= PA6T_MMCR0_SUPEN | PA6T_MMCR0_HYPEN; pa6t_reg_setup()
114 sys->mmcr0 &= ~(PA6T_MMCR0_SUPEN | PA6T_MMCR0_HYPEN); pa6t_reg_setup()
116 if (sys->enable_user) pa6t_reg_setup()
117 sys->mmcr0 |= PA6T_MMCR0_PREN; pa6t_reg_setup()
119 sys->mmcr0 &= ~PA6T_MMCR0_PREN; pa6t_reg_setup()
124 * structure (sys variable). pa6t_reg_setup()
126 mmcr0_val = sys->mmcr0; pa6t_reg_setup()
127 mmcr1_val = sys->mmcr1; pa6t_reg_setup()
128 pr_debug("mmcr0_val inited to %016lx\n", sys->mmcr0); pa6t_reg_setup()
129 pr_debug("mmcr1_val inited to %016lx\n", sys->mmcr1); pa6t_reg_setup()
91 pa6t_reg_setup(struct op_counter_config *ctr, struct op_system_config *sys, int num_ctrs) pa6t_reg_setup() argument
H A Dcommon.c29 static struct op_system_config sys; variable in typeref:struct:op_system_config
60 op_per_cpu_rc = model->reg_setup(ctr, &sys, model->num_counters); op_powerpc_setup()
131 oprofilefs_create_ulong(root, "mmcr0", &sys.mmcr0); op_powerpc_create_files()
132 oprofilefs_create_ulong(root, "mmcr1", &sys.mmcr1); op_powerpc_create_files()
133 oprofilefs_create_ulong(root, "mmcra", &sys.mmcra); op_powerpc_create_files()
145 oprofilefs_create_ulong(root, "cell_support", &sys.cell_support); op_powerpc_create_files()
146 sys.cell_support = 0x1; /* Note, the user OProfile tool must check op_powerpc_create_files()
182 oprofilefs_create_ulong(root, "enable_kernel", &sys.enable_kernel); op_powerpc_create_files()
183 oprofilefs_create_ulong(root, "enable_user", &sys.enable_user); op_powerpc_create_files()
186 sys.enable_kernel = 1; op_powerpc_create_files()
187 sys.enable_user = 1; op_powerpc_create_files()
/linux-4.4.14/Documentation/vDSO/
H A Dvdso_test.c15 #include <sys/auxv.h>
16 #include <sys/time.h>
H A Dvdso_standalone_test_x86.c14 #include <sys/syscall.h>
15 #include <sys/time.h>
/linux-4.4.14/arch/alpha/oprofile/
H A Dop_model_ev5.c27 struct op_system_config *sys, common_reg_setup()
79 ctl |= !sys->enable_pal << 9; common_reg_setup()
80 ctl |= !sys->enable_kernel << 8; common_reg_setup()
81 ctl |= !sys->enable_user << 30; common_reg_setup()
118 struct op_system_config *sys) ev5_reg_setup()
120 common_reg_setup(reg, ctr, sys, 19, 22); ev5_reg_setup()
126 struct op_system_config *sys) pca56_reg_setup()
128 common_reg_setup(reg, ctr, sys, 8, 11); pca56_reg_setup()
25 common_reg_setup(struct op_register_config *reg, struct op_counter_config *ctr, struct op_system_config *sys, int cbox1_ofs, int cbox2_ofs) common_reg_setup() argument
116 ev5_reg_setup(struct op_register_config *reg, struct op_counter_config *ctr, struct op_system_config *sys) ev5_reg_setup() argument
124 pca56_reg_setup(struct op_register_config *reg, struct op_counter_config *ctr, struct op_system_config *sys) pca56_reg_setup() argument
H A Dcommon.c31 static struct op_system_config sys; variable in typeref:struct:op_system_config
65 model->reg_setup(&reg, ctr, &sys); op_axp_setup()
131 &sys.enable_pal); op_axp_create_files()
133 &sys.enable_kernel); op_axp_create_files()
135 &sys.enable_user); op_axp_create_files()
/linux-4.4.14/arch/s390/include/uapi/asm/
H A Dhypfs.h15 * IOCTL for binary interface /sys/kernel/debug/diag_304
29 * Structures for binary interface /sys/kernel/debug/diag_0c
/linux-4.4.14/arch/mips/boot/compressed/
H A Dcalc_vmlinuz_load_addr.c10 #include <sys/types.h>
11 #include <sys/stat.h>
/linux-4.4.14/drivers/pci/
H A Dpci-stub.c12 * # echo "8086 10f5" > /sys/bus/pci/drivers/pci-stub/new_id
13 * # echo -n 0000:00:19.0 > /sys/bus/pci/drivers/e1000e/unbind
14 * # echo -n 0000:00:19.0 > /sys/bus/pci/drivers/pci-stub/bind
15 * # ls -l /sys/bus/pci/devices/0000:00:19.0/driver
/linux-4.4.14/arch/unicore32/kernel/
H A DMakefile7 obj-y += setup.o signal.o sys.o stacktrace.o traps.o
H A Dsys.c2 * linux/arch/unicore32/kernel/sys.c
/linux-4.4.14/include/linux/
H A Dpatchkey.h9 * Do not include this file directly. Please use <sys/soundcard.h> instead.
H A Dthreads.h7 * /proc/sys/kernel/threads-max.
/linux-4.4.14/tools/arch/arm64/include/asm/
H A Dbarrier.h5 * From tools/perf/perf-sys.h, last modified in:
/linux-4.4.14/tools/arch/mips/include/asm/
H A Dbarrier.h4 * FIXME: This came from tools/perf/perf-sys.h, where it was first introduced
/linux-4.4.14/tools/arch/tile/include/asm/
H A Dbarrier.h4 * FIXME: This came from tools/perf/perf-sys.h, where it was first introduced
/linux-4.4.14/tools/perf/arch/s390/util/
H A Dheader.c12 #include <sys/types.h>
/linux-4.4.14/security/tomoyo/
H A Dsecurityfs_if.c27 * tomoyo_write_self - write() for /sys/kernel/security/tomoyo/self_domain interface.
96 * tomoyo_read_self - read() for /sys/kernel/security/tomoyo/self_domain interface.
122 /* Operations for /sys/kernel/security/tomoyo/self_domain interface. */
129 * tomoyo_open - open() for /sys/kernel/security/tomoyo/ interface.
144 * tomoyo_release - close() for /sys/kernel/security/tomoyo/ interface.
156 * tomoyo_poll - poll() for /sys/kernel/security/tomoyo/ interface.
170 * tomoyo_read - read() for /sys/kernel/security/tomoyo/ interface.
186 * tomoyo_write - write() for /sys/kernel/security/tomoyo/ interface.
203 * /sys/kernel/security/tomoyo/ interface.
205 * Some files under /sys/kernel/security/tomoyo/ directory accept open(O_RDWR).
218 * tomoyo_create_entry - Create interface files under /sys/kernel/security/tomoyo/ directory.
235 * tomoyo_initerface_init - Initialize /sys/kernel/security/tomoyo/ interface.
/linux-4.4.14/arch/arm/mach-orion5x/
H A Dpci.c142 static int __init pcie_setup(struct pci_sys_data *sys) pcie_setup() argument
167 pci_ioremap_io(sys->busnr * SZ_64K, ORION5X_PCIE_IO_PHYS_BASE); pcie_setup()
185 pci_add_resource_offset(&sys->resources, res, sys->mem_offset); pcie_setup()
466 static int __init pci_setup(struct pci_sys_data *sys) pci_setup() argument
485 pci_ioremap_io(sys->busnr * SZ_64K, ORION5X_PCI_IO_PHYS_BASE); pci_setup()
503 pci_add_resource_offset(&sys->resources, res, sys->mem_offset); pci_setup()
541 int __init orion5x_pci_sys_setup(int nr, struct pci_sys_data *sys) orion5x_pci_sys_setup() argument
546 orion_pcie_set_local_bus_nr(PCIE_BASE, sys->busnr); orion5x_pci_sys_setup()
547 return pcie_setup(sys); orion5x_pci_sys_setup()
551 orion5x_pci_set_bus_nr(sys->busnr); orion5x_pci_sys_setup()
552 return pci_setup(sys); orion5x_pci_sys_setup()
558 struct pci_bus __init *orion5x_pci_sys_scan_bus(int nr, struct pci_sys_data *sys) orion5x_pci_sys_scan_bus() argument
561 return pci_scan_root_bus(NULL, sys->busnr, &pcie_ops, sys, orion5x_pci_sys_scan_bus()
562 &sys->resources); orion5x_pci_sys_scan_bus()
565 return pci_scan_root_bus(NULL, sys->busnr, &pci_ops, sys, orion5x_pci_sys_scan_bus()
566 &sys->resources); orion5x_pci_sys_scan_bus()
H A Dcommon.h63 int orion5x_pci_sys_setup(int nr, struct pci_sys_data *sys);
64 struct pci_bus *orion5x_pci_sys_scan_bus(int nr, struct pci_sys_data *sys);
/linux-4.4.14/drivers/pci/host/
H A Dpci-rcar-gen2.c111 struct pci_sys_data *sys = bus->sysdata; rcar_pci_cfg_base() local
112 struct rcar_pci_priv *priv = sys->private_data; rcar_pci_cfg_base()
115 if (sys->busnr != bus->number || PCI_FUNC(devfn)) rcar_pci_cfg_base()
137 struct pci_sys_data *sys = dev->bus->sysdata; rcar_pci_map_irq() local
138 struct rcar_pci_priv *priv = sys->private_data; rcar_pci_map_irq()
189 static int rcar_pci_setup(int nr, struct pci_sys_data *sys) rcar_pci_setup() argument
191 struct rcar_pci_priv *priv = sys->private_data; rcar_pci_setup()
199 dev_info(priv->dev, "PCI: bus%u revision %x\n", sys->busnr, val); rcar_pci_setup()
273 pci_add_resource(&sys->resources, &priv->io_res); rcar_pci_setup()
274 pci_add_resource(&sys->resources, &priv->mem_res); rcar_pci_setup()
277 sys->busnr = priv->busnr; rcar_pci_setup()
H A Dpcie-xilinx.c124 static inline struct xilinx_pcie_port *sys_to_pcie(struct pci_sys_data *sys) sys_to_pcie() argument
126 return sys->private_data; sys_to_pcie()
623 * @sys: Per controller structure
627 static int xilinx_pcie_setup(int nr, struct pci_sys_data *sys) xilinx_pcie_setup() argument
629 struct xilinx_pcie_port *port = sys_to_pcie(sys); xilinx_pcie_setup()
631 list_splice_init(&port->resources, &sys->resources); xilinx_pcie_setup()
639 * @sys: Per controller structure
643 static struct pci_bus *xilinx_pcie_scan_bus(int nr, struct pci_sys_data *sys) xilinx_pcie_scan_bus() argument
645 struct xilinx_pcie_port *port = sys_to_pcie(sys); xilinx_pcie_scan_bus()
648 port->root_busno = sys->busnr; xilinx_pcie_scan_bus()
651 bus = pci_scan_root_bus_msi(port->dev, sys->busnr, xilinx_pcie_scan_bus()
652 &xilinx_pcie_ops, sys, xilinx_pcie_scan_bus()
653 &sys->resources, xilinx_pcie_scan_bus()
656 bus = pci_scan_root_bus(port->dev, sys->busnr, xilinx_pcie_scan_bus()
657 &xilinx_pcie_ops, sys, &sys->resources); xilinx_pcie_scan_bus()
H A Dpcie-iproc-bcma.c36 struct pci_sys_data *sys = dev->sysdata; iproc_pcie_bcma_map_irq() local
37 struct iproc_pcie *pcie = sys->private_data; iproc_pcie_bcma_map_irq()
/linux-4.4.14/arch/arm/mach-sa1100/
H A Dpci-nanoengine.c142 static int __init pci_nanoengine_setup_resources(struct pci_sys_data *sys) pci_nanoengine_setup_resources() argument
159 pci_add_resource_offset(&sys->resources, &pci_io_ports, sys->io_offset); pci_nanoengine_setup_resources()
160 pci_add_resource_offset(&sys->resources, pci_nanoengine_setup_resources()
161 &pci_non_prefetchable_memory, sys->mem_offset); pci_nanoengine_setup_resources()
162 pci_add_resource_offset(&sys->resources, pci_nanoengine_setup_resources()
163 &pci_prefetchable_memory, sys->mem_offset); pci_nanoengine_setup_resources()
168 int __init pci_nanoengine_setup(int nr, struct pci_sys_data *sys) pci_nanoengine_setup() argument
176 sys->mem_offset = NANO_PCI_MEM_RW_PHYS; pci_nanoengine_setup()
177 sys->io_offset = 0x400; pci_nanoengine_setup()
178 ret = pci_nanoengine_setup_resources(sys); pci_nanoengine_setup()
/linux-4.4.14/drivers/video/fbdev/vermilion/
H A Dcr_pll.c81 static int crvml_sys_restore(struct vml_sys *sys) crvml_sys_restore() argument
91 static int crvml_sys_save(struct vml_sys *sys) crvml_sys_save() argument
100 static int crvml_nearest_index(const struct vml_sys *sys, int clock) crvml_nearest_index() argument
120 static int crvml_nearest_clock(const struct vml_sys *sys, int clock) crvml_nearest_clock() argument
122 return crvml_clocks[crvml_nearest_index(sys, clock)]; crvml_nearest_clock()
125 static int crvml_set_clock(struct vml_sys *sys, int clock) crvml_set_clock() argument
131 index = crvml_nearest_index(sys, clock); crvml_set_clock()
/linux-4.4.14/tools/testing/selftests/zram/
H A Dzram_lib.sh47 echo 1 > /sys/block/zram${i}/reset
97 local sys_path="/sys/block/zram${i}/max_comp_streams"
117 local algs=$(cat /sys/block/zram0/comp_algorithm)
121 local sys_path="/sys/block/zram${i}/comp_algorithm"
136 local sys_path="/sys/block/zram${i}/disksize"
153 local sys_path="/sys/block/zram${i}/mem_limit"
/linux-4.4.14/arch/x86/um/
H A Duser-offsets.c4 #include <sys/poll.h>
5 #include <sys/mman.h>
6 #include <sys/user.h>
H A Dsys_call_table_32.c7 #include <linux/sys.h>
/linux-4.4.14/Documentation/spi/
H A Dspidev_fdx.c7 #include <sys/ioctl.h>
8 #include <sys/types.h>
9 #include <sys/stat.h>
/linux-4.4.14/tools/testing/selftests/futex/functional/
H A Dfutex_wait_uninitialized_heap.c27 #include <sys/mman.h>
29 #include <sys/types.h>
30 #include <sys/stat.h>
/linux-4.4.14/tools/testing/selftests/powerpc/
H A Dharness.c11 #include <sys/types.h>
12 #include <sys/wait.h>
17 #include <sys/stat.h>
/linux-4.4.14/drivers/uio/
H A Duio_pci_generic.c11 * # echo "8086 10f5" > /sys/bus/pci/drivers/uio_pci_generic/new_id
12 * # echo -n 0000:00:19.0 > /sys/bus/pci/drivers/e1000e/unbind
13 * # echo -n 0000:00:19.0 > /sys/bus/pci/drivers/uio_pci_generic/bind
14 * # ls -l /sys/bus/pci/devices/0000:00:19.0/driver
/linux-4.4.14/arch/tile/kernel/
H A DMakefile8 setup.o signal.o single_step.o stack.o sys.o \
/linux-4.4.14/arch/x86/entry/
H A Dsyscall_32.c4 #include <linux/sys.h>
H A Dsyscall_64.c4 #include <linux/sys.h>
/linux-4.4.14/net/appletalk/
H A Dsysctl_net_atalk.c5 * Added /proc/sys/net/atalk directory entry (empty =) ). [MS]
/linux-4.4.14/samples/bpf/
H A Dtrace_output_user.c12 #include <sys/ioctl.h>
17 #include <sys/syscall.h>
18 #include <sys/ioctl.h>
19 #include <sys/mman.h>
H A Dtracex5_user.c6 #include <sys/prctl.h>
H A Dbpf_load.c2 #include <sys/types.h>
3 #include <sys/stat.h>
15 #include <sys/syscall.h>
16 #include <sys/ioctl.h>
17 #include <sys/mman.h>
24 #define DEBUGFS "/sys/kernel/debug/tracing/"
106 "echo '%c:%s %s' >> /sys/kernel/debug/tracing/kprobe_events", load_and_attach()
248 i = system("echo \"\" > /sys/kernel/debug/tracing/kprobe_events"); load_bpf_file()
H A Dtracex6_user.c8 #include <sys/ioctl.h>
/linux-4.4.14/arch/sh/kernel/
H A Ddebugtraps.S12 #include <linux/sys.h>
/linux-4.4.14/arch/sparc/kernel/
H A Dreboot.c20 * reference in kernel/sys.c
/linux-4.4.14/arch/arm/mach-omap2/
H A Dam33xx-restart.c20 * kernel/sys.c. No return value.
H A Domap4-restart.c21 * kernel/sys.c. No return value.
H A Domap3-restart.c29 * kernel/sys.c. No return value.
H A Dti81xx-restart.c24 * kernel/sys.c. No return value.
/linux-4.4.14/arch/arm/mach-iop13xx/include/mach/
H A Dpci.h8 int iop13xx_pci_setup(int nr, struct pci_sys_data *sys);
/linux-4.4.14/Documentation/ia64/
H A Daliasing-test.c14 #include <sys/types.h>
19 #include <sys/ioctl.h>
20 #include <sys/mman.h>
21 #include <sys/stat.h>
250 scan_tree("/sys/class/pci_bus", "legacy_mem", 0, 0xA0000, 1); main()
251 scan_tree("/sys/class/pci_bus", "legacy_mem", 0xA0000, 0x20000, 0); main()
252 scan_tree("/sys/class/pci_bus", "legacy_mem", 0xC0000, 0x40000, 1); main()
253 scan_tree("/sys/class/pci_bus", "legacy_mem", 0, 1024*1024, 0); main()
255 scan_rom("/sys/devices", "rom"); main()
/linux-4.4.14/tools/perf/arch/powerpc/util/
H A Dheader.c1 #include <sys/types.h>
/linux-4.4.14/tools/perf/bench/
H A Dsched-pipe.c21 #include <sys/wait.h>
25 #include <sys/time.h>
26 #include <sys/types.h>
27 #include <sys/syscall.h>
/linux-4.4.14/tools/vm/
H A Dpage_owner_sort.c2 * User-space helper to sort the output of /sys/kernel/debug/page_owner
5 * cat /sys/kernel/debug/page_owner > page_owner_full.txt
12 #include <sys/types.h>
13 #include <sys/stat.h>
/linux-4.4.14/drivers/pcmcia/
H A Dcistpl.c138 void __iomem *sys, *end; pcmcia_read_cis_mem() local
152 sys = set_cis_map(s, 0, MAP_ACTIVE | pcmcia_read_cis_mem()
154 if (!sys) { pcmcia_read_cis_mem()
160 writeb(flags, sys+CISREG_ICTRL0); pcmcia_read_cis_mem()
161 writeb(addr & 0xff, sys+CISREG_IADDR0); pcmcia_read_cis_mem()
162 writeb((addr>>8) & 0xff, sys+CISREG_IADDR1); pcmcia_read_cis_mem()
163 writeb((addr>>16) & 0xff, sys+CISREG_IADDR2); pcmcia_read_cis_mem()
164 writeb((addr>>24) & 0xff, sys+CISREG_IADDR3); pcmcia_read_cis_mem()
166 *buf = readb(sys+CISREG_IDATA0); pcmcia_read_cis_mem()
186 sys = set_cis_map(s, card_offset, flags); pcmcia_read_cis_mem()
187 if (!sys) { pcmcia_read_cis_mem()
192 end = sys + s->map_size; pcmcia_read_cis_mem()
193 sys = sys + (addr & (s->map_size-1)); pcmcia_read_cis_mem()
194 for ( ; len > 0; len--, buf++, sys += inc) { pcmcia_read_cis_mem()
195 if (sys == end) pcmcia_read_cis_mem()
197 *buf = readb(sys); pcmcia_read_cis_mem()
219 void __iomem *sys, *end; pcmcia_write_cis_mem() local
234 sys = set_cis_map(s, 0, MAP_ACTIVE | pcmcia_write_cis_mem()
236 if (!sys) { pcmcia_write_cis_mem()
241 writeb(flags, sys+CISREG_ICTRL0); pcmcia_write_cis_mem()
242 writeb(addr & 0xff, sys+CISREG_IADDR0); pcmcia_write_cis_mem()
243 writeb((addr>>8) & 0xff, sys+CISREG_IADDR1); pcmcia_write_cis_mem()
244 writeb((addr>>16) & 0xff, sys+CISREG_IADDR2); pcmcia_write_cis_mem()
245 writeb((addr>>24) & 0xff, sys+CISREG_IADDR3); pcmcia_write_cis_mem()
247 writeb(*buf, sys+CISREG_IDATA0); pcmcia_write_cis_mem()
260 sys = set_cis_map(s, card_offset, flags); pcmcia_write_cis_mem()
261 if (!sys) { pcmcia_write_cis_mem()
266 end = sys + s->map_size; pcmcia_write_cis_mem()
267 sys = sys + (addr & (s->map_size-1)); pcmcia_write_cis_mem()
268 for ( ; len > 0; len--, buf++, sys += inc) { pcmcia_write_cis_mem()
269 if (sys == end) pcmcia_write_cis_mem()
271 writeb(*buf, sys); pcmcia_write_cis_mem()
/linux-4.4.14/drivers/edac/
H A Dedac_stub.c73 * sysfs object: /sys/devices/system/edac
90 /* create the /sys/devices/system/edac directory */ edac_get_sysfs_subsys()
/linux-4.4.14/include/media/
H A Drc-map.h72 #define RC_SCANCODE_RC5(sys, cmd) (((sys) << 8) | (cmd))
73 #define RC_SCANCODE_RC5_SZ(sys, cmd) (((sys) << 8) | (cmd))
74 #define RC_SCANCODE_RC6_0(sys, cmd) (((sys) << 8) | (cmd))
75 #define RC_SCANCODE_RC6_6A(vendor, sys, cmd) (((vendor) << 16) | ((sys) << 8) | (cmd))
/linux-4.4.14/arch/powerpc/include/asm/
H A Dftrace.h69 * Compare the symbol name with the system call name. Skip the .sys or .SyS arch_syscall_match_sym_name()
70 * prefix from the symbol name and the sys prefix from the system call name and arch_syscall_match_sym_name()
/linux-4.4.14/tools/perf/
H A Dperf-sys.h5 #include <sys/types.h>
6 #include <sys/syscall.h>
H A Dperf-with-kcore.sh159 if [ "$(cat /proc/sys/kernel/kptr_restrict)" -ne 0 ] ; then
160 echo "*** WARNING *** /proc/sys/kernel/kptr_restrict prevents access to kernel addresses" >&2
168 if [ "$(cat /proc/sys/kernel/perf_event_paranoid)" -gt -1 ] ; then
169 echo "*** WARNING *** /proc/sys/kernel/perf_event_paranoid restricts buffer size and tracepoint (sched_switch) use" >&2
176 elif [ ! -r /sys/kernel/debug -o ! -x /sys/kernel/debug ] ; then
177 echo "*** WARNING *** /sys/kernel/debug permissions prevent tracepoint (sched_switch) use" >&2
/linux-4.4.14/tools/power/cpupower/debug/i386/
H A Dpowernow-k8-decode.c18 #include <sys/types.h>
19 #include <sys/stat.h>
H A Dcentrino-decode.c22 #include <sys/types.h>
23 #include <sys/stat.h>
/linux-4.4.14/tools/testing/selftests/capabilities/
H A Dvalidate_cap.c7 #include <sys/prctl.h>
8 #include <sys/auxv.h>
/linux-4.4.14/tools/testing/selftests/net/
H A Dsocket.c5 #include <sys/types.h>
6 #include <sys/socket.h>
/linux-4.4.14/tools/testing/selftests/powerpc/pmu/ebb/
H A Dcpu_event_pinned_vs_ebb_test.c10 #include <sys/types.h>
11 #include <sys/wait.h>
H A Dcpu_event_vs_ebb_test.c10 #include <sys/types.h>
11 #include <sys/wait.h>
H A Debb_on_child_test.c10 #include <sys/types.h>
11 #include <sys/wait.h>
H A Debb_on_willing_child_test.c10 #include <sys/types.h>
11 #include <sys/wait.h>
H A Debb_vs_cpu_event_test.c10 #include <sys/types.h>
11 #include <sys/wait.h>
H A Dfork_cleanup_test.c10 #include <sys/types.h>
11 #include <sys/wait.h>
H A Dtask_event_pinned_vs_ebb_test.c10 #include <sys/types.h>
11 #include <sys/wait.h>
H A Dtask_event_vs_ebb_test.c10 #include <sys/types.h>
11 #include <sys/wait.h>
H A Dmulti_counter_test.c8 #include <sys/ioctl.h>
/linux-4.4.14/tools/testing/selftests/pstore/
H A Dcommon_tests58 UUID=`cat /proc/sys/kernel/random/uuid`
77 backend=`cat /sys/module/pstore/parameters/backend`
/linux-4.4.14/tools/time/
H A Dudelay_test.sh5 # Test is executed by writing and reading to /sys/kernel/debug/udelay_test
21 UDELAY_PATH=/sys/kernel/debug/udelay_test
/linux-4.4.14/scripts/tracing/
H A Ddraw_functrace.py15 # mount -t debugfs nodev /sys/kernel/debug
16 # echo function > /sys/kernel/debug/tracing/current_tracer
17 $ cat /sys/kernel/debug/tracing/trace_pipe > ~/raw_trace_func
25 import sys, re
116 for line in sys.stdin:
/linux-4.4.14/Documentation/timers/
H A Dhpet_example.c10 #include <sys/types.h>
11 #include <sys/wait.h>
14 #include <sys/time.h>
24 #include <sys/poll.h>
25 #include <sys/ioctl.h>
/linux-4.4.14/arch/arm/mach-versatile/
H A Dpci.c194 static int __init pci_versatile_setup_resources(struct pci_sys_data *sys) pci_versatile_setup_resources() argument
221 pci_add_resource_offset(&sys->resources, &non_mem, sys->mem_offset); pci_versatile_setup_resources()
222 pci_add_resource_offset(&sys->resources, &pre_mem, sys->mem_offset); pci_versatile_setup_resources()
234 int __init pci_versatile_setup(int nr, struct pci_sys_data *sys) pci_versatile_setup() argument
254 ret = pci_versatile_setup_resources(sys); pci_versatile_setup()
/linux-4.4.14/arch/arm/common/
H A Dit8152.c285 int __init it8152_pci_setup(int nr, struct pci_sys_data *sys) it8152_pci_setup() argument
296 sys->mem_offset = 0x10000000; it8152_pci_setup()
297 sys->io_offset = (unsigned long)IT8152_IO_BASE; it8152_pci_setup()
308 pci_add_resource_offset(&sys->resources, &it8152_io, sys->io_offset); it8152_pci_setup()
309 pci_add_resource_offset(&sys->resources, &it8152_mem, sys->mem_offset); it8152_pci_setup()
/linux-4.4.14/arch/alpha/kernel/
H A Dsys_sio.c93 orig_route_tab, alpha_mv.sys.sio.route_tab); sio_pci_route()
101 alpha_mv.sys.sio.route_tab); sio_pci_route()
182 tmp = __kernel_extbl(alpha_mv.sys.sio.route_tab, irq); noname_map_irq()
201 tmp = __kernel_extbl(alpha_mv.sys.sio.route_tab, irq); p2k_map_irq()
330 .sys = { .sio = {
360 .sys = { .sio = {
389 .sys = { .sio = {
427 .sys = { .sio = {
456 .sys = { .sio = {
/linux-4.4.14/tools/power/cpupower/utils/helpers/
H A Dsysfs.c12 #include <sys/types.h>
13 #include <sys/stat.h>
90 /* CPUidle idlestate specific /sys/devices/system/cpu/cpuX/cpuidle/ access */
93 /* CPUidle idlestate specific /sys/devices/system/cpu/cpuX/cpuidle/ access */
120 * helper function to read file from /sys into given buffer
152 * helper function to write a new value to a /sys file
379 /* CPUidle general /sys/devices/system/cpu/cpuidle/ sysfs access ********/
382 * helper function to read file from /sys into given buffer
450 /* CPUidle idlestate specific /sys/devices/system/cpu/cpuX/cpuidle/ access */
H A Dsysfs.h4 #define PATH_TO_CPU "/sys/devices/system/cpu/"
/linux-4.4.14/samples/hidraw/
H A Dhid-example.c28 #include <sys/ioctl.h>
29 #include <sys/types.h>
30 #include <sys/stat.h>
/linux-4.4.14/tools/build/
H A Dfixdep.c13 #include <sys/types.h>
14 #include <sys/stat.h>
15 #include <sys/mman.h>
/linux-4.4.14/tools/iio/
H A Dlsiio.c18 #include <sys/types.h>
19 #include <sys/stat.h>
20 #include <sys/dir.h>
/linux-4.4.14/drivers/staging/android/
H A Dlowmemorykiller.c6 * /sys/module/lowmemorykiller/parameters/adj and the number of free pages in
7 * /sys/module/lowmemorykiller/parameters/minfree. Both files take a comma
10 * For example, write "0,8" to /sys/module/lowmemorykiller/parameters/adj and
11 * "1024,4096" to /sys/module/lowmemorykiller/parameters/minfree to kill
/linux-4.4.14/drivers/media/rc/img-ir/
H A Dimg-ir-core.c114 /* Get sys clock */ img_ir_probe()
115 priv->sys_clk = devm_clk_get(&pdev->dev, "sys"); img_ir_probe()
117 dev_warn(&pdev->dev, "cannot get sys clock resource\n"); img_ir_probe()
126 dev_err(&pdev->dev, "cannot enable sys clock\n"); img_ir_probe()
/linux-4.4.14/arch/um/kernel/skas/
H A Dclone.c10 #include <sys/time.h>
/linux-4.4.14/arch/um/os-Linux/drivers/
H A Dtuntap_user.c12 #include <sys/ioctl.h>
13 #include <sys/socket.h>
14 #include <sys/wait.h>
15 #include <sys/uio.h>
/linux-4.4.14/arch/um/os-Linux/
H A Dregisters.c9 #include <sys/ptrace.h>
/linux-4.4.14/arch/arc/include/uapi/asm/
H A Dunistd.h12 * Non-typical guard macro to enable inclusion twice in ARCH sys.c
/linux-4.4.14/arch/arc/kernel/
H A DMakefile12 obj-y += signal.o traps.o sys.o troubleshoot.o stacktrace.o disasm.o clk.o
H A Dprocess.c30 * We return the user space TLS data ptr as sys-call return code
32 * However we can cheat by the fact that some sys-calls do return
35 * it won't be considered a sys-call error
147 * clone C-lib call is difft from clone sys-call copy_thread()
/linux-4.4.14/net/x25/
H A Dsysctl_net_x25.c5 * Added /proc/sys/net/x25 directory entry (empty =) ). [MS]
/linux-4.4.14/arch/mn10300/mm/
H A Dcache-dbg-inv.S11 #include <linux/sys.h>
/linux-4.4.14/arch/h8300/kernel/
H A Dhead_ram.S2 #include <linux/sys.h>
/linux-4.4.14/arch/arm/mach-s3c64xx/
H A Dcpuidle.c23 #include "regs-sys.h"
/linux-4.4.14/arch/arm/mach-ks8695/include/mach/
H A Dregs-sys.h2 * arch/arm/mach-ks8695/include/mach/regs-sys.h
/linux-4.4.14/tools/arch/x86/include/asm/
H A Dbarrier.h6 * out from tools/perf/perf-sys.h so as to make it be located
/linux-4.4.14/tools/hv/
H A Dhv_fcopy_daemon.c20 #include <sys/types.h>
21 #include <sys/socket.h>
22 #include <sys/poll.h>
33 #include <sys/stat.h>
/linux-4.4.14/drivers/xen/
H A DMakefile25 obj-$(CONFIG_XEN_SYS_HYPERVISOR) += sys-hypervisor.o
/linux-4.4.14/tools/net/
H A Dbpf_jit_disasm.c9 * 1) `echo 2 > /proc/sys/net/core/bpf_jit_enable`
27 #include <sys/klog.h>
28 #include <sys/types.h>
29 #include <sys/stat.h>
/linux-4.4.14/tools/perf/arch/x86/util/
H A Dheader.c1 #include <sys/types.h>
/linux-4.4.14/tools/power/cpupower/bench/
H A Dcpufreq-bench_script.sh43 echo $up_threshold >/sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold
44 echo $sampling_rate >/sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate
45 up_threshold_set=$(cat /sys/devices/system/cpu/cpu0/cpufreq/ondemand/up_threshold)
46 sampling_rate_set=$(cat /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate)
/linux-4.4.14/tools/testing/fault-injection/
H A Dfailcmd.sh34 set /proc/sys/vm/oom_kill_allocating_task to specified value
114 oom_kill_allocating_task_saved=`cat /proc/sys/vm/oom_kill_allocating_task`
120 > /proc/sys/vm/oom_kill_allocating_task
211 echo $oom_kill_allocating_task > /proc/sys/vm/oom_kill_allocating_task
/linux-4.4.14/tools/testing/selftests/ptrace/
H A Dpeeksiginfo.c7 #include <sys/wait.h>
8 #include <sys/syscall.h>
9 #include <sys/user.h>
10 #include <sys/mman.h>
/linux-4.4.14/net/
H A Dsysctl_net.c5 * Added /proc/sys/net directories for each protocol family. [MS]
89 * registering "/proc/sys/net" as an empty directory not in a net_sysctl_init()
/linux-4.4.14/Documentation/networking/timestamping/
H A Dhwtstamp_config.c11 #include <sys/socket.h>
12 #include <sys/ioctl.h>
/linux-4.4.14/tools/testing/selftests/powerpc/pmu/
H A Devent.c8 #include <sys/syscall.h>
11 #include <sys/ioctl.h>

Completed in 4892 milliseconds

123456