| /f-stack/freebsd/sys/ |
| H A D | rman.h | 104 struct resource { struct 126 int rman_activate_resource(struct resource *r); 131 rman_res_t rman_get_end(struct resource *); 132 device_t rman_get_device(struct resource *); 133 u_int rman_get_flags(struct resource *); 134 void *rman_get_irq_cookie(struct resource *); 136 int rman_get_rid(struct resource *); 137 rman_res_t rman_get_size(struct resource *); 138 rman_res_t rman_get_start(struct resource *); 139 void *rman_get_virtual(struct resource *); [all …]
|
| H A D | racct.h | 177 int racct_add(struct proc *p, int resource, uint64_t amount); 181 int racct_set(struct proc *p, int resource, uint64_t amount); 184 void racct_sub(struct proc *p, int resource, uint64_t amount); 186 uint64_t racct_get_limit(struct proc *p, int resource); 187 uint64_t racct_get_available(struct proc *p, int resource); 208 racct_add(struct proc *p, int resource, uint64_t amount) in racct_add() argument 220 racct_add_force(struct proc *p, int resource, uint64_t amount) in racct_add_force() argument 225 racct_set(struct proc *p, int resource, uint64_t amount) in racct_set() argument 237 racct_sub(struct proc *p, int resource, uint64_t amount) in racct_sub() argument 247 racct_get_limit(struct proc *p, int resource) in racct_get_limit() argument [all …]
|
| H A D | intr.h | 118 bool intr_is_per_cpu(struct resource *); 124 int intr_activate_irq(device_t, struct resource *); 125 int intr_deactivate_irq(device_t, struct resource *); 127 int intr_setup_irq(device_t, struct resource *, driver_filter_t, driver_intr_t, 129 int intr_teardown_irq(device_t, struct resource *, void *); 131 int intr_describe_irq(device_t, struct resource *, void *, const char *); 150 int intr_bind_irq(device_t, struct resource *, int);
|
| H A D | bus.h | 334 struct resource; 372 struct resource * 384 struct resource * 419 struct resource * 448 struct resource *r, 468 struct resource * 477 struct resource *); 485 struct resource *irq); 487 struct resource *irq); 489 struct resource *r, [all …]
|
| H A D | rctl.h | 144 int rctl_enforce(struct proc *p, int resource, uint64_t amount); 145 void rctl_throttle_decay(struct racct *racct, int resource); 147 uint64_t rctl_get_limit(struct proc *p, int resource); 148 uint64_t rctl_get_available(struct proc *p, int resource); 149 const char *rctl_resource_name(int resource);
|
| /f-stack/dpdk/app/test/ |
| H A D | resource.h | 25 TAILQ_HEAD(resource_list, resource); 32 struct resource { struct 36 TAILQ_ENTRY(resource) next; 42 size_t resource_size(const struct resource *r); 47 const struct resource *resource_find(const char *name); 53 int resource_fwrite(const struct resource *r, FILE *f); 60 int resource_fwrite_file(const struct resource *r, const char *fname); 66 int resource_untar(const struct resource *res); 73 int resource_rm_by_tar(const struct resource *res); 80 void resource_register(struct resource *r); [all …]
|
| H A D | resource.c | 16 size_t resource_size(const struct resource *r) in resource_size() 21 const struct resource *resource_find(const char *name) in resource_find() 23 struct resource *r; in resource_find() 35 int resource_fwrite(const struct resource *r, FILE *f) in resource_fwrite() 53 int resource_fwrite_file(const struct resource *r, const char *fname) in resource_fwrite_file() 103 int resource_untar(const struct resource *res) in resource_untar() 181 int resource_rm_by_tar(const struct resource *res) in resource_rm_by_tar() 273 void resource_register(struct resource *r) in resource_register()
|
| /f-stack/freebsd/kern/ |
| H A D | kern_racct.c | 524 racct->r_resources[resource] += amount; in racct_adjust_resource() 525 if (racct->r_resources[resource] < 0) { in racct_adjust_resource() 526 KASSERT(RACCT_IS_SLOPPY(resource) || RACCT_IS_DECAYING(resource), in racct_adjust_resource() 528 racct->r_resources[resource] = 0; in racct_adjust_resource() 540 if ((resource == RACCT_PCTCPU) && in racct_adjust_resource() 686 if (resource == RACCT_PCTCPU) { in racct_set_locked() 700 resource)); in racct_set_locked() 735 error = racct_set(p, resource, amount); in racct_set_unlocked() 862 KASSERT(RACCT_CAN_DROP(resource), in racct_sub() 903 KASSERT(RACCT_CAN_DROP(resource), in racct_sub_cred() [all …]
|
| H A D | bus_if.m | 45 static struct resource * struct 275 * valid if the resource type is). If a resource was allocated and the 327 struct resource *_r; 349 struct resource *_r; 372 struct resource *_r; 394 struct resource *_r; 416 struct resource *_res; 456 struct resource *_res; 485 struct resource *_irq; 509 struct resource *_irq; [all …]
|
| H A D | subr_rman.c | 89 struct resource r_r; 437 struct resource * 654 struct resource * 824 rman_get_start(struct resource *r) in rman_get_start() 838 rman_get_end(struct resource *r) in rman_get_end() 845 rman_get_size(struct resource *r) in rman_get_size() 852 rman_get_flags(struct resource *r) in rman_get_flags() 866 rman_get_virtual(struct resource *r) in rman_get_virtual() 894 rman_get_bustag(struct resource *r) in rman_get_bustag() 943 rman_get_rid(struct resource *r) in rman_get_rid() [all …]
|
| H A D | pic_if.m | 32 #include <sys/resource.h> 47 struct resource *res, struct intr_map_data *data) 55 struct resource *res, struct intr_map_data *data) 63 struct resource *res, struct intr_map_data *data) 71 struct resource *res, struct intr_map_data *data) 98 struct resource *res; 126 struct resource *res; 133 struct resource *res; 140 struct resource *res;
|
| /f-stack/freebsd/contrib/device-tree/Bindings/edac/ |
| H A D | apm-xgene-edac.txt | 15 - regmap-csw : Regmap of the CPU switch fabric (CSW) resource. 16 - regmap-mcba : Regmap of the MCB-A (memory bridge) resource. 17 - regmap-mcbb : Regmap of the MCB-B (memory bridge) resource. 18 - regmap-efuse : Regmap of the PMD efuse resource. 19 - regmap-rb : Regmap of the register bus resource. This property 23 - reg : First resource shall be the CPU bus (PCP) resource. 29 - reg : First resource shall be the memory controller unit 30 (MCU) resource. 36 - reg : First resource shall be the PMD resource. 42 - reg : First resource shall be the L3 EDAC resource. [all …]
|
| /f-stack/freebsd/arm/arm/ |
| H A D | nexus.c | 90 struct resource *); 94 static int nexus_bind_intr(device_t, device_t, struct resource *, int); 99 struct resource *irq, void *cookie, const char *descr); 101 struct resource *); 103 struct resource *); 221 static struct resource * 225 struct resource *rv; in nexus_alloc_resource() 259 struct resource *res) in nexus_release_resource() 326 nexus_describe_intr(device_t dev, device_t child, struct resource *irq, in nexus_describe_intr() 344 struct resource *r) in nexus_activate_resource() [all …]
|
| /f-stack/freebsd/contrib/device-tree/Bindings/perf/ |
| H A D | apm-xgene-pmu.txt | 16 - regmap-csw : Regmap of the CPU switch fabric (CSW) resource. 17 - regmap-mcba : Regmap of the MCB-A (memory bridge) resource. 18 - regmap-mcbb : Regmap of the MCB-B (memory bridge) resource. 19 - reg : First resource shall be the CPU bus PMU resource. 24 - reg : First resource shall be the L3C PMU resource. 28 - reg : First resource shall be the IOB PMU resource. 32 - reg : First resource shall be the MCB PMU resource. 37 - reg : First resource shall be the MC PMU resource.
|
| /f-stack/freebsd/contrib/device-tree/Bindings/ata/ |
| H A D | apm-xgene.txt | 9 - reg : First memory resource shall be the AHCI memory 10 resource. 11 Second memory resource shall be the host controller 12 core memory resource. 13 Third memory resource shall be the host controller 14 diagnostic memory resource. 15 4th memory resource shall be the host controller 16 AXI memory resource. 17 5th optional memory resource shall be the host 18 controller MUX memory resource if required.
|
| /f-stack/freebsd/x86/x86/ |
| H A D | nexus.c | 112 struct resource *irq, void *cookie, 115 struct resource *); 117 struct resource *); 119 struct resource *r, 125 struct resource *); 373 static struct resource * 379 struct resource *rv; in nexus_alloc_resource() 437 struct resource *r) in nexus_activate_resource() 461 struct resource *r) in nexus_deactivate_resource() 558 struct resource *r) in nexus_release_resource() [all …]
|
| /f-stack/freebsd/arm64/arm64/ |
| H A D | nexus.c | 105 static struct resource *nexus_alloc_resource(device_t, device_t, int, int *, 108 struct resource *); 115 struct resource *); 117 struct resource *); 124 static int nexus_bind_intr(device_t, device_t, struct resource *, int); 217 static struct resource * 222 struct resource *rv; in nexus_alloc_resource() 277 struct resource *res) in nexus_release_resource() 329 nexus_bind_intr(device_t dev, device_t child, struct resource *irq, int cpu) in nexus_bind_intr() 345 struct resource *r) in nexus_activate_resource() [all …]
|
| H A D | gic_v3_var.h | 44 struct resource res; /* mem resource for redist */ 55 struct resource ** regions; 64 struct resource ** gic_res; 67 struct resource * gic_dist;
|
| /f-stack/freebsd/mips/mips/ |
| H A D | nexus.c | 96 static struct resource * 110 struct resource *); 114 struct resource *); 116 struct resource *); 119 struct resource *res, int flags, driver_filter_t *filt, 132 struct resource *irq, void *cookie, const char *descr); 278 static struct resource * 283 struct resource *rv; in nexus_alloc_resource() 405 struct resource *r) in nexus_release_resource() 420 struct resource *r) in nexus_activate_resource() [all …]
|
| /f-stack/freebsd/mips/cavium/octe/ |
| H A D | octebusvar.h | 37 struct resource *sc_rx_irq; 40 struct resource *sc_rgmii_irq; 41 struct resource *sc_spi_irq;
|
| /f-stack/freebsd/mips/atheros/ |
| H A D | apb.c | 65 struct resource *); 67 static struct resource * 72 struct resource *); 79 struct resource *); 80 static int apb_setup_intr(device_t, device_t, struct resource *, int, 82 static int apb_teardown_intr(device_t, device_t, struct resource *, 164 static struct resource * 170 struct resource *rv; in apb_alloc_resource() 248 struct resource *r) in apb_activate_resource() 258 struct resource *r) in apb_deactivate_resource() [all …]
|
| /f-stack/freebsd/mips/cavium/ |
| H A D | ciu.c | 68 struct resource *ciu_irq; 79 static struct resource *ciu_alloc_resource(device_t, device_t, int, int *, 82 static int ciu_setup_intr(device_t, device_t, struct resource *, 86 struct resource *, void *); 87 static int ciu_bind_intr(device_t, device_t, struct resource *, 90 struct resource *, void *, 175 static struct resource * 179 struct resource *res; in ciu_alloc_resource() 261 ciu_teardown_intr(device_t bus, device_t child, struct resource *res, in ciu_teardown_intr() 275 ciu_bind_intr(device_t bus, device_t child, struct resource *res, int cpu) in ciu_bind_intr() [all …]
|
| /f-stack/freebsd/x86/xen/ |
| H A D | xenpv.c | 114 static struct resource * 117 struct resource *res; in xenpv_alloc_physmem() 138 xenpv_free_physmem(device_t dev, device_t child, int res_id, struct resource *res) in xenpv_free_physmem() 180 struct resource * 192 xenmem_free(device_t dev, int res_id, struct resource *res) in xenmem_free()
|
| /f-stack/freebsd/mips/malta/ |
| H A D | gt.c | 78 static struct resource * 89 struct resource *ires, int flags, driver_filter_t *filt, in gt_setup_intr() 97 gt_teardown_intr(device_t dev, device_t child, struct resource *res, in gt_teardown_intr() 105 struct resource *r) in gt_activate_resource()
|
| /f-stack/freebsd/contrib/device-tree/Bindings/reserved-memory/ |
| H A D | qcom,cmd-db.txt | 4 Command DB is a database that provides a mapping between resource key and the 5 resource address for a system resource managed by a remote processor. The data 10 resource properties may change. These properties are dynamically probed by the
|