Home
last modified time | relevance | path

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

12345678910>>...12

/freebsd-13.1/sys/dev/ice/
H A Dice_resmgr.c72 resmgr->resources = bit_alloc(num_res, M_ICE_RESMGR, M_NOWAIT); in ice_resmgr_init()
73 if (resmgr->resources == NULL) in ice_resmgr_init()
114 if (resmgr->resources != NULL) { in ice_resmgr_destroy()
118 bit_count(resmgr->resources, 0, resmgr->num_res, &set); in ice_resmgr_destroy()
122 free(resmgr->resources, M_ICE_RESMGR); in ice_resmgr_destroy()
123 resmgr->resources = NULL; in ice_resmgr_destroy()
149 bit_ffc_area(resmgr->resources, resmgr->num_res, num_res, &start); in ice_resmgr_assign_contiguous()
155 bit_set(resmgr->resources, start + i); in ice_resmgr_assign_contiguous()
193 bit_ffc_at(resmgr->resources, index, resmgr->num_res, &index); in ice_resmgr_assign_scattered()
197 bit_set(resmgr->resources, index); in ice_resmgr_assign_scattered()
[all …]
/freebsd-13.1/sys/isa/
H A Dpnp.c399 resp = resources; in pnp_create_devices()
547 if (!resources) in pnp_read_bytes()
561 free(resources, M_TEMP); in pnp_read_bytes()
562 resources = newres; in pnp_read_bytes()
570 *resourcesp = resources; in pnp_read_bytes()
599 tag = resources[len-1]; in pnp_read_resources()
618 + (resources[len-1] << 8), &resources, &space, in pnp_read_resources()
626 *resourcesp = resources; in pnp_read_resources()
648 u_char *resources = NULL; in pnp_isolation_protocol() local
721 if (resources) in pnp_isolation_protocol()
[all …]
H A Dpnpvar.h57 void pnp_parse_resources(device_t dev, u_char *resources, int len, int ldn);
58 u_char *pnp_parse_dependant(device_t dev, u_char *resources, int len,
60 u_char *pnp_scan_resources(device_t dev, u_char *resources, int len,
H A Dpnpparse.c349 *pnp_parse_dependant(device_t dev, u_char *resources, int len, in pnp_parse_dependant() argument
353 return pnp_scan_resources(dev, resources, len, config, ldn, in pnp_parse_dependant()
408 pnp_parse_resources(device_t dev, u_char *resources, int len, int ldn) in pnp_parse_resources() argument
435 p = resources; in pnp_parse_resources()
571 *pnp_scan_resources(device_t dev, u_char *resources, int len, in pnp_scan_resources() argument
578 p = resources; in pnp_scan_resources()
/freebsd-13.1/contrib/llvm-project/libcxx/src/experimental/
H A Dmemory_resource.cpp73 } resources; member
75 _LIBCPP_CONSTEXPR_AFTER_CXX11 ResourceInitHelper() : resources() {} in ResourceInitHelper()
85 return &res_init.resources.new_delete_res; in new_delete_resource()
89 return &res_init.resources.null_res; in null_memory_resource()
99 ATOMIC_VAR_INIT(&res_init.resources.new_delete_res); in __default_memory_resource()
111 _LIBCPP_SAFE_STATIC static memory_resource * res = &res_init.resources.new_delete_res; in __default_memory_resource()
124 _LIBCPP_SAFE_STATIC static memory_resource* res = &res_init.resources.new_delete_res; in __default_memory_resource()
/freebsd-13.1/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-13.1/sys/dev/bhnd/bhndb/
H A Dbhndbvar.h94 struct bhndb_host_resources **resources,
99 struct bhndb_host_resources *resources);
101 struct bhndb_host_resources *resources,
105 struct bhndb_host_resources *resources,
148 struct resource_list resources; /**< child resources. */ member
167 struct resource **resources; /**< allocated resource table */ member
H A Dbhndb_subr.c209 struct resource *r = hr->resources[i]; in bhndb_host_resource_for_range()
251 return (hr->resources[i]); in bhndb_host_resource_for_regwin()
464 res = r->res->resources[i]; in bhndb_alloc_resources()
651 bhndb_alloc_host_resources(struct bhndb_host_resources **resources, in bhndb_alloc_host_resources() argument
666 hr->resources = NULL; in bhndb_alloc_host_resources()
729 hr->resources = malloc(sizeof(hr->resources[0]) * nres, M_BHND, in bhndb_alloc_host_resources()
734 hr->resources); in bhndb_alloc_host_resources()
741 *resources = hr; in bhndb_alloc_host_resources()
748 if (hr->resources != NULL) in bhndb_alloc_host_resources()
749 free(hr->resources, M_BHND); in bhndb_alloc_host_resources()
[all …]
/freebsd-13.1/contrib/apr-util/test/
H A Dtestreslist.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.1/usr.bin/limits/
H A Dlimits.c231 } resources[RLIM_NLIMITS] = { variable
400 sprintf(str, "%s-cur", resources[rcswhich].cap); in main()
401 …val = resources[rcswhich].func(lc, resources[rcswhich].cap, limits[rcswhich].rlim_cur, limits[rcsw… in main()
402 limits[rcswhich].rlim_cur = resources[rcswhich].func(lc, str, val, val); in main()
404 sprintf(str, "%s-max", resources[rcswhich].cap); in main()
405 …val = resources[rcswhich].func(lc, resources[rcswhich].cap, limits[rcswhich].rlim_max, limits[rcsw… in main()
406 limits[rcswhich].rlim_max = resources[rcswhich].func(lc, str, val, val); in main()
482 err(1, "setrlimit %s", resources[rcswhich].cap); in main()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Target/
H A DTargetSchedule.td27 // processor resources and latency with each SchedReadWrite type.
85 // Per-cycle resources tables.
136 // resources implies using one of the super resources.
201 list<ProcResource> Resources = resources;
249 // SchedModel ties these resources to a processor.
251 list<ProcResourceKind> ProcResources = resources;
274 // resources.
289 // unbuffered resources.
304 : ProcWriteResources<resources> {
312 ProcWriteResources<resources>;
[all …]
/freebsd-13.1/sys/powerpc/ps3/
H A Dps3bus.c84 struct resource_list resources; member
178 resource_list_init(&dinfo->resources); in ps3bus_resources_init()
213 resource_list_add(&dinfo->resources, SYS_RES_IRQ, i, in ps3bus_resources_init()
245 resource_list_add(&dinfo->resources, SYS_RES_MEMORY, i, in ps3bus_resources_init()
260 resource_list_init(&dinfo->resources); in ps3bus_resources_init_by_type()
281 resource_list_add(&dinfo->resources, SYS_RES_IRQ, i, in ps3bus_resources_init_by_type()
316 resource_list_add(&dinfo->resources, SYS_RES_MEMORY, i, in ps3bus_resources_init_by_type()
486 retval += resource_list_print_type(&dinfo->resources, "mem", in ps3bus_print_child()
488 retval += resource_list_print_type(&dinfo->resources, "irq", in ps3bus_print_child()
546 rle = resource_list_find(&dinfo->resources, SYS_RES_MEMORY, in ps3bus_alloc_resource()
[all …]
/freebsd-13.1/usr.sbin/bsnmpd/modules/snmp_hast/
H A Dhast_snmp.c91 static TAILQ_HEAD(, hast_snmp_resource) resources =
92 TAILQ_HEAD_INITIALIZER(resources);
160 while ((res = TAILQ_FIRST(&resources)) != NULL) { in free_resources()
161 TAILQ_REMOVE(&resources, res, link); in free_resources()
365 TAILQ_INSERT_TAIL(&resources, res, link); in update_resources()
419 res = NEXT_OBJECT_INT(&resources, &value->var, sub); in op_hastResourceTable()
428 res = FIND_OBJECT_INT(&resources, &value->var, sub); in op_hastResourceTable()
433 res = FIND_OBJECT_INT(&resources, &value->var, sub); in op_hastResourceTable()
/freebsd-13.1/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,smd-rpm.yaml12 to vote for state of the system resources, such as clocks, regulators and bus
19 The RPM exposes resources to its subnodes. The rpm_requests node must be
21 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-13.1/crypto/openssl/doc/man3/
H A DOPENSSL_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 …]
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-13.1/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVScheduleB.td9 /// Define scheduler resources associated with def operands.
29 /// Define scheduler resources associated with use operands.
49 /// Define default scheduler resources for B.
/freebsd-13.1/sys/dev/bhnd/cores/pcie2/
H A Dbhnd_pcie2.c149 return (&dinfo->resources); in bhnd_pcie2_get_resource_list()
168 resource_list_init(&dinfo->resources); in bhnd_pcie2_add_child()
184 resource_list_free(&dinfo->resources); in bhnd_pcie2_child_deleted()
/freebsd-13.1/sys/contrib/octeon-sdk/
H A Dcvmx-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.1/sys/contrib/libsodium/builds/msvc/
H A Dresource.rc20 // English (United States) resources
62 #endif // English (United States) resources
/freebsd-13.1/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-13.1/sys/dev/bhnd/siba/
H A Dsiba_subr.c102 resource_list_init(&dinfo->resources); in siba_alloc_dinfo()
194 dinfo->intr.rid = resource_list_add_next(&dinfo->resources, SYS_RES_IRQ, in siba_register_interrupts()
552 sa->sa_rid = resource_list_add_next(&dinfo->resources, SYS_RES_MEMORY, in siba_append_dinfo_region()
568 resource_list_free(&dinfo->resources); in siba_free_dinfo()

12345678910>>...12