Searched refs:flags (Results 1 - 25 of 1984) sorted by relevance

1234567891011>>

/haiku/src/system/libroot/os/
H A Dfs_volume.c15 const char *fileSystem, uint32 flags, const char *parameters)
17 return _kern_mount(where, device, fileSystem, flags, (void *)parameters,
23 fs_unmount_volume(const char *path, uint32 flags) argument
25 return _kern_unmount(path, flags);
14 fs_mount_volume(const char *where, const char *device, const char *fileSystem, uint32 flags, const char *parameters) argument
H A Dwait_for_objects.cpp19 wait_for_objects_etc(object_wait_info* infos, int numInfos, uint32 flags, argument
22 return _kern_wait_for_objects(infos, numInfos, flags, timeout);
/haiku/src/system/libroot/posix/
H A Dfnmatch.c59 fnmatch(pattern, string, flags)
61 int flags;
70 if ((flags & FNM_LEADING_DIR) && *string == '/')
76 if (*string == '/' && (flags & FNM_PATHNAME))
78 if (*string == '.' && (flags & FNM_PERIOD) &&
80 ((flags & FNM_PATHNAME) && *(string - 1) == '/')))
90 if (*string == '.' && (flags & FNM_PERIOD) &&
92 ((flags & FNM_PATHNAME) && *(string - 1) == '/')))
97 if (flags & FNM_PATHNAME)
98 return ((flags
[all...]
/haiku/src/tests/system/network/sock/
H A Dsinktcp.c17 int n, flags; local
24 flags = msgpeek;
26 if ( (n = recv(sockfd, rbuf, readlen, flags)) < 0) {
43 (flags == MSG_PEEK) ? " (MSG_PEEK)" : "");
48 if (flags != 0) {
49 flags = 0; /* no infinite loop */
H A Dsinkudp.c17 int n, flags; local
24 flags = msgpeek;
26 if ( (n = recv(sockfd, rbuf, readlen, flags)) < 0) {
43 (flags == MSG_PEEK) ? " (MSG_PEEK)" : "");
56 if (flags != 0) {
57 flags = 0; /* avoid infinite loop */
/haiku/headers/private/kernel/arch/arm64/
H A Darch_int.h25 uint32 flags; local
30 : "=&r"(flags));
32 return flags;
46 uint32 flags; local
50 : "=&r"(flags));
52 return (flags & PSR_I) == 0;
/haiku/headers/private/fs_shell/
H A Dfssh_fs_volume.h12 /* mount flags */
16 /* unmount flags */
26 uint32_t flags, const char *parameters);
28 uint32_t flags);
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dioctl.h28 unsigned int flags, void *data);
/haiku/src/system/kernel/arch/x86/64/
H A Dcpuid.cpp25 uint64_t flags; local
26 __asm__("pushf; popq %0;" : "=r" (flags));
27 return flags;
34 uint64_t flags = value; local
35 __asm__("pushq %0; popf;" : : "r" (flags) : "cc");
/haiku/headers/private/kernel/
H A Dsyscall_restart.h25 if ((thread->flags & THREAD_FLAGS_SYSCALL_RESTARTED) != 0)
36 /*! Helper function for syscalls with flags + timeout.
42 syscall_restart_handle_timeout_pre(uint32& flags, bigtime_t& timeout) argument
49 if ((thread->flags & THREAD_FLAGS_SYSCALL_RESTARTED) != 0) {
51 if (timeout > 0 && (flags & B_RELATIVE_TIMEOUT) != 0)
52 flags = (flags & ~B_RELATIVE_TIMEOUT) | B_ABSOLUTE_TIMEOUT;
53 } else if ((flags & B_RELATIVE_TIMEOUT) != 0) {
60 flags = (flags
[all...]
H A Dheap.h37 // allocation/deallocation flags for {malloc,free}_etc()
62 void* memalign_etc(size_t alignment, size_t size, uint32 flags);
63 void free_etc(void* address, uint32 flags);
95 malloc_etc(size_t size, uint32 flags) argument
97 return memalign_etc(0, size, flags);
109 uint32 flags; member in struct:malloc_flags
111 malloc_flags(uint32 flags) argument
113 flags(flags)
119 flags(othe
126 operator new(size_t size, const malloc_flags& flags) argument
133 operator new[](size_t size, const malloc_flags& flags) argument
[all...]
H A Duser_mutex.h18 status_t _user_mutex_lock(int32* mutex, const char* name, uint32 flags,
20 status_t _user_mutex_unlock(int32* mutex, uint32 flags);
22 const char* name, uint32 flags, bigtime_t timeout);
23 status_t _user_mutex_sem_acquire(int32* sem, const char* name, uint32 flags,
/haiku/src/system/kernel/slab/
H A DHashedObjectCache.cpp32 allocate_slab(uint32 flags) argument
34 return (HashedSlab*)slab_internal_alloc(sizeof(HashedSlab), flags);
39 free_slab(HashedSlab* slab, uint32 flags) argument
41 slab_internal_free(slab, flags);
58 size_t maxMagazineCount, uint32 flags, void* cookie,
62 void* buffer = slab_internal_alloc(sizeof(HashedObjectCache), flags);
70 buffer = slab_internal_alloc(hashSize, flags);
79 maxMagazineCount, flags, cookie, constructor, destructor,
85 if ((flags & CACHE_LARGE_SLAB) != 0)
106 HashedObjectCache::CreateSlab(uint32 flags) argument
56 Create(const char* name, size_t object_size, size_t alignment, size_t maximum, size_t magazineCapacity, size_t maxMagazineCount, uint32 flags, void* cookie, object_cache_constructor constructor, object_cache_destructor destructor, object_cache_reclaimer reclaimer) argument
140 ReturnSlab(slab* _slab, uint32 flags) argument
173 _ResizeHashTableIfNeeded(uint32 flags) argument
[all...]
H A DSmallObjectCache.cpp31 size_t maxMagazineCount, uint32 flags, void* cookie,
35 void* buffer = slab_internal_alloc(sizeof(SmallObjectCache), flags);
42 maxMagazineCount, flags, cookie, constructor, destructor,
48 if ((flags & CACHE_LARGE_SLAB) != 0)
68 SmallObjectCache::CreateSlab(uint32 flags) argument
76 status_t error = MemoryManager::Allocate(this, flags, pages);
84 if (AllocateTrackingInfos(newSlab, byteCount, flags) != B_OK) {
85 MemoryManager::Free(pages, flags);
89 return InitSlab(newSlab, pages, byteCount, flags);
94 SmallObjectCache::ReturnSlab(slab* slab, uint32 flags) argument
29 Create(const char* name, size_t object_size, size_t alignment, size_t maximum, size_t magazineCapacity, size_t maxMagazineCount, uint32 flags, void* cookie, object_cache_constructor constructor, object_cache_destructor destructor, object_cache_reclaimer reclaimer) argument
[all...]
H A Dslab_private.h47 slab_internal_alloc(size_t size, uint32 flags) argument
49 if (flags & CACHE_DURING_BOOT)
52 return malloc_etc(size, flags);
57 slab_internal_free(void* buffer, uint32 flags) argument
59 free_etc(buffer, flags);
/haiku/headers/private/kernel/slab/
H A DObjectDepot.h29 void* object, uint32 flags);
38 size_t maxCount, uint32 flags, void* cookie,
40 uint32 flags));
41 void object_depot_destroy(object_depot* depot, uint32 flags);
44 void object_depot_store(object_depot* depot, void* object, uint32 flags);
46 void object_depot_make_empty(object_depot* depot, uint32 flags);
/haiku/headers/private/kernel/arch/x86/
H A Darch_int.h31 size_t flags; local
35 "cli" : "=g" (flags));
36 return (flags & 0x200) != 0;
51 size_t flags; local
54 "pop %0;\n" : "=g" (flags));
55 return (flags & 0x200) != 0;
/haiku/src/libs/posix_error_mapper/
H A Dtime.cpp13 (clockid_t clockID, int flags, const struct timespec* time,
15 return B_TO_POSITIVE_ERROR(sReal_clock_nanosleep(clockID, flags, time,
/haiku/headers/os/net/
H A DNetworkAddressResolver.h20 // flags for name resolution
31 uint16 port = 0, uint32 flags = 0);
33 const char* service, uint32 flags = 0);
36 uint32 flags = 0);
39 uint32 flags = 0);
47 uint32 flags = 0);
49 uint32 flags = 0);
51 uint16 port = 0, uint32 flags = 0);
53 const char* service, uint32 flags = 0);
65 uint32 flags
82 CacheEntry(int family, const char* address, const char* service, uint32 flags, BNetworkAddressResolver* resolver) argument
93 Matches(int family, BString address, BString service, uint32 flags) argument
[all...]
/haiku/src/add-ons/accelerants/radeon/
H A Dmultimon.c20 mode->timing.flags &= ~RADEON_MODE_MASK;
25 if( (mode->flags & B_SCROLL) == 0 )
31 mode->flags &= ~B_SCROLL;
33 mode->timing.flags &= ~RADEON_MODE_POSITION_MASK;
37 mode->timing.flags |= RADEON_MODE_POSITION_HORIZONTAL;
38 mode->timing.flags &= ~RADEON_MODE_MASK;
39 mode->timing.flags |= RADEON_MODE_COMBINE;
42 mode->timing.flags |= RADEON_MODE_POSITION_VERTICAL;
43 mode->timing.flags &= ~RADEON_MODE_MASK;
44 mode->timing.flags |
[all...]
/haiku/headers/os/kernel/
H A Dfs_volume.h13 /* mount flags */
17 /* unmount flags */
26 const char *filesystem, uint32 flags,
28 extern status_t fs_unmount_volume(const char *path, uint32 flags);
/haiku/src/bin/debug/
H A Ddebug_utils.h14 status_t set_team_debugging_flags(port_id nubPort, int32 flags);
16 int32 flags);
/haiku/src/system/libroot/os/locks/
H A Dmutex.cpp35 lock->flags = 0;
40 __mutex_init_etc(mutex *lock, const char *name, uint32 flags) argument
42 lock->name = (flags & MUTEX_FLAG_CLONE_NAME) != 0 ? strdup(name) : name;
44 lock->flags = flags;
47 lock->flags &= ~uint32(MUTEX_FLAG_ADAPTIVE);
54 if ((lock->flags & MUTEX_FLAG_CLONE_NAME) != 0)
64 = (lock->flags & MUTEX_FLAG_ADAPTIVE) != 0 ? MAX_UNSUCCESSFUL_SPINS : 1;
/haiku/src/kits/storage/
H A DNodeMonitor.cpp27 watch_volume(dev_t volume, uint32 flags, BMessenger target) argument
29 if ((flags & (B_WATCH_NAME | B_WATCH_STAT | B_WATCH_ATTR)) == 0)
32 flags |= B_WATCH_VOLUME;
37 return _kern_start_watching(volume, (ino_t)-1, flags, port, token);
42 watch_volume(dev_t volume, uint32 flags, const BHandler* handler, argument
45 return watch_volume(volume, flags, BMessenger(handler, looper));
51 watch_node(const node_ref* node, uint32 flags, BMessenger target) argument
60 if (flags == B_STOP_WATCHING) {
70 if (flags & B_WATCH_MOUNT) {
76 flags
95 watch_node(const node_ref* node, uint32 flags, const BHandler* handler, const BLooper* looper) argument
[all...]
/haiku/src/system/kernel/lib/
H A Dkernel_vsprintf.cpp122 sign_symbol(int flags, bool negative) argument
124 if ((flags & SIGN) == 0)
129 else if ((flags & PLUS) != 0)
131 else if ((flags & SPACE) != 0)
140 int precision, int flags)
146 if (flags & LARGE)
148 if (flags & LEFT)
149 flags &= ~ZEROPAD;
153 c = (flags & ZEROPAD) ? '0' : ' ';
155 if (flags
139 number(Buffer& outBuffer, uint64 num, uint32 base, int size, int precision, int flags) argument
217 floating(Buffer& outBuffer, double value, int fieldWidth, int flags) argument
278 int flags; /* flags to number() */ local
[all...]

Completed in 223 milliseconds

1234567891011>>