Home
last modified time | relevance | path

Searched refs:resource (Results 1 – 7 of 7) sorted by relevance

/kernel/
Dresource.c33 struct resource ioport_resource = {
41 struct resource iomem_resource = {
52 resource_size_t (*alignf)(void *, const struct resource *,
59 static struct resource *next_resource(struct resource *p) in next_resource()
68 static struct resource *next_resource_skip_children(struct resource *p) in next_resource_skip_children()
82 struct resource *p = v; in r_next()
94 struct resource *p = pde_data(file_inode(m->file)); in r_start()
110 struct resource *root = pde_data(file_inode(m->file)); in r_show()
111 struct resource *r = v, *p; in r_show()
153 static void free_resource(struct resource *res) in free_resource()
[all …]
Dresource_kunit.c22 static struct resource r0 = { .start = R0_START, .end = R0_END };
23 static struct resource r1 = { .start = R1_START, .end = R1_END };
24 static struct resource r2 = { .start = R2_START, .end = R2_END };
25 static struct resource r3 = { .start = R3_START, .end = R3_END };
26 static struct resource r4 = { .start = R4_START, .end = R4_END };
29 struct resource *r1;
30 struct resource *r2;
31 struct resource r;
83 static void resource_do_test(struct kunit *test, bool ret, struct resource *r, in resource_do_test()
84 bool exp_ret, struct resource *exp_r, in resource_do_test()
[all …]
Dsys.c1450 static int do_prlimit(struct task_struct *tsk, unsigned int resource, in do_prlimit() argument
1456 if (resource >= RLIM_NLIMITS) in do_prlimit()
1458 resource = array_index_nospec(resource, RLIM_NLIMITS); in do_prlimit()
1463 if (resource == RLIMIT_NOFILE && in do_prlimit()
1469 rlim = tsk->signal->rlim + resource; in do_prlimit()
1480 retval = security_task_setrlimit(tsk, resource, new_rlim); in do_prlimit()
1495 if (!retval && new_rlim && resource == RLIMIT_CPU && in do_prlimit()
1513 SYSCALL_DEFINE2(getrlimit, unsigned int, resource, struct rlimit __user *, rlim) in SYSCALL_DEFINE2() argument
1518 ret = do_prlimit(current, resource, NULL, &value); in SYSCALL_DEFINE2()
1527 COMPAT_SYSCALL_DEFINE2(setrlimit, unsigned int, resource, in COMPAT_SYSCALL_DEFINE2() argument
[all …]
Dkexec_file.c491 static int locate_mem_hole_callback(struct resource *res, void *arg) in locate_mem_hole_callback()
520 int (*func)(struct resource *, void *)) in kexec_walk_memblock() argument
525 struct resource res = { }; in kexec_walk_memblock()
569 int (*func)(struct resource *, void *)) in kexec_walk_memblock() argument
585 int (*func)(struct resource *, void *)) in kexec_walk_resources() argument
Dkexec_core.c59 struct resource crashk_res = {
66 struct resource crashk_low_res = {
1026 struct resource *ram_res; in crash_shrink_memory()
DMakefile7 cpu.o exit.o softirq.o resource.o \
/kernel/trace/
Dtrace_mmiotrace.c71 start = dev->resource[i].start; in mmio_print_pcidev()
74 (dev->resource[i].flags & PCI_REGION_FLAG_MASK))); in mmio_print_pcidev()
77 start = dev->resource[i].start; in mmio_print_pcidev()
78 end = dev->resource[i].end; in mmio_print_pcidev()
80 dev->resource[i].start < dev->resource[i].end ? in mmio_print_pcidev()