| /freebsd-14.2/sys/dev/ice/ |
| H A D | ice_resmgr.c | 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() 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-14.2/sys/isa/ |
| H A D | pnp.c | 397 resp = resources; in pnp_create_devices() 545 if (!resources) in pnp_read_bytes() 559 free(resources, M_TEMP); in pnp_read_bytes() 560 resources = newres; in pnp_read_bytes() 568 *resourcesp = resources; in pnp_read_bytes() 597 tag = resources[len-1]; in pnp_read_resources() 616 + (resources[len-1] << 8), &resources, &space, in pnp_read_resources() 624 *resourcesp = resources; in pnp_read_resources() 646 u_char *resources = NULL; in pnp_isolation_protocol() local 719 if (resources) in pnp_isolation_protocol() [all …]
|
| H A D | pnpvar.h | 55 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 D | pnpparse.c | 347 *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-14.2/sys/contrib/zstd/examples/ |
| H A D | multiple_simple_compression.c | 23 } 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 D | multiple_streaming_compression.c | 29 } 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-14.2/sys/dev/bhnd/bhndb/ |
| H A D | bhndbvar.h | 93 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 D | bhndb_subr.c | 207 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-14.2/usr.bin/limits/ |
| H A D | limits.c | 231 } 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-14.2/contrib/llvm-project/llvm/include/llvm/Target/ |
| H A D | TargetSchedule.td | 27 // processor resources and latency with each SchedReadWrite type. 85 // Per-cycle resources tables. 141 // resources implies using one of the super resources. 206 list<ProcResource> Resources = resources; 254 // SchedModel ties these resources to a processor. 256 list<ProcResourceKind> ProcResources = resources; 286 // resources. 301 // unbuffered resources. 316 : ProcWriteResources<resources> { 324 ProcWriteResources<resources>; [all …]
|
| /freebsd-14.2/sys/powerpc/ps3/ |
| H A D | ps3bus.c | 82 struct resource_list resources; member 174 resource_list_init(&dinfo->resources); in ps3bus_resources_init() 209 resource_list_add(&dinfo->resources, SYS_RES_IRQ, i, in ps3bus_resources_init() 241 resource_list_add(&dinfo->resources, SYS_RES_MEMORY, i, in ps3bus_resources_init() 256 resource_list_init(&dinfo->resources); in ps3bus_resources_init_by_type() 277 resource_list_add(&dinfo->resources, SYS_RES_IRQ, i, in ps3bus_resources_init_by_type() 312 resource_list_add(&dinfo->resources, SYS_RES_MEMORY, i, in ps3bus_resources_init_by_type() 482 retval += resource_list_print_type(&dinfo->resources, "mem", in ps3bus_print_child() 484 retval += resource_list_print_type(&dinfo->resources, "irq", in ps3bus_print_child() 542 rle = resource_list_find(&dinfo->resources, SYS_RES_MEMORY, in ps3bus_alloc_resource() [all …]
|
| /freebsd-14.2/usr.sbin/bsnmpd/modules/snmp_hast/ |
| H A D | hast_snmp.c | 89 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-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVScheduleV.td | 10 /// Define scheduler resources associated with def operands. 51 // Creates WriteRes for (name, mx, resources) tuple 54 def : WriteRes<!cast<SchedWrite>(name # "_" # mx), resources>; 80 def nameMX # "_Pred" : SchedWriteRes<resources>{ 85 def nameMX # "_NoPred" : SchedWriteRes<resources> { 206 : LMULWriteResImpl<name, resources>; 214 : LMULSEWWriteResImpl<name, resources, SchedMxList>; 238 : LMULWriteResImpl<name, resources>; 246 : LMULWriteResImpl<name, resources>; 506 /// Define scheduler resources associated with use operands. [all …]
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/soc/qcom/ |
| H A D | qcom,smd-rpm.txt | 5 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 D | qcom,aoss-qmp.txt | 10 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-14.2/crypto/openssl/doc/man3/ |
| H A D | OPENSSL_init_crypto.pod | 32 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 D | OPENSSL_init_ssl.pod | 16 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-14.2/sys/dev/bhnd/cores/pcie2/ |
| H A D | bhnd_pcie2.c | 147 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-14.2/contrib/llvm-project/libcxx/src/ |
| H A D | memory_resource.cpp | 75 } 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-14.2/sys/contrib/libsodium/builds/msvc/ |
| H A D | resource.rc | 20 // English (United States) resources 62 #endif // English (United States) resources
|
| /freebsd-14.2/sys/contrib/device-tree/Bindings/net/ |
| H A D | cortina,gemini-ethernet.txt | 19 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-14.2/sys/dev/bhnd/siba/ |
| H A D | siba_subr.c | 100 resource_list_init(&dinfo->resources); in siba_alloc_dinfo() 192 dinfo->intr.rid = resource_list_add_next(&dinfo->resources, SYS_RES_IRQ, in siba_register_interrupts() 550 sa->sa_rid = resource_list_add_next(&dinfo->resources, SYS_RES_MEMORY, in siba_append_dinfo_region() 566 resource_list_free(&dinfo->resources); in siba_free_dinfo()
|
| /freebsd-14.2/crypto/openssl/doc/internal/man3/ |
| H A D | ossl_lib_ctx_get_data.pod | 55 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 */
|
| /freebsd-14.2/sys/dev/bhnd/bcma/ |
| H A D | bcma_subr.c | 183 &dinfo->resources, SYS_RES_MEMORY, in bcma_dinfo_init_port_resource_info() 341 resource_list_init(&dinfo->resources); in bcma_alloc_dinfo() 407 intr->i_rid = resource_list_add_next(&dinfo->resources, in bcma_init_dinfo() 431 resource_list_free(&dinfo->resources); in bcma_free_dinfo()
|
| /freebsd-14.2/sys/contrib/zstd/doc/ |
| H A D | README.md | 15 Should you look for resources to develop your own port of Zstandard algorithm, 16 you may find the following resources useful :
|