HomeSort by: relevance | last modified time | path
    Searched refs:resource (Results 1 - 25 of 625) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/external/gpl3/gcc/dist/fixincludes/tests/base/rtldef/
wait.h 13 # include <sys/resource.h>
  /src/external/gpl3/gcc.old/dist/fixincludes/tests/base/rtldef/
wait.h 13 # include <sys/resource.h>
  /src/external/bsd/pdisk/dist/
pdisk.r 34 resource 'vers' (1) {
51 resource 'PDSK' (0, "Owner Resource", purgeable) {
58 resource 'BNDL' (128) {
67 resource 'FREF' (128) {
72 resource 'icl8' (128) {
139 resource 'icl4' (128) {
174 resource 'ICN#' (128) {
196 resource 'ics#' (128) {
205 resource 'ics4' (128)
    [all...]
  /src/sys/external/bsd/drm2/include/linux/
ioport.h 45 struct resource { struct
58 resource_size(struct resource *resource)
60 return resource->end - resource->start + 1;
64 resource_contains(struct resource *r1, struct resource *r2)
72 release_resource(struct resource *resource)
74 bus_space_free(resource->r_bst, resource->r_bsh
    [all...]
  /src/external/gpl2/lvm2/dist/daemons/clvmd/
lvm-functions.h 24 char *resource);
26 char *resource);
27 extern const char *do_lock_query(char *resource);
29 char *resource);
37 extern int hold_unlock(char *resource);
38 extern int hold_lock(char *resource, int mode, int flags);
lvm-functions.c 165 static struct lv_info *lookup_info(const char *resource)
170 lvi = dm_hash_lookup(lv_hash, resource);
176 static void insert_info(const char *resource, struct lv_info *lvi)
179 dm_hash_insert(lv_hash, resource, lvi);
183 static void remove_info(const char *resource)
186 dm_hash_remove(lv_hash, resource);
193 static int get_current_lock(char *resource)
197 if ((lvi = lookup_info(resource)))
217 char *resource; local
224 resource = dm_hash_get_key(lv_hash, v)
    [all...]
  /src/usr.bin/time/
xtime.c 7 #include <sys/resource.h>
  /src/external/mpl/dhcp/bind/dist/lib/isc/include/isc/
resource.h 1 /* $NetBSD: resource.h,v 1.1 2024/02/18 20:57:54 christos Exp $ */
19 /*! \file isc/resource.h */
29 isc_resource_setlimit(isc_resource_t resource, isc_resourcevalue_t value);
31 * Set the maximum limit for a system resource.
40 *\li 'resource' is a valid member of the isc_resource_t enumeration.
44 *\li #ISC_R_NOTIMPLEMENTED 'resource' is not a type known by the OS.
46 * to change the resource limit.
50 isc_resource_getlimit(isc_resource_t resource, isc_resourcevalue_t *value);
52 * Get the maximum limit for a system resource.
73 *\li 'resource' is a valid member of the isc_resource_t enumeration
    [all...]
  /src/external/bsd/zstd/dist/contrib/pzstd/utils/
ResourcePool.h 24 * to a `T`, and when it goes out of scope the resource will be returned to the
28 * up the resource before or after every use.
56 * @returns A unique pointer to a resource. The resource is null iff
62 UniquePtr resource{resources_.back(), Deleter{*this}};
65 return resource;
67 UniquePtr resource{factory_(), Deleter{*this}};
69 return resource;
74 for (const auto resource : resources_) {
75 free_(resource); variable
    [all...]
  /src/external/gpl2/lvm2/dist/lib/locking/
no_locking.c 40 static int _no_lock_resource(struct cmd_context *cmd, const char *resource,
49 return lv_deactivate(cmd, resource);
51 return lv_resume_if_active(cmd, resource);
53 return lv_activate_with_filter(cmd, resource, 0);
55 return lv_suspend_if_active(cmd, resource);
57 return lv_activate_with_filter(cmd, resource, 1);
72 const char *resource,
78 strcmp(resource, VG_GLOBAL)) {
83 return _no_lock_resource(cmd, resource, flags);
locking_types.h 21 typedef int (*lock_resource_fn) (struct cmd_context * cmd, const char *resource,
23 typedef int (*query_resource_fn) (const char *resource, int *mode);
file_locking.c 255 static int _file_lock_resource(struct cmd_context *cmd, const char *resource,
263 if (strcmp(resource, VG_GLOBAL))
264 lvmcache_drop_metadata(resource);
270 if (*resource == '#')
272 "%s/P_%s", _lock_dir, resource + 1);
275 "%s/V_%s", _lock_dir, resource);
283 log_very_verbose("Unlocking LV %s", resource);
284 if (!lv_resume_if_active(cmd, resource))
288 log_very_verbose("Locking LV %s (NL)", resource);
289 if (!lv_deactivate(cmd, resource))
    [all...]
external_locking.c 27 static int (*_lock_fn) (struct cmd_context * cmd, const char *resource,
31 static int (*_lock_query_fn) (const char *resource, int *mode) = NULL;
33 static int _lock_resource(struct cmd_context *cmd, const char *resource,
37 return _lock_fn(cmd, resource, flags);
locking.c 201 static void _update_vg_lock_count(const char *resource, uint32_t flags)
206 !strcmp(resource, VG_GLOBAL))
347 static int _lock_vol(struct cmd_context *cmd, const char *resource,
355 assert(resource);
357 if (!*resource) {
362 if (*resource == '#' && (flags & LCK_CACHE)) {
363 log_error("Internal error: P_%s referenced", resource);
367 if ((ret = _locking.lock_resource(cmd, resource, flags))) {
371 lvmcache_unlock_vgname(resource);
373 lvmcache_lock_vgname(resource, (flags & LCK_TYPE_MASK
    [all...]
  /src/lib/libc/compat/gen/
compat_times.c 15 #include <sys/resource.h>
16 #include <compat/sys/resource.h>
  /src/lib/libc/compat/sys/
compat_getrusage.c 42 #include <sys/resource.h>
43 #include <compat/sys/resource.h>
46 "warning: reference to compatibility getrusage(); include <sys/resource.h> to generate correct reference")
  /src/external/mpl/dhcp/bind/dist/lib/isc/unix/
resource.c 1 /* $NetBSD: resource.c,v 1.1 2024/02/18 20:57:57 christos Exp $ */
18 #include <sys/resource.h>
19 #include <sys/time.h> /* Required on some systems for <sys/resource.h>. */
23 #include <isc/resource.h>
34 resource2rlim(isc_resource_t resource, int *rlim_resource) {
37 switch (resource) {
86 REQUIRE(resource >= isc_resource_coresize &&
87 resource <= isc_resource_stacksize);
97 isc_resource_setlimit(isc_resource_t resource, isc_resourcevalue_t value) {
104 result = resource2rlim(resource, &unixresource)
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/Support/
CrashRecoveryContext.h 121 /// resource recovery.
150 /// \tparam T Type of controlled resource.
160 T *resource;
161 CrashRecoveryContextCleanupBase(CrashRecoveryContext *context, T *resource)
162 : CrashRecoveryContextCleanup(context), resource(resource) {}
166 /// \param x Pointer to the resource recovered by this handler.
178 /// Cleanup handler that reclaims resource by calling destructor on it.
184 T *resource)
186 CrashRecoveryContextDestructorCleanup<T>, T>(context, resource) {}
    [all...]
  /src/lib/libc/gen/
wait.c 45 #include <sys/resource.h>
wait3.c 45 #include <sys/resource.h>
  /src/sys/compat/sys/
wait.h 38 #include <compat/sys/resource.h>
  /src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
amdgpu_acp.h 38 struct resource *acp_res;
  /src/external/gpl3/gdb/dist/sim/testsuite/cris/c/
setrlimit1.c 1 /* Check corner error case: specifying unimplemented resource.
5 #include <sys/resource.h>
ugetrlimit1.c 1 /* Check corner error case: specifying unimplemented resource.
6 #include <sys/resource.h>
  /src/external/gpl3/gdb.old/dist/sim/testsuite/cris/c/
setrlimit1.c 1 /* Check corner error case: specifying unimplemented resource.
5 #include <sys/resource.h>

Completed in 32 milliseconds

1 2 3 4 5 6 7 8 91011>>