/freebsd-src/share/man/man9/ |
H A D | rman.9 | 61 .Nd resource management functions 66 .Fn rman_activate_resource "struct resource *r" 68 .Fn rman_adjust_resource "struct resource *r" "rman_res_t start" "rman_res_t end" 70 .Fn rman_deactivate_resource "struct resource *r" 76 .Fn rman_init_from_resource "struct rman *rm" "struct resource *r" 78 .Fn rman_is_region_manager "struct resource *r" "struct rman *rm" 86 .Fn rman_release_resource "struct resource *r" 95 .Fn rman_get_start "struct resource *r" 97 .Fn rman_get_end "struct resource *r" 99 .Fn rman_get_device "struct resource *r" [all …]
|
H A D | bus_map_resource.9 | 31 .Nd map or unmap an active resource 41 .Fa "device_t dev" "struct resource *r" 46 .Fa "device_t dev" "struct resource *r" "struct resource_map *map" 52 resource. 53 Mappings permit CPU access to the resource via the 60 The device that owns the resource. 63 .Vt "struct resource" 70 to request a mapping of the entire resource with the default properties. 72 The resource mapping to create or destroy. 74 .Ss Resource Mappings [all …]
|
H A D | bus_alloc_resource.9 | 56 This is an easy interface to the resource-management functions. 73 to the default resource (see description of 81 to the default resource and uses the provided 89 is the device that requests ownership of the resource. 90 Before allocation, the resource is owned by the parent bus. 93 is the type of resource you want to allocate. 109 points to a bus specific handle that identifies the resource being allocated. 115 the resource. 122 are the start/end addresses of the resource. 132 is the size of the resource. [all …]
|
H A D | bus_activate_resource.9 | 30 .Nd activate or deactivate a resource 40 .Fa "device_t dev" "struct resource *r" 44 .Fa "device_t dev" "struct resource *r" 47 These functions activate or deactivate a previously allocated resource. 50 Bus drivers may perform additional actions to ensure that the resource is 54 when activating a memory resource. 59 The device that requests ownership of the resource. 60 Before allocation, the resource is owned by the parent bus. 63 .Vt "struct resource" 67 .Ss Resource Mapping [all …]
|
/freebsd-src/sys/contrib/dev/acpica/components/disassembler/ |
H A D | dmresrcl2.c | 3 * Module Name: dmresrcl2.c - "Large" Resource Descriptor disassembly (#2) 165 AML_RESOURCE *Resource, 172 AML_RESOURCE *Resource, 179 AML_RESOURCE *Resource, 186 AML_RESOURCE *Resource, 193 AML_RESOURCE *Resource, 289 * PARAMETERS: Info - Extra resource info 290 * Resource - Pointer to the resource descriptor 302 AML_RESOURCE *Resource, in AcpiDmGpioCommon() argument 394 AcpiDmGpioIntDescriptor(ACPI_OP_WALK_INFO * Info,AML_RESOURCE * Resource,UINT32 Length,UINT32 Level) AcpiDmGpioIntDescriptor() argument 446 AcpiDmGpioIoDescriptor(ACPI_OP_WALK_INFO * Info,AML_RESOURCE * Resource,UINT32 Length,UINT32 Level) AcpiDmGpioIoDescriptor() argument 500 AcpiDmGpioDescriptor(ACPI_OP_WALK_INFO * Info,AML_RESOURCE * Resource,UINT32 Length,UINT32 Level) AcpiDmGpioDescriptor() argument 531 AcpiDmClockInputDescriptor(ACPI_OP_WALK_INFO * Info,AML_RESOURCE * Resource,UINT32 Length,UINT32 Level) AcpiDmClockInputDescriptor() argument 586 AcpiDmPinFunctionDescriptor(ACPI_OP_WALK_INFO * Info,AML_RESOURCE * Resource,UINT32 Length,UINT32 Level) AcpiDmPinFunctionDescriptor() argument 689 AcpiDmDumpSerialBusVendorData(AML_RESOURCE * Resource,UINT32 Level) AcpiDmDumpSerialBusVendorData() argument 765 AcpiDmCsi2SerialBusDescriptor(ACPI_OP_WALK_INFO * Info,AML_RESOURCE * Resource,UINT32 Length,UINT32 Level) AcpiDmCsi2SerialBusDescriptor() argument 836 AcpiDmI2cSerialBusDescriptor(ACPI_OP_WALK_INFO * Info,AML_RESOURCE * Resource,UINT32 Length,UINT32 Level) AcpiDmI2cSerialBusDescriptor() argument 912 AcpiDmSpiSerialBusDescriptor(ACPI_OP_WALK_INFO * Info,AML_RESOURCE * Resource,UINT32 Length,UINT32 Level) AcpiDmSpiSerialBusDescriptor() argument 997 AcpiDmUartSerialBusDescriptor(ACPI_OP_WALK_INFO * Info,AML_RESOURCE * Resource,UINT32 Length,UINT32 Level) AcpiDmUartSerialBusDescriptor() argument 1085 AcpiDmSerialBusDescriptor(ACPI_OP_WALK_INFO * Info,AML_RESOURCE * Resource,UINT32 Length,UINT32 Level) AcpiDmSerialBusDescriptor() argument 1145 AcpiDmPinConfigDescriptor(ACPI_OP_WALK_INFO * Info,AML_RESOURCE * Resource,UINT32 Length,UINT32 Level) AcpiDmPinConfigDescriptor() argument 1240 AcpiDmPinGroupDescriptor(ACPI_OP_WALK_INFO * Info,AML_RESOURCE * Resource,UINT32 Length,UINT32 Level) AcpiDmPinGroupDescriptor() argument 1325 AcpiDmPinGroupFunctionDescriptor(ACPI_OP_WALK_INFO * Info,AML_RESOURCE * Resource,UINT32 Length,UINT32 Level) AcpiDmPinGroupFunctionDescriptor() argument 1399 AcpiDmPinGroupConfigDescriptor(ACPI_OP_WALK_INFO * Info,AML_RESOURCE * Resource,UINT32 Length,UINT32 Level) AcpiDmPinGroupConfigDescriptor() argument [all...] |
H A D | dmresrcs.c | 3 * Module Name: dmresrcs.c - "Small" Resource Descriptor disassembly 165 * PARAMETERS: Info - Extra resource info 166 * Resource - Pointer to the resource descriptor 179 AML_RESOURCE *Resource, in AcpiDmIrqDescriptor() argument 193 AcpiGbl_HeDecode [ACPI_GET_1BIT_FLAG (Resource->Irq.Flags)], in AcpiDmIrqDescriptor() 194 AcpiGbl_LlDecode [ACPI_EXTRACT_1BIT_FLAG (Resource->Irq.Flags, 3)], in AcpiDmIrqDescriptor() 195 AcpiGbl_ShrDecode [ACPI_EXTRACT_2BIT_FLAG (Resource->Irq.Flags, 4)]); in AcpiDmIrqDescriptor() 204 AcpiDmBitList (Resource->Irq.IrqMask); in AcpiDmIrqDescriptor() 212 * PARAMETERS: Info - Extra resource inf 226 AcpiDmDmaDescriptor(ACPI_OP_WALK_INFO * Info,AML_RESOURCE * Resource,UINT32 Length,UINT32 Level) AcpiDmDmaDescriptor() argument 265 AcpiDmFixedDmaDescriptor(ACPI_OP_WALK_INFO * Info,AML_RESOURCE * Resource,UINT32 Length,UINT32 Level) AcpiDmFixedDmaDescriptor() argument 311 AcpiDmIoDescriptor(ACPI_OP_WALK_INFO * Info,AML_RESOURCE * Resource,UINT32 Length,UINT32 Level) AcpiDmIoDescriptor() argument 358 AcpiDmFixedIoDescriptor(ACPI_OP_WALK_INFO * Info,AML_RESOURCE * Resource,UINT32 Length,UINT32 Level) AcpiDmFixedIoDescriptor() argument 398 AcpiDmStartDependentDescriptor(ACPI_OP_WALK_INFO * Info,AML_RESOURCE * Resource,UINT32 Length,UINT32 Level) AcpiDmStartDependentDescriptor() argument 439 AcpiDmEndDependentDescriptor(ACPI_OP_WALK_INFO * Info,AML_RESOURCE * Resource,UINT32 Length,UINT32 Level) AcpiDmEndDependentDescriptor() argument 469 AcpiDmVendorSmallDescriptor(ACPI_OP_WALK_INFO * Info,AML_RESOURCE * Resource,UINT32 Length,UINT32 Level) AcpiDmVendorSmallDescriptor() argument [all...] |
H A D | dmresrcl.c | 3 * Module Name: dmresrcl.c - "Large" Resource Descriptor disassembly 206 AML_RESOURCE *Resource, 222 AML_RESOURCE *Resource, 228 AML_RESOURCE *Resource); 387 * PARAMETERS: Resource - Raw AML descriptor 399 AML_RESOURCE *Resource, in AcpiDmAddressCommon() argument 408 ResourceType = Resource->Address.ResourceType; in AcpiDmAddressCommon() 409 SpecificFlags = Resource->Address.SpecificFlags; in AcpiDmAddressCommon() 410 Flags = Resource->Address.Flags; in AcpiDmAddressCommon() 419 "/**** Invalid Resource Typ in AcpiDmAddressCommon() 474 AcpiDmAddressFlags(AML_RESOURCE * Resource) AcpiDmAddressFlags() argument 636 AcpiDmResourceSource(AML_RESOURCE * Resource,ACPI_SIZE MinimumTotalLength,UINT32 ResourceLength) AcpiDmResourceSource() argument 702 AcpiDmWordDescriptor(ACPI_OP_WALK_INFO * Info,AML_RESOURCE * Resource,UINT32 Length,UINT32 Level) AcpiDmWordDescriptor() argument 749 AcpiDmDwordDescriptor(ACPI_OP_WALK_INFO * Info,AML_RESOURCE * Resource,UINT32 Length,UINT32 Level) AcpiDmDwordDescriptor() argument 796 AcpiDmQwordDescriptor(ACPI_OP_WALK_INFO * Info,AML_RESOURCE * Resource,UINT32 Length,UINT32 Level) AcpiDmQwordDescriptor() argument 843 AcpiDmExtendedDescriptor(ACPI_OP_WALK_INFO * Info,AML_RESOURCE * Resource,UINT32 Length,UINT32 Level) AcpiDmExtendedDescriptor() argument 893 AcpiDmMemory24Descriptor(ACPI_OP_WALK_INFO * Info,AML_RESOURCE * Resource,UINT32 Length,UINT32 Level) AcpiDmMemory24Descriptor() argument 934 AcpiDmMemory32Descriptor(ACPI_OP_WALK_INFO * Info,AML_RESOURCE * Resource,UINT32 Length,UINT32 Level) AcpiDmMemory32Descriptor() argument 975 AcpiDmFixedMemory32Descriptor(ACPI_OP_WALK_INFO * Info,AML_RESOURCE * Resource,UINT32 Length,UINT32 Level) AcpiDmFixedMemory32Descriptor() argument 1020 AcpiDmGenericRegisterDescriptor(ACPI_OP_WALK_INFO * Info,AML_RESOURCE * Resource,UINT32 Length,UINT32 Level) AcpiDmGenericRegisterDescriptor() argument 1078 AcpiDmInterruptDescriptor(ACPI_OP_WALK_INFO * Info,AML_RESOURCE * Resource,UINT32 Length,UINT32 Level) AcpiDmInterruptDescriptor() argument 1186 AcpiDmVendorLargeDescriptor(ACPI_OP_WALK_INFO * Info,AML_RESOURCE * Resource,UINT32 Length,UINT32 Level) AcpiDmVendorLargeDescriptor() argument [all...] |
/freebsd-src/sys/sys/ |
H A D | rman.h | 39 #include <machine/resource.h> 42 #define RF_ALLOCATED 0x0001 /* resource has been reserved */ 43 #define RF_ACTIVE 0x0002 /* resource allocation has been activated */ 44 #define RF_SHAREABLE 0x0004 /* resource permits contemporaneous sharing */ 48 #define RF_PREFETCHABLE 0x0040 /* resource is prefetchable */ 50 #define RF_UNMAPPED 0x0100 /* don't map resource when activating */ 54 /* resource address alignment size bit mask */ 61 * String length exported to userspace for resource names, etc. 73 uintptr_t r_handle; /* resource uniquifier */ 75 uintptr_t r_device; /* device owning this resource */ [all …]
|
H A D | racct.h | 32 * Resource accounting. 80 * Resource properties. 97 * visible to the userland. It gets fixed up when retrieving resource 104 * Resource usage can drop, as opposed to only grow. When the process 105 * terminates, its resource usage is subtracted from the respective 111 * Children inherit resource usage. 116 * racct_{add,set}(9) can actually return an error and not update resource 117 * usage counters. Note that even when resource is not deniable, allocating 118 * resource might cause signals to be sent by RCTL code. 123 * Per-process resource usage information makes no sense, but per-credential [all …]
|
/freebsd-src/contrib/llvm-project/llvm/include/llvm/MCA/HardwareUnits/ |
H A D | ResourceManager.h | 10 /// The classes here represent processor resource units and their management 27 /// Used to notify the internal state of a processor resource. 29 /// A processor resource is available if it is not reserved, and there are 30 /// available slots in the buffer. A processor resource is unavailable if it 31 /// is either reserved, or the associated buffer is full. A processor resource 37 /// The naming convention for resource state events is: 39 /// * Prefix RS_ is followed by a string describing the actual resource state. 46 /// Resource allocation strategy used by hardware scheduler resources. 55 /// Selects a processor resource unit from a ReadyMask. 58 /// Called by the ResourceManager when a processor resource group, or a [all …]
|
/freebsd-src/sys/kern/ |
H A D | bus_if.m | 44 static struct resource * struct 266 * @brief Allocate a system resource 269 * The types are defined in <machine/resource.h>; the meaning of the 270 * resource-ID field varies from bus to bus (but @p *rid == 0 is always 271 * valid if the resource type is). If a resource was allocated and the 274 * BUS_ACTIVATE_RESOURCE() when it actually uses the resource. 278 * @param _type the type of resource to allocate 279 * @param _rid a pointer to the resource identifier 280 * @param _start hint at the start of the resource rang 292 METHOD struct resource * alloc_resource { global() struct [all...] |
H A D | kern_racct.c | 62 FEATURE(racct, "Resource Accounting"); 75 "Resource Accounting"); 95 static void racct_sub_cred_locked(struct ucred *cred, int resource, 97 static void racct_add_cred_locked(struct ucred *cred, int resource, 397 * Update resource usage in dest. in racct_add_racct() 401 ("%s: resource %d propagation meltdown: dest < 0", in racct_add_racct() 404 ("%s: resource %d propagation meltdown: src < 0", in racct_add_racct() 419 * Update resource usage in dest. in racct_sub_racct() 424 ("%s: resource %d propagation meltdown: dest < 0", in racct_sub_racct() 427 ("%s: resource in racct_sub_racct() 509 racct_adjust_resource(struct racct * racct,int resource,int64_t amount) racct_adjust_resource() argument 539 racct_add_locked(struct proc * p,int resource,uint64_t amount,int force) racct_add_locked() argument 570 racct_add(struct proc * p,int resource,uint64_t amount) racct_add() argument 590 racct_add_force(struct proc * p,int resource,uint64_t amount) racct_add_force() argument 604 racct_add_cred_locked(struct ucred * cred,int resource,uint64_t amount) racct_add_cred_locked() argument 622 racct_add_cred(struct ucred * cred,int resource,uint64_t amount) racct_add_cred() argument 660 racct_set_locked(struct proc * p,int resource,uint64_t amount,int force) racct_set_locked() argument 722 racct_set_unlocked(struct proc * p,int resource,uint64_t amount) racct_set_unlocked() argument 734 racct_set(struct proc * p,int resource,uint64_t amount) racct_set() argument 750 racct_set_force(struct proc * p,int resource,uint64_t amount) racct_set_force() argument 770 racct_get_limit(struct proc * p,int resource) racct_get_limit() argument 796 racct_get_available(struct proc * p,int resource) racct_get_available() argument 843 racct_sub(struct proc * p,int resource,uint64_t amount) racct_sub() argument 870 racct_sub_cred_locked(struct ucred * cred,int resource,uint64_t amount) racct_sub_cred_locked() argument 887 racct_sub_cred(struct ucred * cred,int resource,uint64_t amount) racct_sub_cred() argument [all...] |
/freebsd-src/usr.bin/limits/ |
H A D | limits.1 | 25 .Nd set or display process resource limits 44 utility either prints or sets kernel resource limits, and may optionally set 65 This usage determines values of resource settings according to 69 By default, this will output the current kernel resource settings 75 options, you may also display the current resource settings modified 76 by the appropriate login class resource limit entries from 81 This usage determines values of resource settings according to 107 resource limit settings, and provides the benefit of allowing 108 global configuration of maximum resource usage by maintaining a 127 Use current resource value [all...] |
/freebsd-src/share/examples/hast/ |
H A D | ucarp_up.sh | 32 # Resource name as defined in /etc/hast.conf. 33 resource="test" 41 device="/dev/hast/${resource}" 48 pgrep -f "hastd: ${resource} \(secondary\)" >/dev/null 2>&1 || break 51 if pgrep -f "hastd: ${resource} \(secondary\)" >/dev/null 2>&1; then 52 logger -p local0.error -t hast "Secondary process for resource ${resource} is still running after 30 seconds." 57 # Change role to primary for our resource. 58 out=`hastctl role primary "${resource}" 2>&1` 60 logger -p local0.error -t hast "Unable to change to role to primary for resource [all...] |
H A D | ucarp_down.sh | 32 # Resource name as defined in /etc/hast.conf. 33 resource="test" 42 device="/dev/hast/${resource}" 56 logger -p local0.error -t hast "UCARP UP process for resource ${resource} is still running after 30 seconds." 68 logger -p local0.error -t hast "Unable to unmount file system for resource ${resource}: ${out}." 71 logger -p local0.debug -t hast "File system for resource ${resource} unmounted." 80 logger -p local0.error -t hast "Unable to export pool for resource [all...] |
/freebsd-src/sys/dev/vmware/vmci/ |
H A D | vmci_resource.c | 7 /* Implementation of the VMCI Resource Access Control API. */ 20 static void vmci_resource_do_remove(struct vmci_resource *resource); 24 /* Public Resource Access Control API. */ 31 * Initializes the VMCI Resource Access Control API. Creates a hashtable to 54 VMCI_LOG_WARNING((LGPFX"Failed creating a resource hash table " in vmci_resource_init() 95 * Return resource ID. The first VMCI_RESERVED_RESOURCE_ID_MAX are reserved 99 * VMCI resource id on success, VMCI_INVALID_ID on failure. 119 * Generate a unique resource ID. Keep on trying until we wrap around in vmci_resource_get_id() 151 * Add resource to hashtable. 163 vmci_resource_add(struct vmci_resource *resource, in vmci_resource_add() argument [all …]
|
/freebsd-src/sys/dev/ice/ |
H A D | ice_resmgr.c | 34 * @brief Resource allocation manager 36 * Manage device resource allocations for a PF, including assigning queues to 39 * It can handle contiguous and scattered resource allocations, and upon 41 * resource IDs to PF-space resource indices. 48 * @brief PF resource manager allocation type 50 * malloc(9) allocation type used by the resource manager code. 55 * Public resource manager allocation functions 59 * ice_resmgr_init - Initialize a resource manager structure 60 * @resmgr: structure to track the resource manager state 63 * Initialize the state of a resource manager structure, allocating space to [all …]
|
/freebsd-src/sys/contrib/dev/acpica/components/resources/ |
H A D | rsmisc.c | 3 * Module Name: rsmisc - Miscellaneous resource descriptors 173 * PARAMETERS: Resource - Pointer to the resource descriptor 179 * DESCRIPTION: Convert an external AML resource descriptor to the corresponding 180 * internal resource descriptor 186 ACPI_RESOURCE *Resource, in AcpiRsConvertAmlToResource() argument 208 if (((ACPI_SIZE) Resource) & 0x3) in AcpiRsConvertAmlToResource() 210 /* Each internal resource struct is expected to be 32-bit aligned */ in AcpiRsConvertAmlToResource() 213 "Misaligned resource pointer (get): %p Type 0x%2.2X Length %u", in AcpiRsConvertAmlToResource() 214 Resource, Resourc in AcpiRsConvertAmlToResource() 590 AcpiRsConvertResourceToAml(ACPI_RESOURCE * Resource,AML_RESOURCE * Aml,ACPI_RSCONVERT_INFO * Info) AcpiRsConvertResourceToAml() argument [all...] |
H A D | rscalc.c | 186 * DESCRIPTION: Count the number of bits set in a resource field. Used for 251 * PARAMETERS: ResourceLength - Length from the resource header 252 * MinimumTotalLength - Minimum length of this resource, before 276 * some Large-type resource descriptors. in AcpiRsStreamOptionLength() 280 * If the length of the actual resource descriptor is greater than the in AcpiRsStreamOptionLength() 283 * string length (including the null terminator) is the resource length in AcpiRsStreamOptionLength() 296 * guarantee that the entire resource descriptor is native word aligned in AcpiRsStreamOptionLength() 306 * PARAMETERS: Resource - Pointer to the resource linked list 307 * ResourceListSize - Size of the resource linke 320 AcpiRsGetAmlLength(ACPI_RESOURCE * Resource,ACPI_SIZE ResourceListSize,ACPI_SIZE * SizeNeeded) AcpiRsGetAmlLength() argument [all...] |
H A D | rslist.c | 170 * DESCRIPTION: Convert an AML resource to an internal representation of the 171 * resource that is aligned and easier to access. 185 ACPI_RESOURCE *Resource; in AcpiRsConvertAmlToResources() local 198 Resource = *ResourcePtr; in AcpiRsConvertAmlToResources() 199 if (ACPI_IS_MISALIGNED (Resource)) in AcpiRsConvertAmlToResources() 202 "Misaligned resource pointer %p", Resource)); in AcpiRsConvertAmlToResources() 238 "Invalid/unsupported resource descriptor: Type 0x%2.2X", in AcpiRsConvertAmlToResources() 243 /* Convert the AML byte stream resource to a local resource struc in AcpiRsConvertAmlToResources() 293 AcpiRsConvertResourcesToAml(ACPI_RESOURCE * Resource,ACPI_SIZE AmlSizeNeeded,UINT8 * OutputBuffer) AcpiRsConvertResourcesToAml() argument [all...] |
/freebsd-src/sys/dev/qat/qat_common/ |
H A D | adf_gen2_hw_data.c | 13 read_csr_ring_head(struct resource *csr_base_addr, u32 bank, u32 ring) in read_csr_ring_head() 19 write_csr_ring_head(struct resource *csr_base_addr, in write_csr_ring_head() 28 read_csr_ring_tail(struct resource *csr_base_addr, u32 bank, u32 ring) in read_csr_ring_tail() 34 write_csr_ring_tail(struct resource *csr_base_addr, in write_csr_ring_tail() 43 read_csr_e_stat(struct resource *csr_base_addr, u32 bank) in read_csr_e_stat() 49 write_csr_ring_config(struct resource *csr_base_addr, in write_csr_ring_config() 58 read_csr_ring_base(struct resource *csr_base_addr, u32 bank, u32 ring) in read_csr_ring_base() 64 write_csr_ring_base(struct resource *csr_base_addr, in write_csr_ring_base() 73 write_csr_int_flag(struct resource *csr_base_addr, u32 bank, u32 value) in write_csr_int_flag() 79 write_csr_int_srcsel(struct resource *csr_base_addr, u32 bank) in write_csr_int_srcsel() [all …]
|
H A D | adf_gen4vf_hw_csr_data.c | 13 read_csr_ring_head(struct resource *csr_base_addr, u32 bank, u32 ring) in read_csr_ring_head() 19 write_csr_ring_head(struct resource *csr_base_addr, in write_csr_ring_head() 28 read_csr_ring_tail(struct resource *csr_base_addr, u32 bank, u32 ring) in read_csr_ring_tail() 34 write_csr_ring_tail(struct resource *csr_base_addr, in write_csr_ring_tail() 43 read_csr_e_stat(struct resource *csr_base_addr, u32 bank) in read_csr_e_stat() 49 write_csr_ring_config(struct resource *csr_base_addr, in write_csr_ring_config() 58 read_csr_ring_base(struct resource *csr_base_addr, u32 bank, u32 ring) in read_csr_ring_base() 64 write_csr_ring_base(struct resource *csr_base_addr, in write_csr_ring_base() 73 write_csr_int_flag(struct resource *csr_base_addr, u32 bank, u32 value) in write_csr_int_flag() 79 write_csr_int_srcsel(struct resource *csr_base_addr, u32 bank) in write_csr_int_srcsel() [all …]
|
/freebsd-src/sys/contrib/dev/acpica/components/utilities/ |
H A D | utresrc.c | 3 * Module Name: utresrc - Resource management utilities 162 * Base sizes of the raw AML resource descriptors, indexed by resource type. 163 * Zero indicates a reserved (and therefore invalid) resource type. 222 * Resource types, used to validate the resource length field. 225 * Zero indicates a reserved (and therefore invalid) resource type. 278 * PARAMETERS: Aml - Pointer to the raw AML resource template 286 * DESCRIPTION: Walk a raw AML resource list(buffer). User function called 287 * once for each resource foun [all...] |
/freebsd-src/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | CrashRecoveryContext.h | 123 /// resource recovery. 152 /// \tparam T Type of controlled resource. 162 T *resource; 163 CrashRecoveryContextCleanupBase(CrashRecoveryContext *context, T *resource) in CrashRecoveryContextCleanupBase() argument 164 : CrashRecoveryContextCleanup(context), resource(resource) {} in CrashRecoveryContextCleanupBase() 168 /// \param x Pointer to the resource recovered by this handler. 180 /// Cleanup handler that reclaims resource by calling destructor on it. 186 T *resource) in CrashRecoveryContextDestructorCleanup() argument 188 CrashRecoveryContextDestructorCleanup<T>, T>(context, resource) {} in CrashRecoveryContextDestructorCleanup() 191 this->resource->~T(); in recoverResources() [all …]
|
/freebsd-src/contrib/sendmail/libsm/ |
H A D | memstat.c | 61 ** resource -- resource to look up 70 sm_memstat_get(resource, pvalue) in sm_memstat_get() argument 71 char *resource; in sm_memstat_get() 146 ** resource -- resource to look up 155 sm_memstat_get(resource, pvalue) 156 char *resource; 167 (resource != NULL) ? resource: "freemem"); 244 ** resource -- resource to look up 253 sm_memstat_get(resource, pvalue) 254 char *resource; [all …]
|