Home
last modified time | relevance | path

Searched refs:set (Results 1 – 25 of 173) sorted by relevance

1234567

/xnu-11215/iokit/Kernel/
H A DIOCatalogue.cpp227 if (!set) { in findDrivers()
251 return set; in findDrivers()
273 if (!set) { in findDrivers()
290 set->setObject(dict); in findDrivers()
298 return set; in findDrivers()
312 if (!set) { in exchangeDrivers()
342 set->setObject(dict); in exchangeDrivers()
428 if (!set) { in addDrivers()
517 if (!set) {
1048 if (!set) { in startMatching()
[all …]
/xnu-11215/osfmk/i386/
H A Drtclock_native.c84 uint64_t set = 0; in rtc_lapic_set_timer() local
92 set = now + count; in rtc_lapic_set_timer()
101 set, LAPIC_READ(TIMER_CURRENT_COUNT), in rtc_lapic_set_timer()
104 return set; in rtc_lapic_set_timer()
121 uint64_t set = 0; in rtc_lapic_set_tsc_deadline_timer() local
129 set = now + delta; in rtc_lapic_set_tsc_deadline_timer()
143 return set; in rtc_lapic_set_tsc_deadline_timer()
/xnu-11215/EXTERNAL_HEADERS/architecture/i386/
H A Dasm_help.h97 .set L__framesize,ROUND_TO_STACK(localvarsize) ;\
98 .set L__nested_function, 1 ;\
111 .set L__framesize,ROUND_TO_STACK(localvarsize) ;\
112 .set L__nested_function, 1 ;\
128 .set L__framesize,ROUND_TO_STACK(localvarsize) ;\
129 .set L__nested_function, 0 ;\
140 .set L__nested_function, 0 ;\
221 .set name,value
254 .set name,value
287 .set name,value
[all …]
/xnu-11215/bsd/netinet/
H A Dip_dummynet.c373 fs_bp->plr = set->plr; in cp_flow_set_to_32_user()
379 fs_bp->w_q = set->w_q; in cp_flow_set_to_32_user()
383 fs_bp->c_1 = set->c_1; in cp_flow_set_to_32_user()
384 fs_bp->c_2 = set->c_2; in cp_flow_set_to_32_user()
385 fs_bp->c_3 = set->c_3; in cp_flow_set_to_32_user()
386 fs_bp->c_4 = set->c_4; in cp_flow_set_to_32_user()
403 fs_bp->plr = set->plr; in cp_flow_set_to_64_user()
409 fs_bp->w_q = set->w_q; in cp_flow_set_to_64_user()
413 fs_bp->c_1 = set->c_1; in cp_flow_set_to_64_user()
414 fs_bp->c_2 = set->c_2; in cp_flow_set_to_64_user()
[all …]
/xnu-11215/bsd/sys/
H A Ddisklabel.h207 .set d_secsize, 40
208 .set d_nsectors, 44
209 .set d_ntracks, 48
210 .set d_ncylinders, 52
211 .set d_secpercyl, 56
212 .set d_secperunit, 60
213 .set d_end_, 276 /* size of disk label */
/xnu-11215/libkern/c++/
H A DOSSerializeBinary.cpp213 OSSet * set; in binarySerializeInternal() local
287 } else if ((set = OSDynamicCast(OSSet, o))) { in binarySerializeInternal()
288 key = (kOSSerializeSet | set->members->count); in binarySerializeInternal()
290 for (i = 0; ok && (i < set->members->count);) { in binarySerializeInternal()
292 endCollection = (i == set->members->count); in binarySerializeInternal()
363 OSSet * set; in OSUnserializeBinary() local
411 set = NULL; in OSUnserializeBinary()
568 } else if (set) { in OSUnserializeBinary()
569 ok = set->setObject(o); in OSUnserializeBinary()
594 set = newSet; in OSUnserializeBinary()
[all …]
H A DOSMetaClass.cpp1090 OSMetaClass::applyToInstances(OSOrderedSet * set, in applyToInstances() argument
1115 while (!done && (obj = set->getObject(idx++))) { in applyToInstances()
1120 sets[level] = set; in applyToInstances()
1123 set = childSet; in applyToInstances()
1132 set = sets[level]; in applyToInstances()
1163 OSOrderedSet * set = NULL; in applyToInstancesOfClassName() local
1168 && (set = meta->reserved->instances)) { in applyToInstancesOfClassName()
1169 set->retain(); in applyToInstancesOfClassName()
1173 if (!set) { in applyToInstancesOfClassName()
1178 applyToInstances(set, applier, context); in applyToInstancesOfClassName()
[all …]
H A DOSSet.cpp161 OSSet::withSet(const OSSet *set, in withSet() argument
166 if (me && !me->initWithSet(set, capacity)) { in withSet()
259 OSSet::merge(const OSSet * set) in merge() argument
261 return merge(set->members.get()); in merge()
/xnu-11215/osfmk/kperf/
H A Dkperfbsd.c110 uint32_t (*get)(void), int (*set)(uint32_t)) in kperf_sysctl_get_set_uint32()
114 assert(set != NULL); in kperf_sysctl_get_set_uint32()
127 return set(value); in kperf_sysctl_get_set_uint32()
132 int (*get)(void), int (*set)(int)) in kperf_sysctl_get_set_int()
136 assert(set != NULL); in kperf_sysctl_get_set_int()
149 return set(value); in kperf_sysctl_get_set_int()
154 uint64_t (*get)(void), int (*set)(uint64_t)) in kperf_sysctl_get_set_uint64()
158 assert(set != NULL); in kperf_sysctl_get_set_uint64()
171 return set(value); in kperf_sysctl_get_set_uint64()
180 assert(set != NULL); in kperf_sysctl_get_set_unsigned_uint32()
[all …]
/xnu-11215/osfmk/mach/
H A Dprocessor_set.defs75 * Return scheduling statistics for a processor set.
92 set : processor_set_t);
110 * List all tasks in processor set.
117 * List all threads in processor set.
151 * Get information about processor set.
160 * List all tasks(/inspect/read) in processor set based on flavor.
167 /* vim: set ft=c : */
H A Dmach_port.defs82 * Returns the set of port and port set names
84 * the type (set or port) for each name.
93 * Returns the type (set or port) for the port name
150 * port (possibly with multiple user refs), a port set, or
171 * A port set always has one user ref.
262 * into the after port set. If the port is already a member
263 * of any set(s), it is atomically removed from those sets as
724 /* vim: set ft=c : */
/xnu-11215/osfmk/kern/
H A Dwaitq.c1819 #pragma mark port-set sets
2188 waitq_lock(set); in select_set_link()
2189 set->selset_conflict = true; in select_set_link()
2190 waitq_unlock(set); in select_set_link()
2240 if (set->selset_conflict) { in __select_set_reset()
2244 waitq_lock(set); in __select_set_reset()
2246 waitq_invalidate(set); in __select_set_reset()
2249 set->selset_preposted = 0; in __select_set_reset()
2250 set->selset_conflict = 0; in __select_set_reset()
2251 waitq_unlock(set); in __select_set_reset()
[all …]
/xnu-11215/tools/lldbmacros/
H A D.lldbinit1 settings set target.process.python-os-plugin-path ./core/operating_system.py
2 settings set plugin.dynamic-loader.darwin-kernel.load-kexts false
/xnu-11215/tools/tests/MPMMTest/
H A DMPMMtest.c62 mach_port_t *set; member
303 ports->set = (mach_port_t *)calloc(sizeof(mach_port_t), setcount); in setup_server_ports()
304 if (!ports->set) { in setup_server_ports()
318 mach_port_t set; in setup_server_ports() local
327 &ports->set[ns]); in setup_server_ports()
334 ports->server_num, ns, ports->set[ns]); in setup_server_ports()
337 set = ports->set[ns]; in setup_server_ports()
341 ports->rcv_set = ports->set[0]; in setup_server_ports()
363 ports->server_num, port, ports->set[ns]); in setup_server_ports()
366 port, ports->set[ns]); in setup_server_ports()
[all …]
/xnu-11215/libkern/libkern/c++/
H A DOSSet.h251 static OSPtr<OSSet> withSet(const OSSet * set,
389 virtual bool initWithSet(const OSSet *set,
602 virtual bool merge(const OSSet * set);
/xnu-11215/iokit/DriverKit/
H A DIOExtensiblePaniclog.iig79 * @brief This function is called to set the IOExtensiblePaniclog object active.
80 * @discussion When it is set active, it is picked up and added to the extensible paniclog
88 * @brief This function is called to set the IOExtensiblePaniclog object inactive.
89 * @discussion When it is set inactive, this buffer is not picked up in case of a panic
132 …* After claiming the buffer, YieldBuffer() has to be called to set the used_len of th…
144 * @brief This function is called to yield the buffer and set the used_len for the buffer
154 * @brief This function is called to set the used len of the buffer
H A DIOUserClient.iig89 * This parameter is only set for large structures, and if set structureInput will be NULL.
93 * This field should be set by the driver to an OSData object it created with
95 …* It is an error for the driver to set this field if structureOutputDescriptor was pa…
131 * if true completion field must be set,
188 * The method runs on a queue set by IOService::SetDispatchQueuue()
190 * queue for the IOUserClient object if one was not set.
249 * @brief Create a memory descriptor that describes a set of virtual ranges in
H A DIOBufferMemoryDescriptor.iig59 * to set the direction of the i/o
61 * and zero length until set with SetLength().
90 …iscussion IOBufferMemoryDescriptor have capacity allocated at Create() but no valid data until set
/xnu-11215/tests/
H A Dmonotonic_core.c97 int set = 1; variable
130 r = sysctlbyname("kern.monotonic.kdebug_test", NULL, NULL, &set,
131 sizeof(set));
H A Dipsec.m265 /* set pointer */
423 …kopt(pfkey_socket, SOL_SOCKET, SO_SNDBUF, &bufsiz, sizeof(bufsiz)), "pfkey set snd socket buf fail…
424 …kopt(pfkey_socket, SOL_SOCKET, SO_RCVBUF, &bufsiz, sizeof(bufsiz)), "pfkey set recv socket buf fai…
511 T_QUIET; T_ASSERT_NE(status, -1, "failed to set bpf interface");
514 T_QUIET; T_ASSERT_NE(status, -1, "failed to set bpf header complete");
526 T_FAIL("Failed to set MTU on ipsec interface");
532 T_FAIL("Failed to set address on ipsec interface");
551 T_FAIL("Failed to set delegate on ipsec interface");
/xnu-11215/iokit/Tests/
H A DTestCollections.cpp749 OSSet *set; in testIterator() local
839 set = OSSet::withCapacity(numSymbols); in testIterator()
840 TEST_ASSERT('I', "2a", set); in testIterator()
841 if (set) { in testIterator()
844 count1 += set->setObject(cache[i]); in testIterator()
848 iter1 = OSCollectionIterator::withCollection(set); in testIterator()
849 iter2 = OSCollectionIterator::withCollection(set); in testIterator()
888 str = (OSString *) set->getAnyObject(); in testIterator()
889 (void) set->__takeObject(str); in testIterator()
890 set->setObject(str); in testIterator()
[all …]
/xnu-11215/tools/lldbmacros/tests/lldb_tests/
H A Dtest_process.py101 self.assertSetEqual(set(macro), set(kernel),
/xnu-11215/osfmk/i386/commpage/
H A Dcommpage.h63 .set L ## label ## _size, L ## label ## _end - L ## label ;\
93 .set UNIQUEID(unique), L ## start - . + target - from - 4 ;\
/xnu-11215/libsyscall/mach/
H A Derr_kern.sub51 "(os/kern) already in set",
52 "(os/kern) not in set",
66 "(os/kern) invalid processor set",
71 "(os/kern) default set",
78 "(os/kern) lock set destroyed",
/xnu-11215/doc/building/
H A Dxnu_build_consolidation.md15 reduce the number of existing builds, as well as to set up a simple framework that makes it easier …
32 * L1/L2 cache geometry parameters (e.g. size, number of set/ways).
36 still differ in their feature set.
46 and number of set/ways. XNU needs most of this information to perform set/way clean/invalidate oper…
123 These macros are defined in `board_config.h`, and should be set to the same value for a group of ta…

1234567