/freebsd-13-stable/sys/dev/ice/ |
H A D | ice_resmgr.c | 62 * @num_res: the maximum number of resources it can assign 65 * assign up to the requested number of resources. Uses bit strings to track 66 * which resources have been assigned. This type of resmgr is intended to be 72 resmgr->resources = bit_alloc(num_res, M_ICE_RESMGR, M_NOWAIT); 73 if (resmgr->resources == NULL) 84 * @num_res: the maximum number of resources it can assign 109 * resources have been released. 114 if (resmgr->resources != NULL) { 118 bit_count(resmgr->resources, 0, resmgr->num_res, &set); 122 free(resmgr->resources, M_ICE_RESMG [all...] |
H A D | ice_resmgr.h | 61 /* Hardware only supports a limited number of resources in scattered mode */ 79 bitstr_t *resources; member in struct:ice_resmgr 89 * assigning resources. For now, SCATTERED is only used with 107 /* Release resources */
|
/freebsd-13-stable/sys/mips/atheros/ |
H A D | apbvar.h | 51 struct resource_list resources; member in struct:apb_ivar
|
/freebsd-13-stable/contrib/llvm-project/libcxx/src/experimental/ |
H A D | memory_resource.cpp | 73 } resources; member in union:__anon2605::ResourceInitHelper 75 _LIBCPP_CONSTEXPR_AFTER_CXX11 ResourceInitHelper() : resources() {} 100 return &res_init.resources.new_delete_res; 104 return &res_init.resources.null_res; 114 ATOMIC_VAR_INIT(&res_init.resources.new_delete_res); 126 _LIBCPP_SAFE_STATIC static memory_resource * res = &res_init.resources.new_delete_res; 139 _LIBCPP_SAFE_STATIC static memory_resource* res = &res_init.resources.new_delete_res;
|
/freebsd-13-stable/sys/contrib/zstd/examples/ |
H A D | multiple_simple_compression.c | 23 } resources; typedef in typeref:struct:__anon10876 29 static resources createResources_orDie(int argc, const char** argv, char **ofn, size_t* ofnBufferLen) 44 resources ress; 57 static void freeResources(resources ress, char *outFilename) 66 static void compressFile_orDie(resources ress, const char* fname, const char* oname) 94 /* memory allocation for outFilename and resources */ 97 resources const ress = createResources_orDie(argc, argv, &outFilename, &outFilenameBufferLen);
|
H A D | multiple_streaming_compression.c | 29 } resources; typedef in typeref:struct:__anon10877 31 static resources createResources_orDie(int cLevel) 33 resources ress; 50 static void freeResources(resources ress) 57 static void compressFile_orDie(resources ress, const char* fname, const char* outName) 107 resources const ress = createResources_orDie(cLevel);
|
/freebsd-13-stable/sys/dev/bhnd/bhndb/ |
H A D | bhndbvar.h | 94 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 in struct:bhndb_devinfo 161 * Host resources allocated for a bridge hardware configuration. 164 device_t owner; /**< device owning the allocated resources */ 167 struct resource **resources; /**< allocated resource table */ member in struct:bhndb_host_resources
|
H A D | bhndb_subr.c | 78 * Call BHNDB_SUSPEND_RESOURCE() for all resources in @p rl. 85 /* Suspend all child resources. */ 87 /* Skip non-allocated resources */ 101 * to find the child's resources and call BHNDB_SUSPEND_RESOURCE() for all 102 * child resources, ensuring that the device's allocated bridge resources 105 * Before suspending any resources, @p child is suspended by 132 /* Suspend all child resources. */ 143 * to find the child's resources and call BHNDB_RESUME_RESOURCE() for all 144 * child resources, befor 651 bhndb_alloc_host_resources(struct bhndb_host_resources **resources, device_t dev, device_t parent_dev, const struct bhndb_hwcfg *hwcfg) argument [all...] |
/freebsd-13-stable/sys/mips/atheros/ar531x/ |
H A D | apbvar.h | 60 struct resource_list resources; member in struct:apb_ivar
|
/freebsd-13-stable/sys/isa/ |
H A D | pnpvar.h | 57 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 D | pnp.c | 222 * Constrain the number of resources we will try to program 246 * Now program the resources. 388 u_char *resources, int len) 399 resp = resources; 459 * Parse the resources for the previous 471 * resources. 504 device_printf(parent, "malformed resources\n"); 525 * Read 'amount' bytes of resources from the card, allocating memory 530 * number of bytes of resources in '*spacep' and '*lenp' respectively. 539 u_char *resources local 387 pnp_create_devices(device_t parent, pnp_id *p, int csn, u_char *resources, int len) argument 587 u_char *resources = *resourcesp; local 648 u_char *resources = NULL; local [all...] |
H A D | pnpparse.c | 349 *pnp_parse_dependant(device_t dev, u_char *resources, int len, argument 353 return pnp_scan_resources(dev, resources, len, config, ldn, 408 pnp_parse_resources(device_t dev, u_char *resources, int len, int ldn) argument 435 p = resources; 454 * Copy the common resources first, 455 * then parse the "dependent" resources. 487 "malformed resources\n"); 492 * Copy the common resources first, 493 * then parse the "dependent" resources. 513 "malformed resources\ 571 pnp_scan_resources(device_t dev, u_char *resources, int len, struct isa_config *config, int ldn, pnp_scan_cb *cb) argument [all...] |
/freebsd-13-stable/sys/dev/atkbdc/ |
H A D | atkbdc_subr.h | 41 struct resource_list resources; member in struct:atkbdc_device
|
H A D | atkbdc_subr.c | 130 return &ivar->resources;
|
/freebsd-13-stable/usr.sbin/acpi/ |
H A D | Makefile.inc | 24 ${ACPICA_DIR}/components/resources \
|
/freebsd-13-stable/contrib/apr-util/test/ |
H A D | testreslist.c | 144 my_resource_t *resources[RESLIST_HMAX]; local 150 /* deplete all possible resources from the resource list 157 rv = apr_reslist_acquire(rl, (void**)&resources[i]); 165 /* release the resources; otherwise the destroy operation 169 rv = apr_reslist_release(rl, resources[i]); 177 my_resource_t *resources[RESLIST_HMAX]; local 183 /* deplete all possible resources from the resource list */ 185 rv = apr_reslist_acquire(rl, (void**)&resources[i]); 189 /* Free all resources above RESLIST_SMAX - 1 */ 191 rv = apr_reslist_release(rl, resources[ [all...] |
/freebsd-13-stable/usr.sbin/bsnmpd/modules/snmp_hast/ |
H A D | hast_snmp.c | 91 static TAILQ_HEAD(, hast_snmp_resource) resources = 92 TAILQ_HEAD_INITIALIZER(resources); 96 /* Ticks of the last hast resources update. */ 160 while ((res = TAILQ_FIRST(&resources)) != NULL) { 161 TAILQ_REMOVE(&resources, res, link); 365 TAILQ_INSERT_TAIL(&resources, res, link); 419 res = NEXT_OBJECT_INT(&resources, &value->var, sub); 428 res = FIND_OBJECT_INT(&resources, &value->var, sub); 433 res = FIND_OBJECT_INT(&resources, &value->var, sub);
|
/freebsd-13-stable/sys/powerpc/ps3/ |
H A D | ps3bus.c | 84 struct resource_list resources; member in struct:ps3bus_devinfo 178 resource_list_init(&dinfo->resources); 213 resource_list_add(&dinfo->resources, SYS_RES_IRQ, i, 245 resource_list_add(&dinfo->resources, SYS_RES_MEMORY, i, 260 resource_list_init(&dinfo->resources); 281 resource_list_add(&dinfo->resources, SYS_RES_IRQ, i, 316 resource_list_add(&dinfo->resources, SYS_RES_MEMORY, i, 486 retval += resource_list_print_type(&dinfo->resources, "mem", 488 retval += resource_list_print_type(&dinfo->resources, "irq", 546 rle = resource_list_find(&dinfo->resources, SYS_RES_MEMOR [all...] |
/freebsd-13-stable/sys/dev/bhnd/cores/chipc/ |
H A D | chipcvar.h | 145 struct resource_list resources; /**< child resources */ member in struct:chipc_devinfo
|
/freebsd-13-stable/sys/dev/bhnd/cores/pcie2/ |
H A D | bhnd_pcie2_var.h | 70 struct resource_list resources; member in struct:bhnd_pcie2_devinfo
|
H A D | bhnd_pcie2.c | 101 /* Allocate bus resources */ 149 return (&dinfo->resources); 168 resource_list_init(&dinfo->resources); 184 resource_list_free(&dinfo->resources);
|
/freebsd-13-stable/usr.bin/limits/ |
H A D | limits.c | 231 } resources[RLIM_NLIMITS] = { variable in typeref:struct:__anon16368 400 sprintf(str, "%s-cur", resources[rcswhich].cap); 401 val = resources[rcswhich].func(lc, resources[rcswhich].cap, limits[rcswhich].rlim_cur, limits[rcswhich].rlim_cur); 402 limits[rcswhich].rlim_cur = resources[rcswhich].func(lc, str, val, val); 404 sprintf(str, "%s-max", resources[rcswhich].cap); 405 val = resources[rcswhich].func(lc, resources[rcswhich].cap, limits[rcswhich].rlim_max, limits[rcswhich].rlim_max); 406 limits[rcswhich].rlim_max = resources[rcswhich].func(lc, str, val, val); 482 err(1, "setrlimit %s", resources[rcswhic [all...] |
/freebsd-13-stable/sys/dev/bhnd/siba/ |
H A D | siba_subr.c | 102 resource_list_init(&dinfo->resources); 194 dinfo->intr.rid = resource_list_add_next(&dinfo->resources, SYS_RES_IRQ, 552 sa->sa_rid = resource_list_add_next(&dinfo->resources, SYS_RES_MEMORY, 559 * Deallocate the given device info structure and any associated resources. 568 resource_list_free(&dinfo->resources);
|
/freebsd-13-stable/sys/dev/vmware/vmci/ |
H A D | vmci_call_defs.h | 63 * hypervisor resources. 80 vmci_resource resources[1]; member in struct:vmci_resources_query_msg
|
/freebsd-13-stable/sys/dev/vmd/ |
H A D | vmd_bus.c | 98 resource_list_add_next(&dinfo->resources, 103 resource_list_add_next(&dinfo->resources, 135 resource_list_free(&dinfo->resources); 175 /* remap to VMD resources */
|