Home
last modified time | relevance | path

Searched refs:f (Results 1 – 25 of 172) sorted by relevance

1234567

/xnu-8020.140.41/EXTERNAL_HEADERS/acpi/
H A DAcpi_v1.h730 #define ACPI_ASF0_OFFSET(f) (UINT8) ACPI_OFFSET (ACPI_ASF_INFO,f) argument
731 #define ACPI_ASF1_OFFSET(f) (UINT8) ACPI_OFFSET (ACPI_ASF_ALERT,f) argument
732 #define ACPI_ASF2_OFFSET(f) (UINT8) ACPI_OFFSET (ACPI_ASF_REMOTE,f) argument
733 #define ACPI_ASF3_OFFSET(f) (UINT8) ACPI_OFFSET (ACPI_ASF_RMCP,f) argument
734 #define ACPI_ASF4_OFFSET(f) (UINT8) ACPI_OFFSET (ACPI_ASF_ADDRESS,f) argument
735 #define ACPI_BOOT_OFFSET(f) (UINT8) ACPI_OFFSET (ACPI_TABLE_BOOT,f) argument
736 #define ACPI_CPEP_OFFSET(f) (UINT8) ACPI_OFFSET (ACPI_TABLE_CPEP,f) argument
737 #define ACPI_CPEP0_OFFSET(f) (UINT8) ACPI_OFFSET (ACPI_CPEP_POLLING,f) argument
738 #define ACPI_DBGP_OFFSET(f) (UINT8) ACPI_OFFSET (ACPI_TABLE_DBGP,f) argument
739 #define ACPI_ECDT_OFFSET(f) (UINT8) ACPI_OFFSET (EC_BOOT_RESOURCES,f) argument
[all …]
H A DAcpi.h412 #define ACPI_FLAG_OFFSET(d, f, o) (UINT8) (ACPI_OFFSET (d,f) +\ argument
413 sizeof(((d *)0)->f) + o)
453 #define ACPI_FACS_OFFSET(f) (UINT8) ACPI_OFFSET (FACS_DESCRIPTOR,f) argument
454 #define ACPI_FADT_OFFSET(f) (UINT8) ACPI_OFFSET (FADT_DESCRIPTOR, f) argument
455 #define ACPI_GAS_OFFSET(f) (UINT8) ACPI_OFFSET (ACPI_GENERIC_ADDRESS,f) argument
456 #define ACPI_HDR_OFFSET(f) (UINT8) ACPI_OFFSET (ACPI_TABLE_HEADER,f) argument
457 #define ACPI_RSDP_OFFSET(f) (UINT8) ACPI_OFFSET (RSDP_DESCRIPTOR,f) argument
459 #define ACPI_FADT_FLAG_OFFSET(f, o) ACPI_FLAG_OFFSET (FADT_DESCRIPTOR,f,o) argument
460 #define ACPI_FACS_FLAG_OFFSET(f, o) ACPI_FLAG_OFFSET (FACS_DESCRIPTOR,f,o) argument
/xnu-8020.140.41/libsyscall/xcodescripts/
H A Dcreate-syscalls.pl164 my $f = IO::File->new($file, 'r');
165 die "$MyName: $file: $!\n" unless defined($f);
169 while(<$f>) {
251 next unless -f $custom;
294 foreach my $f (@files) {
295 while (<$f>) {
334 my ($f, $symbol) = @_;
352 print $f "#define __SYSCALL_32BIT_ARG_BYTES $$symbol{bytes}\n";
353 print $f "#include \"SYS.h\"\n\n";
355 printf $f "#ifdef SYS_%s\n", $$symbol{syscall};
[all …]
H A Dcompile-syscalls.pl50 my $f = IO::File->new($sourceList, 'r');
51 die "$basename: $sourceList: $!\n" unless defined($f);
55 my @sources = <$f>;
58 undef $f;
122 if (-f $outputFile) {
/xnu-8020.140.41/osfmk/mach/
H A Dndr.h92 #define __NDR_convert__SINGLE(a, f, r) do { r((a), (f)); } while (0) argument
93 #define __NDR_convert__ARRAY(a, f, c, r) \ argument
96 r(&(a)[__i__], f); } while (0)
97 #define __NDR_convert__2DARRAY(a, f, s, c, r) \ argument
100 r(&(a)[__i__ * __S__], f, __S__); } while (0)
140 #define __NDR_convert__int_rep__int16_t(v, f) \ argument
144 #define __NDR_convert__int_rep__uint16_t(v, f) \ argument
148 #define __NDR_convert__int_rep__int32_t(v, f) \ argument
152 #define __NDR_convert__int_rep__uint32_t(v, f) \ argument
156 #define __NDR_convert__int_rep__int64_t(v, f) \ argument
[all …]
H A Dmemory_object.h221 #define invalid_memory_object_flavor(f) \ argument
222 (f != MEMORY_OBJECT_ATTRIBUTE_INFO && \
223 f != MEMORY_OBJECT_PERFORMANCE_INFO && \
224 f != OLD_MEMORY_OBJECT_BEHAVIOR_INFO && \
225 f != MEMORY_OBJECT_BEHAVIOR_INFO && \
226 f != OLD_MEMORY_OBJECT_ATTRIBUTE_INFO)
/xnu-8020.140.41/bsd/skywalk/nexus/flowswitch/
H A Dfsw_ip_frag.c177 static void ipf_free(struct fsw_ip_frag_mgr *mgr, struct ipf *f);
178 static void ipf_free_pkt(struct ipf *f);
183 void ipf_icmp_timeout_err(struct fsw_ip_frag_mgr *, struct ipf *f);
479 ipf_icmp_timeout_err(struct fsw_ip_frag_mgr *mgr, struct ipf *f) in ipf_icmp_timeout_err() argument
481 struct __kern_packet *pkt = f->ipf_pkt; in ipf_icmp_timeout_err()
490 if (f->ipf_off != 0) { in ipf_icmp_timeout_err()
513 struct ipf *f, *f_new, *f_down; in ipf_process() local
608 for (f = q->ipfq_down; f != (struct ipf *)q; f = f_down) { in ipf_process()
609 f_down = f->ipf_down; in ipf_process()
610 if (q->ipfq_unfraglen + f->ipf_off + f->ipf_len > in ipf_process()
[all …]
/xnu-8020.140.41/bsd/net/
H A Dpf_osfp.c411 struct pf_os_fingerprint *f; in pf_osfp_find() local
414 if ((f->fp_flags & _DC) == 0) { \ in pf_osfp_find()
415 if ((f->fp_flags & _MOD) == 0) { \ in pf_osfp_find()
416 if (f->_field != find->_field) \ in pf_osfp_find()
419 if (f->_field == 0 || find->_field % f->_field) \ in pf_osfp_find()
424 SLIST_FOREACH(f, list, fp_next) { in pf_osfp_find()
425 if (f->fp_tcpopts != find->fp_tcpopts || in pf_osfp_find()
426 f->fp_optcnt != find->fp_optcnt || in pf_osfp_find()
427 f->fp_ttl < find->fp_ttl || in pf_osfp_find()
428 f->fp_ttl - find->fp_ttl > ttldiff || in pf_osfp_find()
[all …]
/xnu-8020.140.41/tools/trace/
H A Dparse_ipc_trace.py244 f = int(flags_str, 16)
245 self.flags |= f
246 df = {f:0 for f in self.DFLAVORS}
248 if not f & self.F_TRACED:
251 if f & self.F_SND64:
255 if not f & self.F_COMPLEX:
258 if f & self.F_IOKIT:
266 elif f & self.F_OOLMEM:
269 if f & self.F_IOKIT:
274 elif f & self.F_VCPY:
[all …]
/xnu-8020.140.41/osfmk/i386/commpage/
H A Dfifo_queues.s98 jz 1f // no
127 jz 2f // got it
133 jz 2f // got it
139 jz 2f // got it
146 jnz 3f // no
148 jmp 4f
172 jz 2f // got it
178 jz 2f // got it
184 jz 2f // got it
191 jz 4f // yes
[all …]
/xnu-8020.140.41/osfmk/i386/
H A Di386_lock.s72 js 17f ; \
73 jnz 19f ; \
75 jz 19f ; \
78 jz 18f ; \
81 jmp 19f ; \
90 jnz 19f ; \
92 jz 19f ; \
95 jz 18f ; \
98 jmp 19f ; \
132 jne 3f /* branch if so */
[all …]
H A Dasm64.h42 call 1f ;\
43 1: addl $(2f-1b), (%esp) ;\
52 call 3f ;\
53 3: addq $(4f-3b), (%rsp) ;\
/xnu-8020.140.41/osfmk/x86_64/
H A Didt64.s118 #define IDT_ENTRY_WRAPPER(n, f) \ argument
122 pushq $(f) ;\
126 #define IDT_ENTRY_WRAPPER(n, f) \ argument
127 pushq $(f) ;\
133 #define TRAP_ERR(n, f) \ argument
134 Entry(f) ;\
138 #define TRAP(n, f) \ argument
139 Entry(f) ;\
152 #define TRAP_SPC(n, f) argument
153 #define TRAP_IST1(n, f) argument
[all …]
/xnu-8020.140.41/iokit/Kernel/
H A DIOCommandQueue.cpp58 void *f[NUM_FIELDS_IN_COMMAND]; member
173 field0 = q[localIndex].f[0]; field1 = q[localIndex].f[1]; in checkForWork()
174 field2 = q[localIndex].f[2]; field3 = q[localIndex].f[3]; in checkForWork()
257 q[localIndex].f[0] = field0; q[localIndex].f[1] = field1; in enqueueCommand()
258 q[localIndex].f[2] = field2; q[localIndex].f[3] = field3; in enqueueCommand()
303 field0 = q[localIndex].f[0]; field1 = q[localIndex].f[1]; in performAndFlush()
304 field2 = q[localIndex].f[2]; field3 = q[localIndex].f[3]; in performAndFlush()
/xnu-8020.140.41/libkern/os/
H A Drefcnt.h172 static void os_ref_retain_floor(struct os_refcnt *, os_ref_count_t f)
173 os_error_if(!__builtin_constant_p(f) || f == 0, "refcount floor must be >= 1");
175 static void os_ref_retain_floor_raw(os_ref_atomic_t *, os_ref_count_t f, struct os_refgrp *)
176 os_error_if(!__builtin_constant_p(f) || f == 0, "refcount floor must be >= 1");
181 static bool os_ref_retain_floor_try_raw(os_ref_atomic_t *, os_ref_count_t f, struct os_refgrp *) OS…
182 os_error_if(!__builtin_constant_p(f) || f == 0, "refcount floor must be >= 1");
184 static void os_ref_retain_floor_locked_raw(os_ref_atomic_t *, os_ref_count_t f, struct os_refgrp *)
185 os_error_if(!__builtin_constant_p(f) || f == 0, "refcount floor must be >= 1");
H A Drefcnt_internal.h215 os_ref_retain_floor(struct os_refcnt *rc, os_ref_count_t f) in os_ref_retain_floor() argument
217 os_ref_retain_floor_internal(&rc->ref_count, f, os_ref_if_debug(rc->ref_group, NULL)); in os_ref_retain_floor()
227 os_ref_retain_floor_raw(os_ref_atomic_t *rc, os_ref_count_t f, struct os_refgrp *grp) in os_ref_retain_floor_raw() argument
229 os_ref_retain_floor_internal(rc, f, grp); in os_ref_retain_floor_raw()
259 os_ref_retain_floor_try_raw(os_ref_atomic_t *rc, os_ref_count_t f, in os_ref_retain_floor_try_raw() argument
262 return os_ref_retain_floor_try_internal(rc, f, grp); in os_ref_retain_floor_try_raw()
272 os_ref_retain_floor_locked_raw(os_ref_atomic_t *rc, os_ref_count_t f, in os_ref_retain_floor_locked_raw() argument
275 os_ref_retain_floor_locked_internal(rc, f, grp); in os_ref_retain_floor_locked_raw()
294 #define os_ref_retain_floor_raw(rc, f, grp) (os_ref_retain_floor_raw)((rc), f, NULL) argument
299 #define os_ref_retain_floor_try_raw(rc, f, grp) (os_ref_retain_floor_try_raw)((rc), f, NULL) argument
[all …]
/xnu-8020.140.41/bsd/netinet/
H A Dcbrtf.c400 union floatdata { float f; int32_t x; }; member
415 xabs.f = (float)((int32_t)x & 0x7fffffff); in cbrtf()
416 if (xabs.f == __builtin_inff()) { in cbrtf()
420 if (xabs.f < 0x1.0p-126f) { // denormal path in cbrtf()
421 if (xabs.f == 0.0f) { in cbrtf()
424 xabs.f *= 0x1.0p45f; in cbrtf()
432 r = ((double)xabs.f - table->x) * (table->recip_x); in cbrtf()
443 r = ((double)xabs.f - table->x) * (table->recip_x); in cbrtf()
453 result.f *= (float)poly; in cbrtf()
454 return result.f; in cbrtf()
/xnu-8020.140.41/bsd/skywalk/nexus/netif/
H A Dnx_netif_filter.c81 struct netif_filter *f, struct __kern_packet *pkt_chain, uint32_t flags) in nx_netif_filter_inject() argument
93 nifna, struct netif_filter *, f); in nx_netif_filter_inject()
98 if (f != NULL) { in nx_netif_filter_inject()
99 f = STAILQ_NEXT(f, nf_link); in nx_netif_filter_inject()
100 if (f != NULL) { in nx_netif_filter_inject()
101 f->nf_refcnt++; in nx_netif_filter_inject()
110 f = STAILQ_FIRST(&nif->nif_filter_list); in nx_netif_filter_inject()
111 if (__improbable(f == NULL)) { in nx_netif_filter_inject()
125 f->nf_refcnt++; in nx_netif_filter_inject()
149 } else if (f == NULL) { in nx_netif_filter_inject()
[all …]
/xnu-8020.140.41/tests/bounded_ptr_src/
H A Dctor.nullptr.cpp37 auto f = [](test_bounded_ptr<T> p) { in tests() local
40 f(nullptr); in tests()
61 auto f = [](test_bounded_ptr<T> p) { in tests() local
64 f(NULL); in tests()
85 auto f = [](test_bounded_ptr<T> p) { in tests() local
88 f(0); in tests()
/xnu-8020.140.41/tests/
H A Dldt_code32.s42 leaq 1f(%rip), %rax
105 call 1f
127 leal 2f - 1b, %eax
162 leal 3f - 1b, %edx
244 jz 5f
251 jz 5f
258 jz 5f
265 jnz 1f /* too many arguments specified -- bail out and return */
/xnu-8020.140.41/bsd/sys/
H A Dkernel_types.h38 #define SET(t, f) (t) |= (f) argument
39 #define CLR(t, f) (t) &= ~(f) argument
40 #define ISSET(t, f) ((t) & (f)) argument
H A Dkdebug_kernel.h235 #define KDBG_(f, x, a, b, c, d, n, ...) KDBG##n(f, x, a, b, c, d) argument
236 #define KDBG0(f, x, a, b, c, d) KERNEL_DEBUG_CONSTANT##f(x, 0, 0, 0, 0, 0) argument
237 #define KDBG1(f, x, a, b, c, d) KERNEL_DEBUG_CONSTANT##f(x, a, 0, 0, 0, 0) argument
238 #define KDBG2(f, x, a, b, c, d) KERNEL_DEBUG_CONSTANT##f(x, a, b, 0, 0, 0) argument
239 #define KDBG3(f, x, a, b, c, d) KERNEL_DEBUG_CONSTANT##f(x, a, b, c, 0, 0) argument
240 #define KDBG4(f, x, a, b, c, d) KERNEL_DEBUG_CONSTANT##f(x, a, b, c, d, 0) argument
/xnu-8020.140.41/tools/lldbmacros/
H A Dktrace.py574 with tempfile.NamedTemporaryFile(delete=False) as f:
575 plistlib.writePlist(o, f)
576 name = f.name
579 with open(name, mode='rb') as f:
580 plist = f.read()
595 def align_next_chunk(f, offset, verbose): argument
600 f.write(b'\x00' * padding)
643 def append_chunk(f, file_offset, tag, major, minor, data, verbose): argument
644 f.write(struct.pack(CHUNKHDR_PACK, tag, major, minor, len(data)))
645 f.write(data)
[all …]
H A Dwaitq.py278 f = 1
279 while f < kern.globals.g_nwaitq_btframes:
280 if stats.last_wait[f]:
281 …str = "{0}->{1}".format(GetSourceInformationForAddress(unsigned(stats.last_wait[f])), last_waitstr)
282 if stats.last_wakeup[f]:
283 …r = "{0}->{1}".format(GetSourceInformationForAddress(unsigned(stats.last_wakeup[f])), last_wakestr)
284 if stats.last_failed_wakeup[f]:
285 … = "{0}->{1}".format(GetSourceInformationForAddress(unsigned(stats.last_failed_wakeup[f])), fw_str)
286 f = f + 1
/xnu-8020.140.41/SETUP/config/
H A Dmkmakefile.c71 void do_rules(FILE *f);
696 do_rules(FILE *f) in do_rules() argument
730 fprintf(f, "-include %sd\n", tp); in do_rules()
732 fprintf(f, "%so_CFLAGS_ADD += ${CFLAGS_BOUND_CHECKS}\n", tp); in do_rules()
734 fprintf(f, "%so: %s%s%c\n", tp, source_dir, np, och); in do_rules()
736 fprintf(f, "\t${S_RULE_0}\n"); in do_rules()
737 fprintf(f, "\t${S_RULE_1A} %s%.*s${S_RULE_1B}%s\n", in do_rules()
739 fprintf(f, "\t${S_RULE_2}%s\n", nl); in do_rules()
767 fprintf(f, "\t${%c_RULE_0%s}\n", och_upper, extras); in do_rules()
768 fprintf(f, "\t${%c_RULE_1A%s}", och_upper, extras); in do_rules()
[all …]

1234567