| /freebsd-14-stable/sys/dev/ice/ |
| HD | 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-stable/sys/isa/ |
| HD | pnp.c | 386 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 …]
|
| HD | 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,
|
| HD | 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-stable/sys/contrib/zstd/examples/ |
| HD | 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()
|
| HD | 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-stable/sys/dev/bhnd/bhndb/ |
| HD | 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
|
| HD | 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-stable/usr.bin/limits/ |
| HD | 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-stable/contrib/llvm-project/llvm/include/llvm/Target/ |
| HD | TargetSchedule.td | 14 // 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-14-stable/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| HD | RISCVScheduleV.td | 10 /// 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 …]
|
| HD | RISCVScheduleXSf.td | 35 multiclass LMULWriteResVCIX<string id, list<ProcResourceKind> resources>{ 36 defm : LMULWriteRes<"WriteVC_" # id, resources>; 37 defm : LMULWriteRes<"WriteVC_V_" # id, resources>;
|
| /freebsd-14-stable/sys/powerpc/ps3/ |
| HD | ps3bus.c | 87 struct resource_list resources; member 185 resource_list_init(&dinfo->resources); in ps3bus_resources_init() 220 resource_list_add(&dinfo->resources, SYS_RES_IRQ, i, in ps3bus_resources_init() 252 resource_list_add(&dinfo->resources, SYS_RES_MEMORY, i, in ps3bus_resources_init() 267 resource_list_init(&dinfo->resources); in ps3bus_resources_init_by_type() 288 resource_list_add(&dinfo->resources, SYS_RES_IRQ, i, in ps3bus_resources_init_by_type() 323 resource_list_add(&dinfo->resources, SYS_RES_MEMORY, i, in ps3bus_resources_init_by_type() 493 retval += resource_list_print_type(&dinfo->resources, "mem", in ps3bus_print_child() 495 retval += resource_list_print_type(&dinfo->resources, "irq", in ps3bus_print_child() 562 rle = resource_list_find(&dinfo->resources, SYS_RES_MEMORY, in ps3bus_alloc_resource() [all …]
|
| /freebsd-14-stable/usr.sbin/bsnmpd/modules/snmp_hast/ |
| HD | 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-stable/contrib/llvm-project/lldb/source/Breakpoint/ |
| HD | WatchpointAlgorithms.cpp | 49 std::vector<WatchpointResourceSP> resources; in AtomizeWatchpointRequest() local 55 resources.push_back(wp_res_sp); in AtomizeWatchpointRequest() 58 return resources; in AtomizeWatchpointRequest()
|
| /freebsd-14-stable/sys/contrib/device-tree/Bindings/soc/qcom/ |
| 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.
|
| 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-stable/crypto/openssl/doc/man3/ |
| HD | 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 …]
|
| HD | 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-stable/sys/dev/bhnd/cores/pcie2/ |
| HD | 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-stable/contrib/llvm-project/libcxx/src/ |
| HD | 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-stable/sys/contrib/libsodium/builds/msvc/ |
| HD | resource.rc | 20 // English (United States) resources 62 #endif // English (United States) resources
|
| /freebsd-14-stable/sys/contrib/device-tree/Bindings/net/ |
| 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-stable/crypto/openssl/doc/internal/man3/ |
| HD | 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-stable/sys/dev/bhnd/siba/ |
| HD | 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()
|