Home
last modified time | relevance | path

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

12345678910>>...14

/freebsd/sys/dev/ice/
H A Dice_resmgr.c61 * @num_res: the maximum number of resources it can assign
64 * assign up to the requested number of resources. Uses bit strings to track
65 * which resources have been assigned. This type of resmgr is intended to be
71 resmgr->resources = bit_alloc(num_res, M_ICE_RESMGR, M_NOWAIT); in ice_resmgr_init()
72 if (resmgr->resources == NULL) in ice_resmgr_init()
83 * @num_res: the maximum number of resources it can assign
108 * resources have been released.
113 if (resmgr->resources != NULL) { in ice_resmgr_destroy()
117 bit_count(resmgr->resources, 0, resmgr->num_res, &set); in ice_resmgr_destroy()
121 free(resmgr->resources, M_ICE_RESMG in ice_resmgr_destroy()
[all...]
/freebsd/sys/isa/
H A Dpnp.c219 * Constrain the number of resources we will try to program in pnp_set_config()
243 * Now program the resources. in pnp_set_config()
385 u_char *resources, int len) in pnp_create_devices() argument
396 resp = resources; in pnp_create_devices()
456 * Parse the resources for the previous in pnp_create_devices()
468 * resources. in pnp_create_devices()
501 device_printf(parent, "malformed resources\n"); in pnp_create_devices()
522 * Read 'amount' bytes of resources from the card, allocating memory
527 * number of bytes of resources in '*spacep' and '*lenp' respectively.
536 u_char *resources in pnp_read_bytes() local
584 u_char *resources = *resourcesp; pnp_read_resources() local
645 u_char *resources = NULL; pnp_isolation_protocol() local
[all...]
H A Dpnpvar.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,
H A Dpnpparse.c346 *pnp_parse_dependant(device_t dev, u_char *resources, int len, in pnp_parse_dependant() argument
350 return pnp_scan_resources(dev, resources, len, config, ldn, in pnp_parse_dependant()
405 pnp_parse_resources(device_t dev, u_char *resources, int len, int ldn) in pnp_parse_resources() argument
432 p = resources; in pnp_parse_resources()
568 *pnp_scan_resources(device_t dev, u_char *resources, int len, in pnp_scan_resources() argument
575 p = resources; in pnp_scan_resources()
/freebsd/contrib/llvm-project/libcxx/src/experimental/
H A Dmemory_resource.cpp
/freebsd/sys/contrib/zstd/examples/
H A Dmultiple_simple_compression.c23 } resources; typedef
29 static resources createResources_orDie(int argc, const char** argv, char **ofn, size_t* ofnBufferLe… in createResources_orDie()
44 resources ress; in createResources_orDie()
57 static void freeResources(resources ress, char *outFilename) in freeResources()
66 static void compressFile_orDie(resources ress, const char* fname, const char* oname) in compressFile_orDie()
97 resources const ress = createResources_orDie(argc, argv, &outFilename, &outFilenameBufferLen); in main()
H A Dmultiple_streaming_compression.c29 } resources; typedef
31 static resources createResources_orDie(int cLevel) in createResources_orDie()
33 resources ress; in createResources_orDie()
50 static void freeResources(resources ress) in freeResources()
57 static void compressFile_orDie(resources ress, const char* fname, const char* outName) in compressFile_orDie()
107 resources const ress = createResources_orDie(cLevel); in main()
/freebsd/sys/dev/bhnd/bhndb/
H A Dbhndbvar.h93 struct bhndb_host_resources **resources,
98 struct bhndb_host_resources *resources);
100 struct bhndb_host_resources *resources,
104 struct bhndb_host_resources *resources,
147 struct resource_list resources; /**< child resources. */ member
166 struct resource **resources; /**< allocated resource table */ member
H A Dbhndb_subr.c206 struct resource *r = hr->resources[i]; in bhndb_host_resource_for_range()
248 return (hr->resources[i]); in bhndb_host_resource_for_regwin()
461 res = r->res->resources[i]; in bhndb_alloc_resources()
648 bhndb_alloc_host_resources(struct bhndb_host_resources **resources, in bhndb_alloc_host_resources() argument
663 hr->resources = NULL; in bhndb_alloc_host_resources()
726 hr->resources = malloc(sizeof(hr->resources[0]) * nres, M_BHND, in bhndb_alloc_host_resources()
731 hr->resources); in bhndb_alloc_host_resources()
738 *resources = hr; in bhndb_alloc_host_resources()
745 if (hr->resources != NULL) in bhndb_alloc_host_resources()
746 free(hr->resources, M_BHND); in bhndb_alloc_host_resources()
[all …]
/freebsd/usr.bin/limits/
H A Dlimits.c231 } resources[RLIM_NLIMITS] = { variable
401 sprintf(str, "%s-cur", resources[rcswhich].cap); in main()
402 …val = resources[rcswhich].func(lc, resources[rcswhich].cap, limits[rcswhich].rlim_cur, limits[rcsw… in main()
403 limits[rcswhich].rlim_cur = resources[rcswhich].func(lc, str, val, val); in main()
405 sprintf(str, "%s-max", resources[rcswhich].cap); in main()
406 …val = resources[rcswhich].func(lc, resources[rcswhich].cap, limits[rcswhich].rlim_max, limits[rcsw… in main()
407 limits[rcswhich].rlim_max = resources[rcswhich].func(lc, str, val, val); in main()
483 err(1, "setrlimit %s", resources[rcswhich].cap); in main()
/freebsd/contrib/llvm-project/llvm/include/llvm/Target/
H A DTargetSchedule.td14 // 2. Scheduler Read/Write resources for simple per-opcode cost model.
27 // processor resources and latency with each SchedReadWrite type.
32 // be subtarget specific and can be directly associated with resources
38 // subtarget can directly associate resources with SchedReadWrite
85 // Per-cycle resources tables.
136 // Define a number of interchangeable processor resources. NumUnits
139 // An optional Super resource may be given to model these resources as
140 // a subset of the more general super resources. Using one of these
141 // resources implies using one of the super resources.
143 // ProcResourceUnits normally model a few buffered resources within an
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVScheduleV.td10 /// Define scheduler resources associated with def operands.
51 // Creates WriteRes for (name, mx, resources) tuple
52 multiclass LMULWriteResMX<string name, list<ProcResourceKind> resources,
54 def : WriteRes<!cast<SchedWrite>(name # "_" # mx), resources>;
56 def : WriteRes<!cast<SchedWrite>(name # "_WorstCase"), resources>;
58 multiclass LMULSEWWriteResMXSEW<string name, list<ProcResourceKind> resources,
60 def : WriteRes<!cast<SchedWrite>(name # "_" # mx # "_E" # sew), resources>;
62 def : WriteRes<!cast<SchedWrite>(name # "_WorstCase"), resources>;
71 list<ProcResourceKind> resources,
80 def nameMX # "_Pred" : SchedWriteRes<resources>{
[all …]
H A DRISCVScheduleXSf.td35 multiclass LMULWriteResVCIX<string id, list<ProcResourceKind> resources>{
36 defm : LMULWriteRes<"WriteVC_" # id, resources>;
37 defm : LMULWriteRes<"WriteVC_V_" # id, resources>;
/freebsd/sys/powerpc/ps3/
H A Dps3bus.c86 struct resource_list resources; member
184 resource_list_init(&dinfo->resources); in ps3bus_resources_init()
219 resource_list_add(&dinfo->resources, SYS_RES_IRQ, i, in ps3bus_resources_init()
251 resource_list_add(&dinfo->resources, SYS_RES_MEMORY, i, in ps3bus_resources_init()
266 resource_list_init(&dinfo->resources); in ps3bus_resources_init_by_type()
287 resource_list_add(&dinfo->resources, SYS_RES_IRQ, i, in ps3bus_resources_init_by_type()
322 resource_list_add(&dinfo->resources, SYS_RES_MEMORY, i, in ps3bus_resources_init_by_type()
492 retval += resource_list_print_type(&dinfo->resources, "mem", in ps3bus_print_child()
494 retval += resource_list_print_type(&dinfo->resources, "irq", in ps3bus_print_child()
561 rle = resource_list_find(&dinfo->resources, SYS_RES_MEMOR in ps3bus_alloc_resource()
[all...]
/freebsd/usr.sbin/bsnmpd/modules/snmp_hast/
H A Dhast_snmp.c88 static TAILQ_HEAD(, hast_snmp_resource) resources =
89 TAILQ_HEAD_INITIALIZER(resources);
157 while ((res = TAILQ_FIRST(&resources)) != NULL) { in free_resources()
158 TAILQ_REMOVE(&resources, res, link); in free_resources()
362 TAILQ_INSERT_TAIL(&resources, res, link); in update_resources()
416 res = NEXT_OBJECT_INT(&resources, &value->var, sub); in op_hastResourceTable()
425 res = FIND_OBJECT_INT(&resources, &value->var, sub); in op_hastResourceTable()
430 res = FIND_OBJECT_INT(&resources, &value->var, sub); in op_hastResourceTable()
/freebsd/contrib/llvm-project/lldb/source/Breakpoint/
H A DWatchpointAlgorithms.cpp49 std::vector<WatchpointResourceSP> resources; in AtomizeWatchpointRequest() local
55 resources.push_back(wp_res_sp); in AtomizeWatchpointRequest()
58 return resources; in AtomizeWatchpointRequest()
/freebsd/sys/contrib/device-tree/Bindings/soc/qcom/
H A Dqcom,smd-rpm.txt5 for state of the system resources, such as clocks, regulators and bus
14 The RPM exposes resources to its subnodes. The rpm_requests node must be
16 resources.
H A Dqcom,aoss-qmp.txt10 The AOSS side channel exposes control over a set of resources, used to control
11 a set of debug related clocks and to affect the low power state of resources
12 related to the secondary subsystems. These resources are exposed as a set of
/freebsd/crypto/openssl/doc/man3/
H A DOPENSSL_init_crypto.pod32 During normal operation OpenSSL (libcrypto) will allocate various resources at
34 Additionally some resources are allocated on a per thread basis (if the
35 application is multi-threaded), and these resources must be freed prior to the
38 As of version 1.1.0 OpenSSL will automatically allocate all resources that it
192 and libssl). All resources allocated by OpenSSL are freed. Typically there
212 called after deinitialisation of resources local to a thread, but before other
213 process wide resources are freed. In the event that multiple stop handlers are
216 The OPENSSL_thread_stop_ex() function deallocates resources associated
229 resources are cleaned up on library exit) except if thread local resources
261 uses such functions, then the application must free up OpenSSL resources
[all …]
H A DOPENSSL_init_ssl.pod16 resources at start up that must, subsequently, be freed on close down of the
17 library. Additionally some resources are allocated on a per thread basis (if the
18 application is multi-threaded), and these resources must be freed prior to the
21 As of version 1.1.0 OpenSSL will automatically allocate all resources that it
/freebsd/contrib/llvm-project/libcxx/src/
H A Dmemory_resource.cpp75 } resources; member
77 constexpr ResourceInitHelper() : resources() {} in ResourceInitHelper()
87 memory_resource* new_delete_resource() noexcept { return &res_init.resources.new_delete_res; } in new_delete_resource()
89 memory_resource* null_memory_resource() noexcept { return &res_init.resources.null_res; } in null_memory_resource()
95 static constinit atomic<memory_resource*> __res{&res_init.resources.new_delete_res}; in __default_memory_resource()
104 static constinit memory_resource* res = &res_init.resources.new_delete_res; in __default_memory_resource()
117 static constinit memory_resource* res = &res_init.resources.new_delete_res; in __default_memory_resource()
/freebsd/sys/dev/bhnd/cores/pcie2/
H A Dbhnd_pcie2.c147 return (&dinfo->resources); in bhnd_pcie2_get_resource_list()
166 resource_list_init(&dinfo->resources); in bhnd_pcie2_add_child()
182 resource_list_free(&dinfo->resources); in bhnd_pcie2_child_deleted()
/freebsd/sys/contrib/libsodium/builds/msvc/
H A Dresource.rc20 // English (United States) resources
62 #endif // English (United States) resources
/freebsd/sys/contrib/device-tree/Bindings/net/
H A Dcortina,gemini-ethernet.txt19 They are not independent of each other since they share resources
23 - port0: contains the resources for ethernet port 0
24 - port1: contains the resources for ethernet port 1
/freebsd/crypto/openssl/doc/internal/man3/
H A Dossl_lib_ctx_get_data.pod55 Any resources allocated via a run once initialisation routine can be cleaned up
120 /* Free foo resources associated with ctx */
126 /* Allocate and initialise some foo resources and associated with ctx */
137 /* Do some work using foo resources in ctx */

12345678910>>...14