Searched refs:ctx (Results 1 - 25 of 109) sorted by relevance

12345

/haiku/src/system/libnetwork/netresolv/isc/
H A Dheap.c55 heap_context ctx; local
60 ctx = (heap_context)malloc(sizeof (struct heap_context));
61 if (ctx == NULL)
64 ctx->array_size = 0;
66 ctx->array_size_increment = ARRAY_SIZE_INCREMENT;
68 ctx->array_size_increment = array_size_increment;
69 ctx->heap_size = 0;
70 ctx->heap = NULL;
71 ctx->higher_priority = higher_priority;
72 ctx
77 heap_free(heap_context ctx) argument
91 heap_resize(heap_context ctx) argument
106 float_up(heap_context ctx, int i, void *elt) argument
122 sink_down(heap_context ctx, int i, void *elt) argument
146 heap_insert(heap_context ctx, void *elt) argument
164 heap_delete(heap_context ctx, int i) argument
189 heap_increased(heap_context ctx, int i) argument
201 heap_decreased(heap_context ctx, int i) argument
213 heap_element(heap_context ctx, int i) argument
223 heap_for_each(heap_context ctx, heap_for_each_func action, void *uap) argument
[all...]
H A Dctl_clnt.c60 #define donefunc_p(ctx) ((ctx).donefunc != NULL)
77 struct ctl_cctx * ctx; member in struct:ctl_tran
154 struct ctl_cctx *ctx; local
159 ctx = memget(sizeof *ctx);
160 if (ctx == NULL) {
164 ctx->state = initializing;
165 ctx->ev = lev;
166 ctx
223 ctl_endclient(struct ctl_cctx *ctx) argument
236 ctl_command(struct ctl_cctx *ctx, const char *cmd, size_t len, ctl_clntdone donefunc, void *uap) argument
275 new_tran(struct ctl_cctx *ctx, ctl_clntdone donefunc, void *uap, int w) argument
293 start_write(struct ctl_cctx *ctx) argument
339 destroy(struct ctl_cctx *ctx, int notify) argument
389 error(struct ctl_cctx *ctx) argument
395 new_state(struct ctl_cctx *ctx, enum state new_state) argument
409 struct ctl_cctx *ctx = uap; local
445 struct ctl_cctx *ctx = tran->ctx; local
462 start_read(struct ctl_cctx *ctx) argument
478 stop_read(struct ctl_cctx *ctx) argument
488 struct ctl_cctx *ctx = uap; local
572 start_timer(struct ctl_cctx *ctx) argument
585 stop_timer(struct ctl_cctx *ctx) argument
599 touch_timer(struct ctl_cctx *ctx) argument
608 struct ctl_cctx *ctx = uap; local
[all...]
H A Deventlib.c68 evContext_p *ctx; local
74 OKNEW(ctx);
77 ctx->cur = NULL;
80 ctx->debug = 0;
81 ctx->output = NULL;
84 ctx->conns = NULL;
85 INIT_LIST(ctx->accepts);
88 ctx->files = NULL;
90 ctx->pollfds = NULL;
91 ctx
144 evContext_p *ctx = opaqueCtx.opaque; local
152 evContext_p *ctx = opaqueCtx.opaque; local
212 evContext_p *ctx = opaqueCtx.opaque; local
478 evContext_p *ctx = opaqueCtx.opaque; local
591 evContext_p *ctx = opaqueCtx.opaque; local
667 evContext_p *ctx = opaqueCtx.opaque; local
673 evPrintf(const evContext_p *ctx, int level, const char *fmt, ...) argument
745 evContext_p *ctx; local
813 evPollfdRealloc(evContext_p *ctx, int pollfd_chunk_size, int fd) argument
855 evContext_p *ctx = (evContext_p *)maskp->ctx; local
889 evContext_p *ctx = maskp->ctx; local
920 evContext_p *ctx = maskp->ctx; local
[all...]
H A Dev_files.c42 static evFile *FindFD(const evContext_p *ctx, int fd, int eventmask);
52 evContext_p *ctx = opaqueCtx.opaque; local
56 evPrintf(ctx, 1,
57 "evSelectFD(ctx %p, fd %d, mask 0x%x, func %p, uap %p)\n",
58 ctx, fd, eventmask, func, uap);
62 if (fd > ctx->highestFD)
73 /* Make sure both ctx->pollfds[] and ctx->fdTable[] are large enough */
74 if (fd >= ctx->maxnfds && evPollfdRealloc(ctx,
157 evContext_p *ctx = opaqueCtx.opaque; local
268 FindFD(const evContext_p *ctx, int fd, int eventmask) argument
[all...]
H A Dev_waits.c39 static void print_waits(evContext_p *ctx);
54 evContext_p *ctx = opaqueCtx.opaque; local
56 evWaitList *wl = evGetWaitList(ctx, tag, 1);
70 if (ctx->debug >= 9)
71 print_waits(ctx);
80 evContext_p *ctx = opaqueCtx.opaque; local
81 evWaitList *wl = evGetWaitList(ctx, tag, 0);
92 if (ctx->waitDone.last != NULL)
93 ctx->waitDone.last->next = first;
95 ctx
107 evContext_p *ctx = opaqueCtx.opaque; local
165 evContext_p *ctx = opaqueCtx.opaque; local
186 print_waits(evContext_p *ctx) argument
205 evNewWaitList(evContext_p *ctx) argument
221 evFreeWaitList(evContext_p *ctx, evWaitList *this) argument
235 evGetWaitList(evContext_p *ctx, const void *tag, int should_create) argument
[all...]
H A Dctl_srvr.c68 tmp, sizeof tmp, ctx->logger)
86 struct ctl_sctx * ctx; member in struct:ctl_sess
179 struct ctl_sctx *ctx; local
193 ctx = memget(sizeof *ctx);
194 if (ctx == NULL) {
198 ctx->ev = lev;
199 ctx->uctx = uctx;
200 ctx->unkncode = unkncode;
201 ctx
276 ctl_endserver(struct ctl_sctx *ctx) argument
308 struct ctl_sctx *ctx = sess->ctx; local
378 struct ctl_sctx *ctx = sess->ctx; local
407 struct ctl_sctx *ctx = uap; local
472 struct ctl_sctx *ctx = sess->ctx; local
485 struct ctl_sctx *ctx = sess->ctx; local
523 struct ctl_sctx *ctx = sess->ctx; local
553 struct ctl_sctx *ctx = sess->ctx; local
570 struct ctl_sctx *ctx; local
632 struct ctl_sctx *ctx = sess->ctx; local
659 struct ctl_sctx *ctx = sess->ctx; local
682 struct ctl_sctx *ctx = sess->ctx; local
723 struct ctl_sctx *ctx = sess->ctx; local
760 ctl_morehelp(struct ctl_sctx *ctx, struct ctl_sess *sess, const struct ctl_verb *verb, const char *text, u_int respflags, const void *respctx, void *uctx) argument
780 ctl_signal_done(struct ctl_sctx *ctx, struct ctl_sess *sess) argument
[all...]
H A Dev_timers.c143 evContext_p *ctx = opaqueCtx.opaque; local
145 return (ctx->lastEventTime);
174 evContext_p *ctx = opaqueCtx.opaque; local
177 evPrintf(ctx, 1,
178 "evSetTimer(ctx %p, func %p, uap %p, due %ld.%09ld, inter %ld.%09ld)\n",
179 ctx, func, uap,
211 if (heap_insert(ctx->timers, id) < 0)
218 if (ctx->debug > 7) {
219 evPrintf(ctx, 7, "timers after evSetTimer:\n");
220 (void) heap_for_each(ctx
228 evContext_p *ctx = opaqueCtx.opaque; local
264 evContext_p *ctx = opaqueCtx.opaque; local
291 evContext_p *ctx = opaqueCtx.opaque; local
350 evContext_p *ctx = opaqueCtx.opaque; local
388 evContext_p *ctx = opaqueCtx.opaque; local
404 evContext_p *ctx = opaqueCtx.opaque; local
416 evCreateTimers(const evContext_p *ctx) argument
424 evDestroyTimers(const evContext_p *ctx) argument
460 evContext_p *ctx = uap; local
476 evContext_p *ctx = opaqueCtx.opaque; local
[all...]
/haiku/src/tests/system/network/tcptester/
H A Dtcptester.cpp33 static int process_command(context *ctx);
36 number(context *ctx) argument
40 while (isdigit(ctx->buffer[ctx->index])) {
42 result += ctx->buffer[ctx->index] - '0';
43 ctx->index++;
51 value(context *ctx) argument
53 if (ctx->buffer[ctx
72 repeat(context *ctx) argument
91 send_packet(context *ctx, size_t bytes) argument
112 process_command(context *ctx) argument
153 read_command(context *ctx) argument
175 context ctx = { *(int *)data, 0 }; local
[all...]
/haiku/src/add-ons/accelerants/radeon_hd/atombios/
H A Datom-bits.h32 #define U8(ptr) get_u8(ctx->ctx->bios,(ptr))
33 #define CU8(ptr) get_u8(ctx->bios,(ptr))
38 #define U16(ptr) get_u16(ctx->ctx->bios,(ptr))
39 #define CU16(ptr) get_u16(ctx->bios,(ptr))
44 #define U32(ptr) get_u32(ctx->ctx->bios,(ptr))
45 #define CU32(ptr) get_u32(ctx->bios,(ptr))
46 #define CSTR(ptr) (((char *)(ctx
[all...]
H A Datom.cpp75 atom_context *ctx; member in struct:__anon424
87 status_t atom_execute_table_locked(atom_context *ctx,
89 status_t atom_execute_table(atom_context *ctx, int index, uint32 *params);
110 atom_iio_execute(atom_context *ctx, int base, uint32 index, uint32 data) argument
119 temp = ctx->card->ioreg_read(CU16(base + 1));
123 (void)ctx->card->reg_read(CU16(base + 1));
124 ctx->card->ioreg_write(CU16(base + 1), temp);
149 temp |= ((ctx->io_attr >> CU8(base + 2))
163 atom_get_src_int(atom_exec_context *ctx, uint8 attr, int *ptr, argument
167 atom_context *gctx = ctx
299 atom_skip_src_int(atom_exec_context *ctx, uint8 attr, int *ptr) argument
337 atom_get_src(atom_exec_context *ctx, uint8 attr, int *ptr) argument
344 atom_get_src_direct(atom_exec_context *ctx, uint8_t align, int *ptr) argument
372 atom_get_dst(atom_exec_context *ctx, int arg, uint8 attr, int *ptr, uint32 *saved, int print) argument
381 atom_skip_dst(atom_exec_context *ctx, int arg, uint8 attr, int *ptr) argument
389 atom_put_dst(atom_exec_context *ctx, int arg, uint8 attr, int *ptr, uint32 val, uint32 saved) argument
496 atom_op_add(atom_exec_context *ctx, int *ptr, int arg) argument
513 atom_op_and(atom_exec_context *ctx, int *ptr, int arg) argument
530 atom_op_beep(atom_exec_context *ctx, int *ptr, int arg) argument
537 atom_op_calltable(atom_exec_context *ctx, int *ptr, int arg) argument
559 atom_op_clear(atom_exec_context *ctx, int *ptr, int arg) argument
573 atom_op_compare(atom_exec_context *ctx, int *ptr, int arg) argument
587 atom_op_delay(atom_exec_context *ctx, int *ptr, int arg) argument
603 atom_op_div(atom_exec_context *ctx, int *ptr, int arg) argument
625 atom_op_div32(atom_exec_context *ctx, int *ptr, int arg) argument
653 atom_op_eot(atom_exec_context *ctx, int *ptr, int arg) argument
660 atom_op_jump(atom_exec_context *ctx, int *ptr, int arg) argument
712 atom_op_mask(atom_exec_context *ctx, int *ptr, int arg) argument
729 atom_op_move(atom_exec_context *ctx, int *ptr, int arg) argument
748 atom_op_mul(atom_exec_context *ctx, int *ptr, int arg) argument
761 atom_op_mul32(atom_exec_context *ctx, int *ptr, int arg) argument
782 atom_op_nop(atom_exec_context *ctx, int *ptr, int arg) argument
789 atom_op_or(atom_exec_context *ctx, int *ptr, int arg) argument
806 atom_op_postcard(atom_exec_context *ctx, int *ptr, int arg) argument
815 atom_op_repeat(atom_exec_context *ctx, int *ptr, int arg) argument
822 atom_op_restorereg(atom_exec_context *ctx, int *ptr, int arg) argument
829 atom_op_savereg(atom_exec_context *ctx, int *ptr, int arg) argument
836 atom_op_setdatablock(atom_exec_context *ctx, int *ptr, int arg) argument
851 atom_op_setfbbase(atom_exec_context *ctx, int *ptr, int arg) argument
860 atom_op_setport(atom_exec_context *ctx, int *ptr, int arg) argument
890 atom_op_setregblock(atom_exec_context *ctx, int *ptr, int arg) argument
897 atom_op_shift_left(atom_exec_context *ctx, int *ptr, int arg) argument
915 atom_op_shift_right(atom_exec_context *ctx, int *ptr, int arg) argument
933 atom_op_shl(atom_exec_context *ctx, int *ptr, int arg) argument
954 atom_op_shr(atom_exec_context *ctx, int *ptr, int arg) argument
976 atom_op_sub(atom_exec_context *ctx, int *ptr, int arg) argument
993 atom_op_switch(atom_exec_context *ctx, int *ptr, int arg) argument
1019 atom_op_test(atom_exec_context *ctx, int *ptr, int arg) argument
1033 atom_op_xor(atom_exec_context *ctx, int *ptr, int arg) argument
1050 atom_op_debug(atom_exec_context *ctx, int *ptr, int arg) argument
1060 atom_op_processds(atom_exec_context *ctx, int *ptr, int arg) argument
1203 atom_execute_table_locked(atom_context *ctx, int index, uint32 * params) argument
1269 atom_execute_table(atom_context *ctx, int index, uint32 *params) argument
1308 atom_index_iio(atom_context *ctx, int base) argument
1324 atom_context *ctx = (atom_context*)malloc(sizeof(atom_context)); local
1380 atom_asic_init(atom_context *ctx) argument
1399 atom_destroy(atom_context *ctx) argument
1412 atom_parse_data_header(atom_context *ctx, int index, uint16 *size, uint8 *frev, uint8 *crev, uint16 *data_start) argument
1434 atom_parse_cmd_header(atom_context *ctx, int index, uint8 * frev, uint8 * crev) argument
1453 atom_allocate_fb_scratch(atom_context *ctx) argument
[all...]
/haiku/src/libs/compat/freebsd_wlan/crypto/rijndael/
H A Drijndael-api.c40 rijndael_set_key(rijndael_ctx *ctx, const u_char *key, int bits) argument
43 ctx->Nr = rijndaelKeySetupEnc(ctx->ek, key, bits);
44 rijndaelKeySetupDec(ctx->dk, key, bits);
48 rijndael_decrypt(const rijndael_ctx *ctx, const u_char *src, u_char *dst) argument
51 rijndaelDecrypt(ctx->dk, ctx->Nr, src, dst);
55 rijndael_encrypt(const rijndael_ctx *ctx, const u_char *src, u_char *dst) argument
58 rijndaelEncrypt(ctx->ek, ctx
[all...]
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/
H A Dfuse_opt.c97 static int next_arg(struct fuse_opt_context *ctx, const char *opt) argument
99 if (ctx->argctr + 1 >= ctx->argc) {
103 ctx->argctr++;
107 static int add_arg(struct fuse_opt_context *ctx, const char *arg) argument
109 return fuse_opt_add_arg(&ctx->outargs, arg);
132 static int add_opt(struct fuse_opt_context *ctx, const char *opt) argument
134 return fuse_opt_add_opt(&ctx->opts, opt);
137 static int call_proc(struct fuse_opt_context *ctx, const char *arg, int key, argument
143 if (key != FUSE_OPT_KEY_KEEP && ctx
209 process_opt(struct fuse_opt_context *ctx, const struct fuse_opt *opt, unsigned sep, const char *arg, int iso) argument
231 process_opt_sep_arg(struct fuse_opt_context *ctx, const struct fuse_opt *opt, unsigned sep, const char *arg, int iso) argument
255 process_gopt(struct fuse_opt_context *ctx, const char *arg, int iso) argument
275 process_real_option_group(struct fuse_opt_context *ctx, char *opts) argument
293 process_option_group(struct fuse_opt_context *ctx, const char *opts) argument
311 process_one(struct fuse_opt_context *ctx, const char *arg) argument
334 opt_parse(struct fuse_opt_context *ctx) argument
362 struct fuse_opt_context ctx = { local
[all...]
/haiku/src/kits/network/libnetapi/
H A Dmd5.h39 extern void MD5_Init(MD5_CTX *ctx);
40 extern void MD5_Update(MD5_CTX *ctx, void *data, unsigned long size);
41 extern void MD5_Final(unsigned char *result, MD5_CTX *ctx);
H A Dmd5.c79 (ctx->block[(n)] = \
85 (ctx->block[(n)])
92 static void *body(MD5_CTX *ctx, void *data, unsigned long size) argument
100 a = ctx->a;
101 b = ctx->b;
102 c = ctx->c;
103 d = ctx->d;
191 ctx->a = a;
192 ctx->b = b;
193 ctx
199 MD5_Init(MD5_CTX *ctx) argument
210 MD5_Update(MD5_CTX *ctx, void *data, unsigned long size) argument
244 MD5_Final(unsigned char *result, MD5_CTX *ctx) argument
[all...]
/haiku/src/system/libroot/posix/stdlib/
H A Drand.c46 do_rand(unsigned long *ctx) argument
54 return ((*ctx = *ctx * 1103515245 + 12345) % ((u_long)RAND_MAX + 1));
67 if (*ctx == 0)
68 *ctx = 123459876;
69 hi = *ctx / 127773;
70 lo = *ctx % 127773;
74 return ((*ctx = x) % ((u_long)RAND_MAX + 1));
80 rand_r(unsigned int *ctx) argument
82 u_long val = (u_long) *ctx;
[all...]
/haiku/src/add-ons/kernel/file_systems/ntfs/utils/
H A Dutils.c443 * @ctx: A search context, created using ntfs_get_attr_search_ctx
454 ATTR_RECORD * find_attribute(const ATTR_TYPES type, ntfs_attr_search_ctx *ctx) argument
456 if (!ctx) {
461 if (ntfs_attr_lookup(type, NULL, 0, 0, 0, NULL, 0, ctx) != 0) {
467 return ctx->attr;
486 ntfs_attr_search_ctx *ctx; local
494 ctx = ntfs_attr_get_search_ctx(NULL, mft);
495 if (!ctx) {
500 rec = find_attribute(type, ctx);
501 ntfs_attr_put_search_ctx(ctx);
527 ntfs_attr_search_ctx *ctx; local
962 struct mft_search_ctx *ctx; local
980 mft_put_search_ctx(struct mft_search_ctx *ctx) argument
992 mft_next_record(struct mft_search_ctx *ctx) argument
[all...]
/haiku/src/libs/compat/freebsd_iflib/
H A Diflib.c234 iflib_get_softc(if_ctx_t ctx) argument
237 return (ctx->ifc_softc);
241 iflib_get_dev(if_ctx_t ctx) argument
244 return (ctx->ifc_dev);
248 iflib_get_ifp(if_ctx_t ctx) argument
251 return (ctx->ifc_ifp);
255 iflib_get_media(if_ctx_t ctx) argument
258 return (ctx->ifc_mediap);
262 iflib_get_flags(if_ctx_t ctx) argument
264 return (ctx
268 iflib_set_mac(if_ctx_t ctx, uint8_t mac[ETHER_ADDR_LEN]) argument
275 iflib_get_softc_ctx(if_ctx_t ctx) argument
282 iflib_get_sctx(if_ctx_t ctx) argument
570 iflib_set_detach(if_ctx_t ctx) argument
807 if_ctx_t ctx = ifp->if_softc; local
844 if_ctx_t ctx = rxq->ifr_ctx; local
951 if_ctx_t ctx = ifp->if_softc; local
1094 if_ctx_t ctx = ifp->if_softc; local
1177 if_ctx_t ctx = na->ifp->if_softc; local
1190 iflib_netmap_attach(if_ctx_t ctx) argument
1214 iflib_netmap_txq_init(if_ctx_t ctx, iflib_txq_t txq) argument
1238 iflib_netmap_rxq_init(if_ctx_t ctx, iflib_rxq_t rxq) argument
1253 iflib_netmap_timer_adjust(if_ctx_t ctx, iflib_txq_t txq, uint32_t *reset_on) argument
1330 iflib_dma_alloc_align(if_ctx_t ctx, int size, int align, iflib_dma_info_t dma, int mapflags) argument
1387 iflib_dma_alloc(if_ctx_t ctx, int size, iflib_dma_info_t dma, int mapflags) argument
1397 iflib_dma_alloc_multi(if_ctx_t ctx, int *sizes, iflib_dma_info_t *dmalist, int mapflags, int count) argument
1490 if_ctx_t ctx; local
1568 _iflib_irq_alloc(if_ctx_t ctx, if_irq_t irq, int rid, driver_filter_t filter, driver_intr_t handler, void *arg, const char *name) argument
1617 if_ctx_t ctx = txq->ift_ctx; local
1729 iflib_txsd_destroy(if_ctx_t ctx, iflib_txq_t txq, int i) argument
1758 if_ctx_t ctx = txq->ift_ctx; local
1786 iflib_txsd_free(if_ctx_t ctx, iflib_txq_t txq, int i) argument
1813 if_ctx_t ctx = txq->ift_ctx; local
1853 if_ctx_t ctx = rxq->ifr_ctx; local
1976 _iflib_fl_refill(if_ctx_t ctx, iflib_fl_t fl, int count) argument
2109 __iflib_fl_refill_lt(if_ctx_t ctx, iflib_fl_t fl, int max) argument
2125 iflib_in_detach(if_ctx_t ctx) argument
2203 if_ctx_t ctx = rxq->ifr_ctx; local
2292 if_ctx_t ctx = txq->ift_ctx; local
2342 iflib_calc_rx_mbuf_sz(if_ctx_t ctx) argument
2357 iflib_get_rx_mbuf_sz(if_ctx_t ctx) argument
2364 iflib_init_locked(if_ctx_t ctx) argument
2437 if_ctx_t ctx = if_getsoftc(ifp); local
2450 if_ctx_t ctx = if_getsoftc(ifp); local
2459 iflib_stop(if_ctx_t ctx) argument
2807 if_ctx_t ctx = rxq->ifr_ctx; local
3029 iflib_txd_db_check(if_ctx_t ctx, iflib_txq_t txq, int ring, qidx_t in_use) argument
3330 if_ctx_t ctx; local
3595 if_ctx_t ctx = txq->ift_ctx; local
3655 if_ctx_t ctx = txq->ift_ctx; local
3669 if_ctx_t ctx = txq->ift_ctx; local
3813 if_ctx_t ctx = txq->ift_ctx; local
3860 if_ctx_t ctx = rxq->ifr_ctx; local
3898 if_ctx_t ctx = context; local
3953 if_ctx_t ctx = context; local
3969 if_ctx_t ctx; local
3988 iflib_if_init_locked(if_ctx_t ctx) argument
3998 if_ctx_t ctx = arg; local
4008 if_ctx_t ctx = if_getsoftc(ifp); local
4141 if_ctx_t ctx = if_getsoftc(ifp); local
4171 if_ctx_t ctx = if_getsoftc(ifp); local
4352 if_ctx_t ctx = if_getsoftc(ifp); local
4366 if_ctx_t ctx = if_getsoftc(ifp); local
4385 if_ctx_t ctx = if_getsoftc(ifp); local
4404 if_ctx_t ctx = arg; local
4478 iflib_reset_qvalues(if_ctx_t ctx) argument
4542 iflib_add_pfil(if_ctx_t ctx) argument
4563 iflib_rem_pfil(if_ctx_t ctx) argument
4580 get_ctx_core_offset(if_ctx_t ctx) argument
4629 unref_ctx_core_offset(if_ctx_t ctx) argument
4653 if_ctx_t ctx; local
4923 if_ctx_t ctx; local
5115 iflib_pseudo_deregister(if_ctx_t ctx) argument
5159 if_ctx_t ctx; local
5171 iflib_device_deregister(if_ctx_t ctx) argument
5254 iflib_free_intr_mem(if_ctx_t ctx) argument
5273 if_ctx_t ctx = device_get_softc(dev); local
5281 if_ctx_t ctx = device_get_softc(dev); local
5292 if_ctx_t ctx = device_get_softc(dev); local
5305 if_ctx_t ctx = device_get_softc(dev); local
5323 if_ctx_t ctx = device_get_softc(dev); local
5335 if_ctx_t ctx = device_get_softc(dev); local
5346 if_ctx_t ctx = device_get_softc(dev); local
5445 iflib_register(if_ctx_t ctx) argument
5503 iflib_deregister(if_ctx_t ctx) argument
5535 iflib_queues_alloc(if_ctx_t ctx) argument
5755 iflib_tx_structures_setup(if_ctx_t ctx) argument
5767 iflib_tx_structures_free(if_ctx_t ctx) argument
5789 iflib_rx_structures_setup(if_ctx_t ctx) argument
5835 iflib_rx_structures_free(if_ctx_t ctx) argument
5852 iflib_qset_structures_setup(if_ctx_t ctx) argument
5872 iflib_irq_alloc(if_ctx_t ctx, if_irq_t irq, int rid, driver_filter_t filter, void *filter_arg, driver_intr_t handler, void *arg, const char *name) argument
5881 find_nth(if_ctx_t ctx, int qid) argument
5980 get_core_offset(if_ctx_t ctx, iflib_intr_type_t type, int qid) argument
6003 iflib_irq_set_affinity(if_ctx_t ctx, if_irq_t irq, iflib_intr_type_t type, int qid, struct grouptask *gtask, struct taskqgroup *tqg, void *uniq, const char *name) argument
6035 iflib_irq_alloc_generic(if_ctx_t ctx, if_irq_t irq, int rid, iflib_intr_type_t type, driver_filter_t *filter, void *filter_arg, int qid, const char *name) argument
6123 iflib_softirq_alloc_generic(if_ctx_t ctx, if_irq_t irq, iflib_intr_type_t type, void *arg, int qid, const char *name) argument
6166 iflib_irq_free(if_ctx_t ctx, if_irq_t irq) argument
6182 iflib_legacy_setup(if_ctx_t ctx, driver_filter_t filter, void *filter_arg, int *rid, const char *name) argument
6225 iflib_led_create(if_ctx_t ctx) argument
6233 iflib_tx_intr_deferred(if_ctx_t ctx, int txqid) argument
6240 iflib_rx_intr_deferred(if_ctx_t ctx, int rxqid) argument
6247 iflib_admin_intr_deferred(if_ctx_t ctx) argument
6260 iflib_iov_intr_deferred(if_ctx_t ctx) argument
6275 iflib_config_gtask_init(void *ctx, struct grouptask *gtask, gtask_fn_t *fn, const char *name) argument
6292 iflib_link_state_change(if_ctx_t ctx, int link_state, uint64_t baudrate) argument
6314 iflib_tx_credits_update(if_ctx_t ctx, iflib_txq_t txq) argument
6336 iflib_rxd_avail(if_ctx_t ctx, iflib_rxq_t rxq, qidx_t cidx, qidx_t budget) argument
6349 iflib_add_int_delay_sysctl(if_ctx_t ctx, const char *name, const char *description, if_int_delay_info_t info, int offset, int value) argument
6363 iflib_ctx_lock_get(if_ctx_t ctx) argument
6370 iflib_msix_init(if_ctx_t ctx) argument
6566 if_ctx_t ctx = (void *)arg1; local
6614 iflib_add_device_sysctl_pre(if_ctx_t ctx) argument
6671 iflib_add_device_sysctl_post(if_ctx_t ctx) argument
6825 iflib_request_reset(if_ctx_t ctx) argument
6864 if_ctx_t ctx; local
6877 if_ctx_t ctx; local
6907 if_ctx_t ctx; local
6926 if_ctx_t ctx; local
[all...]
/haiku/src/bin/network/ftpd/
H A Dmd5hl.c24 MD5End(MD5_CTX *ctx, char *buf) argument
34 MD5Final(digest, ctx);
53 MD5_CTX ctx; local
58 MD5Init(&ctx);
79 MD5Update(&ctx, buffer, i);
87 return (MD5End(&ctx, buf));
93 MD5_CTX ctx; local
95 MD5Init(&ctx);
96 MD5Update(&ctx,data,len);
97 return (MD5End(&ctx, bu
[all...]
/haiku/src/system/libnetwork/netresolv/irs/
H A Dhesiod.c108 struct hesiod_p *ctx; local
114 ctx = calloc(1, sizeof(struct hesiod_p));
115 if (ctx) {
116 *context = ctx;
129 if (read_config_file(ctx, configname) >= 0) {
141 if (ctx->rhs)
142 free(ctx->rhs);
143 ctx->rhs = malloc(strlen(p) + 2);
144 if (ctx->rhs) {
145 *ctx
176 struct hesiod_p *ctx = (struct hesiod_p *) context; local
194 struct hesiod_p *ctx = (struct hesiod_p *) context; local
272 struct hesiod_p *ctx = (struct hesiod_p *) context; local
313 read_config_file(struct hesiod_p *ctx, const char *filename) argument
[all...]
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Defs.c133 ntfs_attr_search_ctx *ctx; local
144 ctx = ntfs_attr_get_search_ctx(ni, NULL);
145 if (!ctx) {
146 ntfs_log_error("Failed to get ctx for efs\n");
152 CASE_SENSITIVE, 0, NULL, 0, ctx)) {
154 a = ctx->attr;
155 na = ntfs_attr_open(ctx->ntfs_ino, AT_DATA,
162 if (na && !(ctx->attr->flags & ATTR_IS_ENCRYPTED)) {
164 && ntfs_attr_make_non_resident(na, ctx)) {
181 ntfs_attr_put_search_ctx(ctx);
317 ntfs_efs_fixup_attribute(ntfs_attr_search_ctx *ctx, ntfs_attr *na) argument
[all...]
H A Defs.h28 int ntfs_efs_fixup_attribute(ntfs_attr_search_ctx *ctx, ntfs_attr *na);
/haiku/src/system/libnetwork/netresolv/dst/
H A Dhmac_link.c94 MD5_CTX *ctx = NULL; local
100 ctx = (MD5_CTX *) malloc(sizeof(*ctx));
102 ctx = (MD5_CTX *) *context;
103 if (ctx == NULL)
109 MD5Init(ctx);
110 MD5Update(ctx, key->hk_ipad, HMAC_LEN);
114 MD5Update(ctx, data, len);
119 MD5Final(signature, ctx);
122 MD5Init(ctx);
162 MD5_CTX *ctx = NULL; local
224 MD5_CTX ctx; local
[all...]
/haiku/src/system/libroot/posix/glibc/include/arch/sparc/
H A Dfenv_private.h112 libc_feholdexcept_setround_sparc_ctx (struct rm_ctx *ctx, int round) argument
116 __fenv_stfsr(ctx->env);
117 new = ctx->env & ~((0x1f << 23) | FE_ALL_EXCEPT);
119 if (__glibc_unlikely (new != ctx->env))
122 ctx->updated_status = true;
125 ctx->updated_status = false;
129 libc_fesetenv_sparc_ctx (struct rm_ctx *ctx) argument
131 libc_fesetenv(&ctx->env);
135 libc_feupdateenv_sparc_ctx (struct rm_ctx *ctx) argument
137 if (__glibc_unlikely (ctx
142 libc_feholdsetround_sparc_ctx(struct rm_ctx *ctx, int round) argument
[all...]
/haiku/src/libs/compat/freebsd_network/compat/sys/
H A Dsysctl.h118 #define SYSCTL_ADD_OID(ctx, parent, nbr, name, kind, a1, a2, handler, fmt, descr) \
119 sysctl_add_oid(ctx, parent, nbr, name, kind, a1, a2, handler, fmt, \
122 #define SYSCTL_ADD_NODE(ctx, parent, nbr, name, access, handler, descr) \
123 sysctl_add_oid(ctx, parent, nbr, name, CTLTYPE_NODE|(access), \
126 #define SYSCTL_ADD_STRING(ctx, parent, nbr, name, access, arg, len, descr) \
127 sysctl_add_oid(ctx, parent, nbr, name, CTLTYPE_STRING|(access), \
130 #define SYSCTL_ADD_INT(ctx, parent, nbr, name, access, ptr, val, descr) \
131 sysctl_add_oid(ctx, parent, nbr, name, CTLTYPE_INT|(access), \
134 #define SYSCTL_ADD_UINT(ctx, parent, nbr, name, access, ptr, val, descr) \
135 sysctl_add_oid(ctx, paren
[all...]
/haiku/src/libs/compat/freebsd_iflib/compat/net/
H A Diflib_private.h64 int iflib_pseudo_deregister(if_ctx_t ctx);
66 uint32_t iflib_get_flags(if_ctx_t ctx);
67 void iflib_set_detach(if_ctx_t ctx);
68 void iflib_stop(if_ctx_t ctx);

Completed in 229 milliseconds

12345