Searched refs:u_int (Results 1 - 25 of 189) sorted by relevance

12345678

/xnu-2422.115.4/libkern/kxld/
H A Dkxld_array.h82 u_int pool_maxitems; /* The maximum number of items each pool can hold
85 u_int nitems; /* The current number of items this array contains */
86 u_int maxitems; /* The maximum number of items this array can contain */
87 u_int npools; /* The number of pools in the pool list */
93 u_int nitems; /* The number of items the array contains */
105 kern_return_t kxld_array_init(KXLDArray *array, size_t itemsize, u_int nitems)
129 void *kxld_array_get_item(const KXLDArray *array, u_int idx)
133 void *kxld_array_get_slot(const KXLDArray *array, u_int idx)
138 u_int *idx)
149 kern_return_t kxld_array_resize(KXLDArray *array, u_int nitem
[all...]
H A Dkxld_reloc.h51 typedef boolean_t (*RelocHasPair)(u_int r_type);
52 typedef u_int (*RelocGetPairType)(u_int prev_r_type);
53 typedef boolean_t (*RelocHasGot)(u_int r_type);
55 u_char *instruction, u_int length, u_int pcrel, kxld_addr_t base_pc,
56 kxld_addr_t link_pc, kxld_addr_t link_disp, u_int type,
69 u_int function_align; /* Power of two alignment of functions */
76 u_int address;
77 u_int pair_addres
[all...]
H A Dkxld_dict.h57 typedef u_int (*kxld_dict_hash)(const KXLDDict *dict, const void *key);
58 typedef u_int (*kxld_dict_cmp)(const void *key1, const void *key2);
65 u_int num_entries; // Num entries in the dictionary
66 u_int resize_threshold; // Num entries we must reach to cause a resize
70 u_int idx;
82 kxld_dict_cmp cmp, u_int num_entries)
104 u_int kxld_dict_get_num_entries(const KXLDDict *dict)
143 u_int kxld_dict_string_hash(const KXLDDict *dict, const void *key)
145 u_int kxld_dict_uint32_hash(const KXLDDict *dict, const void *key)
147 u_int kxld_dict_kxldaddr_has
[all...]
H A Dkxld_dict.c71 u_int *idx);
73 u_int *idx);
80 u_int num_entries)
83 u_int min_buckets = MIN_BUCKETS(num_entries);
84 u_int num_buckets = DEFAULT_DICT_SIZE;
154 u_int
169 u_int idx = 0;
191 get_locate_index(const KXLDDict *dict, const void *key, u_int *_idx)
195 u_int base, idx;
226 u_int id
[all...]
H A Dkxld_sect.h58 u_int sectnum; // The number of the section (for relocation)
59 u_int flags; // Flags describing the section
60 u_int align; // The section's alignment as a power of 2
61 u_int reserved1; // Dependent on the section type
62 u_int reserved2; // Dependent on the section type
75 u_long *sect_offset, u_int sectnum, const struct kxld_relocator *relocator)
84 u_long *sect_offset, u_int sectnum, const struct kxld_relocator *relocator)
92 kern_return_t kxld_sect_init_got(KXLDSect *sect, u_int ngots)
99 const char *sectname, kxld_size_t size, u_int align)
116 u_int kxld_sect_get_num_reloc
[all...]
H A Dkxld_reloc.c75 #define KXLD_TARGET_NONE (u_int) 0x0
76 #define KXLD_TARGET_VALUE (u_int) 0x1
77 #define KXLD_TARGET_SECTNUM (u_int) 0x2
78 #define KXLD_TARGET_SYMBOLNUM (u_int) 0x3
79 #define KXLD_TARGET_LOOKUP (u_int) 0x4
80 #define KXLD_TARGET_GOT (u_int) 0x5
111 static boolean_t generic_reloc_has_pair(u_int _type)
113 static u_int generic_reloc_get_pair_type(u_int _prev_type)
115 static boolean_t generic_reloc_has_got(u_int _typ
[all...]
/xnu-2422.115.4/bsd/nfs/
H A Dkrpc.h38 int krpc_call(struct sockaddr_in *sin, u_int sotype,
39 u_int prog, u_int vers, u_int func,
43 u_int prog, u_int vers, u_int proto, u_int16_t *portp);
/xnu-2422.115.4/bsd/security/audit/
H A Daudit_ioctl.h55 #define AUDITPIPE_GET_QLEN _IOR(AUDITPIPE_IOBASE, 1, u_int)
56 #define AUDITPIPE_GET_QLIMIT _IOR(AUDITPIPE_IOBASE, 2, u_int)
57 #define AUDITPIPE_SET_QLIMIT _IOW(AUDITPIPE_IOBASE, 3, u_int)
58 #define AUDITPIPE_GET_QLIMIT_MIN _IOR(AUDITPIPE_IOBASE, 4, u_int)
59 #define AUDITPIPE_GET_QLIMIT_MAX _IOR(AUDITPIPE_IOBASE, 5, u_int)
73 #define AUDITPIPE_GET_MAXAUDITDATA _IOR(AUDITPIPE_IOBASE, 17, u_int)
86 #define AUDITSDEV_GET_QLEN _IOR(AUDITSDEV_IOBASE, 1, u_int)
87 #define AUDITSDEV_GET_QLIMIT _IOR(AUDITSDEV_IOBASE, 2, u_int)
88 #define AUDITSDEV_SET_QLIMIT _IOW(AUDITSDEV_IOBASE, 3, u_int)
89 #define AUDITSDEV_GET_QLIMIT_MIN _IOR(AUDITSDEV_IOBASE, 4, u_int)
[all...]
/xnu-2422.115.4/libsyscall/mach/servers/
H A Dls_defs.h195 u_int port_id;
196 u_int alive;
197 u_int nport_id_high;
198 u_int nport_id_low;
199 u_int nport_receiver;
200 u_int nport_owner;
201 u_int messages_sent;
202 u_int messages_rcvd;
203 u_int send_rights_sent;
204 u_int send_rights_rcvd_sende
[all...]
/xnu-2422.115.4/bsd/netinet6/
H A Din6_pcb.h106 u_int, int);
108 u_int, struct in6_addr *, u_int, int, struct ifnet *);
110 u_int, struct in6_addr *, u_int, int, uid_t *, gid_t *, struct ifnet *);
111 extern void in6_pcbnotify(struct inpcbinfo *, struct sockaddr *, u_int,
112 const struct sockaddr *, u_int, int, void *, void (*)(struct inpcb *, int));
H A Dipsec6.h56 extern struct secpolicy *ipsec6_getpolicybysock(struct mbuf *, u_int,
58 extern struct secpolicy *ipsec6_getpolicybyaddr(struct mbuf *, u_int, int,
61 u_int, int, struct ip6_out_args *, int *, struct secpolicy **);
75 extern size_t ipsec6_hdrsiz(struct mbuf *, u_int, struct inpcb *);
84 extern int ipsec6_tunnel_validate(struct mbuf *, int, u_int,
/xnu-2422.115.4/bsd/sys/
H A Dguarded.h48 const guardid_t *guard, u_int guardflags, int flags, ...);
49 extern int guarded_kqueue_np(const guardid_t *guard, u_int guardflags);
51 extern int change_fdguard_np(int fd, const guardid_t *guard, u_int guardflags,
52 const guardid_t *nguard, u_int nguardflags, int *fdflagsp);
H A Drandom.h37 void read_random(void* buffer, u_int numBytes);
H A Dpipe.h100 u_int cnt; /* number of chars currently in buffer */
101 u_int in; /* in pointer */
102 u_int out; /* out pointer */
103 u_int size; /* size of buffer */
156 u_int pipe_state; /* pipe status info */
/xnu-2422.115.4/libkern/kxld/tests/
H A Dkxld_array_test.c39 #define kNumStorageTestItems (u_int) (4 * PAGE_SIZE / sizeof(u_int))
46 u_int *item = 0;
47 u_int test_num = 0;
48 u_int idx = 0;
49 u_int titems = 0;
50 u_int storageTestItems[kNumStorageTestItems];
51 u_int i = 0;
60 titems = PAGE_SIZE / sizeof(u_int);
61 rval = kxld_array_init(&array, sizeof(u_int), titem
[all...]
/xnu-2422.115.4/libsyscall/wrappers/
H A Dguarded_open_np.c30 const guardid_t *guard, u_int guardflags, int flags, int mode);
34 const guardid_t *guard, u_int guardflags, int flags, ...)
/xnu-2422.115.4/bsd/net/
H A Dbpf.h111 u_int bf_len;
121 u_int bf_len;
126 u_int bf_len;
135 u_int bs_recv; /* number of packets received */
136 u_int bs_drop; /* number of packets dropped */
165 #define BIOCGBLEN _IOR('B',102, u_int)
166 #define BIOCSBLEN _IOWR('B',102, u_int)
174 #define BIOCGDLT _IOR('B',106, u_int)
188 #define BIOCIMMEDIATE _IOW('B',112, u_int)
190 #define BIOCGRSIG _IOR('B',114, u_int)
[all...]
H A Dbpfdesc.h158 u_int bif_dlt; /* link layer type */
159 u_int bif_hdrlen; /* length of header (with padding) */
160 u_int bif_exthdrlen; /* length of ext header */
/xnu-2422.115.4/bsd/netinet/
H A Dip_dummynet.h280 u_int len ;
281 u_int len_bytes ;
359 u_int c_1 ; /* max_p/(max_th-min_th) (scaled) */
360 u_int c_2 ; /* max_p*min_th/(max_th-min_th) (scaled) */
361 u_int c_3 ; /* for GRED, (1-max_p)/max_th (scaled) */
362 u_int c_4 ; /* for GRED, 1 - 2*max_p (scaled) */
363 u_int * w_q_lookup ; /* lookup table for computing (1-w_q)^t */
364 u_int lookup_depth ; /* depth of lookup table */
446 u_int len ;
447 u_int len_byte
[all...]
H A Digmp_var.h123 u_int igps_rcv_total; /* total IGMP messages received */
124 u_int igps_rcv_tooshort; /* received with too few bytes */
125 u_int igps_rcv_badsum; /* received with bad checksum */
126 u_int igps_rcv_queries; /* received membership queries */
127 u_int igps_rcv_badqueries; /* received invalid queries */
128 u_int igps_rcv_reports; /* received membership reports */
129 u_int igps_rcv_badreports; /* received invalid reports */
130 u_int igps_rcv_ourreports; /* received reports for our groups */
131 u_int igps_snd_reports; /* sent membership reports */
/xnu-2422.115.4/bsd/libkern/
H A Dscanc.c66 scanc(u_int size, u_char *cp, const u_char table[], int mask0)
H A Dlibkern.h117 static inline u_int
118 max(u_int a, u_int b)
122 static inline u_int
123 min(u_int a, u_int b)
143 extern int scanc(u_int, u_char *, const u_char *, int);
/xnu-2422.115.4/bsd/netkey/
H A Dkey_var.h89 #define _KEYLEN(key) ((u_int)((key)->sadb_key_bits >> 3))
90 #define _KEYBITS(key) ((u_int)((key)->sadb_key_bits))
H A Dkey.h56 extern struct secpolicy *key_allocsp(struct secpolicyindex *, u_int);
62 extern struct secasvar *key_allocsa(u_int, caddr_t, caddr_t,
63 u_int, u_int32_t);
78 extern int key_checktunnelsanity(struct secasvar *, u_int, caddr_t, caddr_t);
/xnu-2422.115.4/libsyscall/wrappers/string/
H A Dmemset.c36 #define wsize sizeof(u_int)
55 u_int c;
81 c = (c << 8) | c; /* u_int is 16 bits. */
83 c = (c << 16) | c; /* u_int is 32 bits. */
86 c = (c << 32) | c; /* u_int is 64 bits. */
101 *(u_int *)dst = WIDEVAL;

Completed in 69 milliseconds

12345678