Home
last modified time | relevance | path

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

12345678910>>...13

/freebsd-13-stable/sys/dev/ice/
HDice_resmgr.c71 resmgr->resources = bit_alloc(num_res, M_ICE_RESMGR, M_NOWAIT); in ice_resmgr_init()
72 if (resmgr->resources == NULL) in ice_resmgr_init()
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_RESMGR); in ice_resmgr_destroy()
122 resmgr->resources = NULL; in ice_resmgr_destroy()
148 bit_ffc_area(resmgr->resources, resmgr->num_res, num_res, &start); in ice_resmgr_assign_contiguous()
154 bit_set(resmgr->resources, start + i); in ice_resmgr_assign_contiguous()
192 bit_ffc_at(resmgr->resources, index, resmgr->num_res, &index); in ice_resmgr_assign_scattered()
196 bit_set(resmgr->resources, index); in ice_resmgr_assign_scattered()
[all …]
/freebsd-13-stable/sys/isa/
HDpnp.c386 u_char *resources, int len) in pnp_create_devices() argument
397 resp = resources; in pnp_create_devices()
537 u_char *resources = *resourcesp; in pnp_read_bytes() local
544 resources = malloc(space, M_TEMP, M_NOWAIT); in pnp_read_bytes()
545 if (!resources) in pnp_read_bytes()
558 bcopy(resources, newres, len); in pnp_read_bytes()
559 free(resources, M_TEMP); in pnp_read_bytes()
560 resources = newres; in pnp_read_bytes()
564 if (pnp_get_resource_info(resources + len, amount) != amount) in pnp_read_bytes()
568 *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()
/freebsd-13-stable/sys/contrib/zstd/examples/
HDmultiple_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()
HDmultiple_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-13-stable/sys/dev/bhnd/bhndb/
HDbhndbvar.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
HDbhndb_subr.c207 struct resource *r = hr->resources[i]; in bhndb_host_resource_for_range()
249 return (hr->resources[i]); in bhndb_host_resource_for_regwin()
462 res = r->res->resources[i]; in bhndb_alloc_resources()
649 bhndb_alloc_host_resources(struct bhndb_host_resources **resources, in bhndb_alloc_host_resources() argument
664 hr->resources = NULL; in bhndb_alloc_host_resources()
727 hr->resources = malloc(sizeof(hr->resources[0]) * nres, M_BHND, in bhndb_alloc_host_resources()
732 hr->resources); in bhndb_alloc_host_resources()
739 *resources = hr; in bhndb_alloc_host_resources()
746 if (hr->resources != NULL) in bhndb_alloc_host_resources()
747 free(hr->resources, M_BHND); in bhndb_alloc_host_resources()
[all …]
/freebsd-13-stable/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()
/freebsd-13-stable/usr.bin/limits/
HDlimits.c229 } resources[RLIM_NLIMITS] = { variable
398 sprintf(str, "%s-cur", resources[rcswhich].cap); in main()
399 …val = resources[rcswhich].func(lc, resources[rcswhich].cap, limits[rcswhich].rlim_cur, limits[rcsw… in main()
400 limits[rcswhich].rlim_cur = resources[rcswhich].func(lc, str, val, val); in main()
402 sprintf(str, "%s-max", resources[rcswhich].cap); in main()
403 …val = resources[rcswhich].func(lc, resources[rcswhich].cap, limits[rcswhich].rlim_max, limits[rcsw… in main()
404 limits[rcswhich].rlim_max = resources[rcswhich].func(lc, str, val, val); in main()
480 err(1, "setrlimit %s", resources[rcswhich].cap); in main()
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Target/
HDTargetSchedule.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-13-stable/contrib/llvm-project/llvm/lib/Target/RISCV/
HDRISCVScheduleV.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 …]
HDRISCVScheduleXSf.td35 multiclass LMULWriteResVCIX<string id, list<ProcResourceKind> resources>{
36 defm : LMULWriteRes<"WriteVC_" # id, resources>;
37 defm : LMULWriteRes<"WriteVC_V_" # id, resources>;
/freebsd-13-stable/sys/powerpc/ps3/
HDps3bus.c82 struct resource_list resources; member
176 resource_list_init(&dinfo->resources); in ps3bus_resources_init()
211 resource_list_add(&dinfo->resources, SYS_RES_IRQ, i, in ps3bus_resources_init()
243 resource_list_add(&dinfo->resources, SYS_RES_MEMORY, i, in ps3bus_resources_init()
258 resource_list_init(&dinfo->resources); in ps3bus_resources_init_by_type()
279 resource_list_add(&dinfo->resources, SYS_RES_IRQ, i, in ps3bus_resources_init_by_type()
314 resource_list_add(&dinfo->resources, SYS_RES_MEMORY, i, in ps3bus_resources_init_by_type()
484 retval += resource_list_print_type(&dinfo->resources, "mem", in ps3bus_print_child()
486 retval += resource_list_print_type(&dinfo->resources, "irq", in ps3bus_print_child()
544 rle = resource_list_find(&dinfo->resources, SYS_RES_MEMORY, in ps3bus_alloc_resource()
[all …]
/freebsd-13-stable/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()
/freebsd-13-stable/contrib/llvm-project/lldb/source/Breakpoint/
HDWatchpointAlgorithms.cpp49 std::vector<WatchpointResourceSP> resources; in AtomizeWatchpointRequest() local
55 resources.push_back(wp_res_sp); in AtomizeWatchpointRequest()
58 return resources; in AtomizeWatchpointRequest()
/freebsd-13-stable/sys/contrib/device-tree/Bindings/soc/qcom/
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.
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-13-stable/crypto/openssl/doc/man3/
HDOPENSSL_init_crypto.pod31 During normal operation OpenSSL (libcrypto) will allocate various resources at
33 Additionally some resources are allocated on a per thread basis (if the
34 application is multi-threaded), and these resources must be freed prior to the
37 As of version 1.1.0 OpenSSL will automatically allocate all resources that it
181 and libssl). All resources allocated by OpenSSL are freed. Typically there
201 called after deinitialisation of resources local to a thread, but before other
202 process wide resources are freed. In the event that multiple stop handlers are
205 The OPENSSL_thread_stop() function deallocates resources associated
208 resources should be freed at an earlier time, or under the circumstances
235 uses such functions, then the application must free up OpenSSL resources
[all …]
HDOPENSSL_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-13-stable/sys/dev/bhnd/cores/pcie2/
HDbhnd_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-13-stable/contrib/llvm-project/libcxx/src/
HDmemory_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-13-stable/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 */
/freebsd-13-stable/sys/contrib/libsodium/builds/msvc/
HDresource.rc20 // English (United States) resources
62 #endif // English (United States) resources
/freebsd-13-stable/sys/contrib/device-tree/Bindings/net/
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

12345678910>>...13