Home
last modified time | relevance | path

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

1234567

/NextBSD/sys/isa/
HDpnp.c417 u_char *resources, int len) in pnp_create_devices() argument
428 resp = resources; in pnp_create_devices()
568 u_char *resources = *resourcesp; in pnp_read_bytes() local
575 resources = malloc(space, M_TEMP, M_NOWAIT); in pnp_read_bytes()
576 if (!resources) in pnp_read_bytes()
589 bcopy(resources, newres, len); in pnp_read_bytes()
590 free(resources, M_TEMP); in pnp_read_bytes()
591 resources = newres; in pnp_read_bytes()
595 if (pnp_get_resource_info(resources + len, amount) != amount) in pnp_read_bytes()
599 *resourcesp = resources; in pnp_read_bytes()
[all …]
HDpnpvar.h55 void pnp_parse_resources(device_t dev, u_char *resources, int len, int ldn);
56 u_char *pnp_parse_dependant(device_t dev, u_char *resources, int len,
58 u_char *pnp_scan_resources(device_t dev, u_char *resources, int len,
HDpnpparse.c347 *pnp_parse_dependant(device_t dev, u_char *resources, int len, in pnp_parse_dependant() argument
351 return pnp_scan_resources(dev, resources, len, config, ldn, in pnp_parse_dependant()
406 pnp_parse_resources(device_t dev, u_char *resources, int len, int ldn) in pnp_parse_resources() argument
433 p = resources; in pnp_parse_resources()
569 *pnp_scan_resources(device_t dev, u_char *resources, int len, in pnp_scan_resources() argument
576 p = resources; in pnp_scan_resources()
/NextBSD/contrib/gcc/
HDresource.h32 struct resources struct
48 extern void mark_target_live_regs (rtx, rtx, struct resources *); argument
49 extern void mark_set_resources (rtx, struct resources *, int,
51 extern void mark_referenced_resources (rtx, struct resources *, int);
HDresource.c56 static struct resources start_of_epilogue_needs;
59 static struct resources end_of_function_needs;
84 static rtx find_dead_or_set_registers (rtx, struct resources*,
85 rtx*, int, struct resources,
86 struct resources);
205 mark_referenced_resources (rtx x, struct resources *res, in mark_referenced_resources()
432 find_dead_or_set_registers (rtx target, struct resources *res, in find_dead_or_set_registers()
434 struct resources set, struct resources needed) in find_dead_or_set_registers()
517 struct resources target_set, target_res; in find_dead_or_set_registers()
518 struct resources fallthrough_res; in find_dead_or_set_registers()
[all …]
HDreorg.c175 static int resource_conflicts_p (struct resources *, struct resources *);
176 static int insn_references_resource_p (rtx, struct resources *, int);
177 static int insn_sets_resource_p (rtx, struct resources *, int);
196 struct resources *,
197 struct resources *,
198 struct resources *,
201 struct resources *,
202 struct resources *,
203 struct resources *,
267 resource_conflicts_p (struct resources *res1, struct resources *res2) in resource_conflicts_p()
[all …]
/NextBSD/contrib/llvm/include/llvm/Target/
HDTargetSchedule.td15 // 2. Scheduler Read/Write resources for simple per-opcode cost model.
28 // processor resources and latency with each SchedReadWrite type.
33 // be subtarget specific and can be directly associated with resources
39 // subtarget can directly associate resources with SchedReadWrite
88 // Per-cycle resources tables.
113 // Define a number of interchangeable processor resources. NumUnits
116 // An optional Super resource may be given to model these resources as
117 // a subset of the more general super resources. Using one of these
118 // resources implies using one of the super resoruces.
120 // ProcResourceUnits normally model a few buffered resources within an
[all …]
/NextBSD/contrib/apr-util/test/
HDtestreslist.c144 my_resource_t *resources[RESLIST_HMAX]; in test_timeout() local
157 rv = apr_reslist_acquire(rl, (void**)&resources[i]); in test_timeout()
169 rv = apr_reslist_release(rl, resources[i]); in test_timeout()
177 my_resource_t *resources[RESLIST_HMAX]; in test_shrinking() local
185 rv = apr_reslist_acquire(rl, (void**)&resources[i]); in test_shrinking()
191 rv = apr_reslist_release(rl, resources[i]); in test_shrinking()
210 rv = apr_reslist_release(rl, resources[i]); in test_shrinking()
/NextBSD/contrib/binutils/binutils/
HDrescoff.c396 struct coff_res_data_build resources; member
420 const rc_res_directory *resources) in write_coff_file() argument
497 cwi.resources.d = NULL; in write_coff_file()
498 cwi.resources.last = NULL; in write_coff_file()
499 cwi.resources.length = 0; in write_coff_file()
505 coff_bin_sizes (resources, &cwi); in write_coff_file()
512 coff_to_bin (resources, &cwi); in write_coff_file()
534 + cwi.resources.length); in write_coff_file()
558 for (rd = cwi.resources.d; rd != NULL; rd = rd->next) in write_coff_file()
732 + cwi->resources.length)); in coff_res_to_bin()
[all …]
HDresres.c72 static rc_res_directory *resources = NULL; variable
110 return resources; in read_res_file()
644 res_append_resource (&resources, r, 3, a, dupok); in res_add_resource()
652 res_append_resource (rc_res_directory **resources, rc_res_resource *resource, in res_append_resource() argument
663 if (*resources == NULL) in res_append_resource()
672 *resources = ((rc_res_directory *) in res_append_resource()
674 (*resources)->characteristics = 0; in res_append_resource()
675 (*resources)->time = timeval; in res_append_resource()
676 (*resources)->major = 0; in res_append_resource()
677 (*resources)->minor = 0; in res_append_resource()
[all …]
HDresrc.c143 static rc_res_directory *resources; variable
537 return resources; in read_rc_file()
651 r = define_standard_resource (&resources, RT_ACCELERATOR, id, in define_accelerator()
691 r = define_standard_resource (&resources, RT_BITMAP, id, in define_bitmap()
779 r = define_standard_resource (&resources, RT_CURSOR, name, in define_cursor()
815 r = define_standard_resource (&resources, RT_GROUP_CURSOR, id, in define_cursor()
834 r = define_standard_resource (&resources, RT_DIALOG, id, in define_dialog()
927 r = define_standard_resource (&resources, RT_FONT, id, in define_font()
989 r = define_standard_resource (&resources, RT_FONT, id, in define_font_rcdata()
1012 r = define_standard_resource (&resources, RT_FONTDIR, id, 0x409, 0); in define_fontdirs()
[all …]
/NextBSD/usr.bin/limits/
HDlimits.c227 } resources[RLIM_NLIMITS] = { variable
395 sprintf(str, "%s-cur", resources[rcswhich].cap); in main()
396 …val = resources[rcswhich].func(lc, resources[rcswhich].cap, limits[rcswhich].rlim_cur, limits[rcsw… in main()
397 limits[rcswhich].rlim_cur = resources[rcswhich].func(lc, str, val, val); in main()
399 sprintf(str, "%s-max", resources[rcswhich].cap); in main()
400 …val = resources[rcswhich].func(lc, resources[rcswhich].cap, limits[rcswhich].rlim_max, limits[rcsw… in main()
401 limits[rcswhich].rlim_max = resources[rcswhich].func(lc, str, val, val); in main()
477 err(1, "setrlimit %s", resources[rcswhich].cap); in main()
/NextBSD/sys/powerpc/ps3/
HDps3bus.c81 struct resource_list resources; member
175 resource_list_init(&dinfo->resources); in ps3bus_resources_init()
210 resource_list_add(&dinfo->resources, SYS_RES_IRQ, i, in ps3bus_resources_init()
242 resource_list_add(&dinfo->resources, SYS_RES_MEMORY, i, in ps3bus_resources_init()
257 resource_list_init(&dinfo->resources); in ps3bus_resources_init_by_type()
278 resource_list_add(&dinfo->resources, SYS_RES_IRQ, i, in ps3bus_resources_init_by_type()
313 resource_list_add(&dinfo->resources, SYS_RES_MEMORY, i, in ps3bus_resources_init_by_type()
483 retval += resource_list_print_type(&dinfo->resources, "mem", in ps3bus_print_child()
485 retval += resource_list_print_type(&dinfo->resources, "irq", in ps3bus_print_child()
543 rle = resource_list_find(&dinfo->resources, SYS_RES_MEMORY, in ps3bus_alloc_resource()
[all …]
/NextBSD/usr.sbin/bsnmpd/modules/snmp_hast/
HDhast_snmp.c89 static TAILQ_HEAD(, hast_snmp_resource) resources =
90 TAILQ_HEAD_INITIALIZER(resources);
158 while ((res = TAILQ_FIRST(&resources)) != NULL) { in free_resources()
159 TAILQ_REMOVE(&resources, res, link); in free_resources()
363 TAILQ_INSERT_TAIL(&resources, res, link); in update_resources()
417 res = NEXT_OBJECT_INT(&resources, &value->var, sub); in op_hastResourceTable()
426 res = FIND_OBJECT_INT(&resources, &value->var, sub); in op_hastResourceTable()
431 res = FIND_OBJECT_INT(&resources, &value->var, sub); in op_hastResourceTable()
/NextBSD/sys/contrib/octeon-sdk/
HDcvmx-resources.config46 * File version info: $Id: cvmx-resources.config 70030 2012-02-16 04:23:43Z cchavva $
93 /* Define CVMX_ENABLE_DFA_FUNCTIONS to allocate resources for the DFA functions */
108 /* Define CVMX_ENABLE_PKO_FUNCTIONS to allocate resources for the PKO functions */
171 /* Define CVMX_ENABLE_HELPER_FUNCTIONS to allocate resources for the helper functions */
183 /* Define CVMX_ENABLE_TIMER_FUNCTIONS to allocate resources for the timer functions */
/NextBSD/sys/mips/sibyte/
HDsb_zbbus.c200 struct resource_list resources; member
298 rl = &dinfo->resources; in zbbus_alloc_resource()
414 resource_list_init(&dinfo->resources); in zbbus_add_child()
426 return (&dinfo->resources); in zbbus_get_resource_list()
/NextBSD/sys/dev/cxgbe/firmware/
HDt5fw_cfg_fpga.txt16 # Many of the T4 resources which are described by this configuration are
20 # Some of the more important resources to allocate and their constaints are:
38 # 6. Some OS Drivers will manage all resources through a single Physical
40 # this "Unified PF" will need to have enough resources allocated to it
184 # Breakdown of Virtual Interface/Queue/Interrupt resources for the "Unified
242 # Microsoft HyperV resources. The HyperV Virtual Ingress Queues will have
261 # The sum of all the MSI-X resources above is 74 MSI-X Vectors but we'll round
262 # that up to 128 to make sure the Unified PF doesn't run out of resources.
319 # only enough resources to support a single port's NIC application functions
326 # Thus we need to provide a large number of resources here. For Egress
[all …]
HDt4fw_cfg_uwire.txt16 # Many of the T4 resources which are described by this configuration are
20 # Some of the more important resources to allocate and their constaints are:
38 # 6. Some OS Drivers will manage all resources through a single Physical
40 # this "Unified PF" will need to have enough resources allocated to it
164 # Breakdown of Virtual Interface/Queue/Interrupt resources for the "Unified
222 # Microsoft HyperV resources. The HyperV Virtual Ingress Queues will have
241 # The sum of all the MSI-X resources above is 74 MSI-X Vectors but we'll round
242 # that up to 128 to make sure the Unified PF doesn't run out of resources.
299 # only enough resources to support a single port's NIC application functions
353 # Thus we need to provide a large number of resources here. For Egress
[all …]
HDt5fw_cfg_uwire.txt17 # Many of the Terminator resources which are described by this configuration
21 # Some of the more important resources to allocate and their constaints are:
30 # 6. Some OS Drivers will manage all resources through a single Physical
191 # Breakdown of Virtual Interface/Queue/Interrupt resources for the "Unified
249 # Microsoft HyperV resources. The HyperV Virtual Ingress Queues will have
268 # The sum of all the MSI-X resources above is 74 MSI-X Vectors but we'll round
269 # that up to 128 to make sure the Unified PF doesn't run out of resources.
327 # only enough resources to support a single port's NIC application functions
385 # Thus we need to provide a large number of resources here. For Egress
464 # configure and reserve firmware internal resources that come from the global
[all …]
/NextBSD/sys/dev/atkbdc/
HDatkbdc_ebus.c276 resource_list_init(&adi->resources); in atkbdc_ebus_attach()
277 resource_list_add(&adi->resources, SYS_RES_IRQ, adi->rid, in atkbdc_ebus_attach()
282 resource_list_free(&adi->resources); in atkbdc_ebus_attach()
/NextBSD/contrib/llvm/include/llvm/IR/
HDIntrinsicsXCore.td98 // If any of the resources owned by the thread are ready this returns the
99 // vector of one of the ready resources. If no resources owned by the thread
/NextBSD/sys/dev/pccard/
HDpccard.c242 resource_list_init(&ivar->resources); in pccard_attach_card()
471 struct resource_list *rl = &devi->resources; in pccard_function_init()
599 STAILQ_FOREACH(rle, &devi->resources, link) { in pccard_function_free()
613 resource_list_free(&devi->resources); in pccard_function_free()
782 resource_list_find(&devi->resources, SYS_RES_IRQ, 0); in pccard_function_disable()
900 struct resource_list *rl = &devi->resources; in pccard_print_child()
929 struct resource_list *rl = &devi->resources; in pccard_set_resource()
958 struct resource_list *rl = &devi->resources; in pccard_get_resource()
977 struct resource_list *rl = &devi->resources; in pccard_delete_resource()
1150 rle = resource_list_find(&dinfo->resources, type, *rid); in pccard_alloc_resource()
[all …]
/NextBSD/contrib/llvm/lib/Target/ARM/
HDARMSchedule.td12 // Here we define the subtarget independent read/write per-operand resources.
30 // We will do this by assigning (abstract) resources to register defs/uses.
38 // ReadAdvance read resources allow us to define "pipeline by-passes" or
41 // Next, the subtarget td file assigns resources to the abstract resources
52 // // cycle because these resources happen to be pipelined.
/NextBSD/sys/mips/atheros/
HDapb.c196 rle = resource_list_find(&ivar->resources, type, *rid); in apb_alloc_resource()
458 resource_list_init(&ivar->resources); in apb_add_child()
481 return (&(ivar->resources)); in apb_get_resource_list()
488 struct resource_list *rl = &ndev->resources; in apb_print_all_resources()
/NextBSD/contrib/llvm/lib/Target/AMDGPU/
HDSISchedule.td46 class HWWriteRes<SchedWrite write, list<ProcResourceKind> resources,
47 int latency> : WriteRes<write, resources> {

1234567