Searched refs:ctx (Results 1 - 25 of 114) sorted by last modified time

12345

/haiku/src/libs/compat/freebsd_iflib/
H A Diflib.c162 static void iflib_tqg_detach(if_ctx_t ctx);
237 iflib_get_softc(if_ctx_t ctx) argument
240 return (ctx->ifc_softc);
244 iflib_get_dev(if_ctx_t ctx) argument
247 return (ctx->ifc_dev);
251 iflib_get_ifp(if_ctx_t ctx) argument
254 return (ctx->ifc_ifp);
258 iflib_get_media(if_ctx_t ctx) argument
261 return (ctx->ifc_mediap);
265 iflib_get_flags(if_ctx_t ctx) argument
271 iflib_set_mac(if_ctx_t ctx, uint8_t mac[ETHER_ADDR_LEN]) argument
278 iflib_get_softc_ctx(if_ctx_t ctx) argument
285 iflib_get_sctx(if_ctx_t ctx) argument
574 iflib_set_detach(if_ctx_t ctx) argument
772 iflib_num_rx_descs(if_ctx_t ctx) argument
782 iflib_num_tx_descs(if_ctx_t ctx) argument
835 if_ctx_t ctx = ifp->if_softc; local
871 if_ctx_t ctx = ifp->if_softc; local
895 if_ctx_t ctx = rxq->ifr_ctx; local
1034 if_ctx_t ctx = ifp->if_softc; local
1205 if_ctx_t ctx = ifp->if_softc; local
1324 if_ctx_t ctx = na->ifp->if_softc; local
1336 iflib_netmap_attach(if_ctx_t ctx) argument
1360 iflib_netmap_txq_init(if_ctx_t ctx, iflib_txq_t txq) argument
1384 iflib_netmap_rxq_init(if_ctx_t ctx, iflib_rxq_t rxq) argument
1402 if_ctx_t ctx = txq->ift_ctx; local
1465 iflib_dma_alloc_align(if_ctx_t ctx, int size, int align, iflib_dma_info_t dma, int mapflags) argument
1522 iflib_dma_alloc(if_ctx_t ctx, int size, iflib_dma_info_t dma, int mapflags) argument
1532 iflib_dma_alloc_multi(if_ctx_t ctx, int *sizes, iflib_dma_info_t *dmalist, int mapflags, int count) argument
1599 if_ctx_t ctx; local
1670 _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
1718 if_ctx_t ctx = txq->ift_ctx; local
1829 iflib_txsd_destroy(if_ctx_t ctx, iflib_txq_t txq, int i) argument
1854 if_ctx_t ctx = txq->ift_ctx; local
1892 iflib_txsd_free(if_ctx_t ctx, iflib_txq_t txq, int i) argument
1919 if_ctx_t ctx = txq->ift_ctx; local
1959 if_ctx_t ctx = rxq->ifr_ctx; local
2078 iflib_fl_refill(if_ctx_t ctx, iflib_fl_t fl, int count) argument
2224 iflib_fl_refill_all(if_ctx_t ctx, iflib_fl_t fl) argument
2251 iflib_in_detach(if_ctx_t ctx) argument
2324 if_ctx_t ctx = rxq->ifr_ctx; local
2430 if_ctx_t ctx = txq->ift_ctx; local
2490 iflib_calc_rx_mbuf_sz(if_ctx_t ctx) argument
2503 iflib_get_rx_mbuf_sz(if_ctx_t ctx) argument
2510 iflib_init_locked(if_ctx_t ctx) argument
2593 if_ctx_t ctx = if_getsoftc(ifp); local
2606 if_ctx_t ctx = if_getsoftc(ifp); local
2615 iflib_stop(if_ctx_t ctx) argument
2981 if_ctx_t ctx = rxq->ifr_ctx; local
3199 if_ctx_t ctx = txq->ift_ctx; local
3509 if_ctx_t ctx; local
3775 if_ctx_t ctx = txq->ift_ctx; local
3834 if_ctx_t ctx = txq->ift_ctx; local
3848 if_ctx_t ctx = txq->ift_ctx; local
4003 if_ctx_t ctx = txq->ift_ctx; local
4043 if_ctx_t ctx = rxq->ifr_ctx; local
4094 if_ctx_t ctx = context; local
4143 if_ctx_t ctx = context; local
4159 if_ctx_t ctx; local
4178 iflib_if_init_locked(if_ctx_t ctx) argument
4187 if_ctx_t ctx = arg; local
4197 if_ctx_t ctx = if_getsoftc(ifp); local
4330 if_ctx_t ctx = if_getsoftc(ifp); local
4359 if_ctx_t ctx = if_getsoftc(ifp); local
4542 if_ctx_t ctx = if_getsoftc(ifp); local
4556 if_ctx_t ctx = if_getsoftc(ifp); local
4581 if_ctx_t ctx = if_getsoftc(ifp); local
4603 if_ctx_t ctx = arg; local
4676 iflib_reset_qvalues(if_ctx_t ctx) argument
4740 iflib_add_pfil(if_ctx_t ctx) argument
4761 iflib_rem_pfil(if_ctx_t ctx) argument
4784 cpuid_advance(if_ctx_t ctx, unsigned int cpuid, unsigned int n) argument
4918 get_cpuid_for_queue(if_ctx_t ctx, unsigned int base_cpuid, unsigned int qid, bool is_tx) argument
4971 get_ctx_core_offset(if_ctx_t ctx) argument
5083 unref_ctx_core_offset(if_ctx_t ctx) argument
5107 if_ctx_t ctx; local
5370 if_ctx_t ctx; local
5569 iflib_pseudo_deregister(if_ctx_t ctx) argument
5602 if_ctx_t ctx; local
5614 iflib_device_deregister(if_ctx_t ctx) argument
5674 iflib_tqg_detach(if_ctx_t ctx) argument
5703 iflib_free_intr_mem(if_ctx_t ctx) argument
5722 if_ctx_t ctx = device_get_softc(dev); local
5730 if_ctx_t ctx = device_get_softc(dev); local
5741 if_ctx_t ctx = device_get_softc(dev); local
5753 if_ctx_t ctx = device_get_softc(dev); local
5770 if_ctx_t ctx = device_get_softc(dev); local
5782 if_ctx_t ctx = device_get_softc(dev); local
5793 if_ctx_t ctx = device_get_softc(dev); local
5892 iflib_register(if_ctx_t ctx) argument
5966 iflib_unregister_vlan_handlers(if_ctx_t ctx) argument
5981 iflib_deregister(if_ctx_t ctx) argument
6006 iflib_queues_alloc(if_ctx_t ctx) argument
6229 iflib_tx_structures_setup(if_ctx_t ctx) argument
6241 iflib_tx_structures_free(if_ctx_t ctx) argument
6262 iflib_rx_structures_setup(if_ctx_t ctx) argument
6308 iflib_rx_structures_free(if_ctx_t ctx) argument
6328 iflib_qset_structures_setup(if_ctx_t ctx) argument
6348 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
6357 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
6382 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
6470 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
6513 iflib_irq_free(if_ctx_t ctx, if_irq_t irq) argument
6529 iflib_legacy_setup(if_ctx_t ctx, driver_filter_t filter, void *filter_arg, int *rid, const char *name) argument
6573 iflib_led_create(if_ctx_t ctx) argument
6581 iflib_tx_intr_deferred(if_ctx_t ctx, int txqid) argument
6588 iflib_rx_intr_deferred(if_ctx_t ctx, int rxqid) argument
6595 iflib_admin_intr_deferred(if_ctx_t ctx) argument
6603 iflib_iov_intr_deferred(if_ctx_t ctx) argument
6618 iflib_config_gtask_init(void *ctx, struct grouptask *gtask, gtask_fn_t *fn, const char *name) argument
6635 iflib_link_state_change(if_ctx_t ctx, int link_state, uint64_t baudrate) argument
6656 iflib_tx_credits_update(if_ctx_t ctx, iflib_txq_t txq) argument
6678 iflib_rxd_avail(if_ctx_t ctx, iflib_rxq_t rxq, qidx_t cidx, qidx_t budget) argument
6691 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
6705 iflib_ctx_lock_get(if_ctx_t ctx) argument
6712 iflib_msix_init(if_ctx_t ctx) argument
6908 if_ctx_t ctx = (void *)arg1; local
6956 iflib_add_device_sysctl_pre(if_ctx_t ctx) argument
7016 iflib_add_device_sysctl_post(if_ctx_t ctx) argument
7179 iflib_request_reset(if_ctx_t ctx) argument
7218 if_ctx_t ctx; local
7231 if_ctx_t ctx; local
7261 if_ctx_t ctx; local
7281 if_ctx_t ctx; local
[all...]
/haiku/src/system/libnetwork/netresolv/resolv/
H A Dres_init.c713 MD5_CTX ctx; local
720 MD5_Init(&ctx);
721 MD5_Update(&ctx, rnd, 16);
722 MD5_Final(rnd, &ctx);
724 MD5Init(&ctx);
725 MD5Update(&ctx, rnd, 16);
726 MD5Final(rnd, &ctx);
/haiku/src/system/libnetwork/netresolv/net/
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/system/libnetwork/netresolv/isc/
H A Deventlib_p.h183 void *ctx; /* pointer to the evContext_p */ member in struct:__anon27
188 #define emulMaskInit(ctx, field, ev, lastnext) \
189 ctx->field.ctx = ctx; \
190 ctx->field.type = ev; \
191 ctx->field.result = lastnext;
263 void evPrintf(const evContext_p *ctx, int level, const char *fmt, ...)
267 extern int evPollfdRealloc(evContext_p *ctx, int pollfd_chunk_size, int fd);
278 evWait *evFreeWait(evContext_p *ctx, evWai
[all...]
H A Dev_timers.c160 evContext_p *ctx = opaqueCtx.opaque; local
162 return (ctx->lastEventTime);
193 evContext_p *ctx = opaqueCtx.opaque; local
196 evPrintf(ctx, 1,
197 "evSetTimer(ctx %p, func %p, uap %p, due %ld.%09ld, inter %ld.%09ld)\n",
198 ctx, func, uap,
230 if (heap_insert(ctx->timers, id) < 0)
237 if (ctx->debug > 7) {
238 evPrintf(ctx, 7, "timers after evSetTimer:\n");
239 (void) heap_for_each(ctx
247 evContext_p *ctx = opaqueCtx.opaque; local
283 evContext_p *ctx = opaqueCtx.opaque; local
310 evContext_p *ctx = opaqueCtx.opaque; local
369 evContext_p *ctx = opaqueCtx.opaque; local
407 evContext_p *ctx = opaqueCtx.opaque; local
423 evContext_p *ctx = opaqueCtx.opaque; local
435 evCreateTimers(const evContext_p *ctx) argument
443 evDestroyTimers(const evContext_p *ctx) argument
479 evContext_p *ctx = uap; local
495 evContext_p *ctx = opaqueCtx.opaque; local
[all...]
H A Dev_streams.c70 evContext_p *ctx = opaqueCtx.opaque; local
85 if (ctx->streams != NULL)
86 ctx->streams->prev = new;
88 new->next = ctx->streams;
89 ctx->streams = new;
104 evContext_p *ctx = opaqueCtx.opaque; local
119 if (ctx->streams != NULL)
120 ctx->streams->prev = new;
122 new->next = ctx->streams;
123 ctx
157 evContext_p *ctx = opaqueCtx.opaque; local
253 evContext_p *ctx = opaqueCtx.opaque; local
[all...]
/haiku/src/system/libnetwork/netresolv/dst/
H A Dhmac_link.c84 MD5_CTX *ctx = NULL; local
90 ctx = (MD5_CTX *) malloc(sizeof(*ctx));
92 ctx = (MD5_CTX *) *context;
93 if (ctx == NULL)
99 MD5Init(ctx);
100 MD5Update(ctx, key->hk_ipad, HMAC_LEN);
104 MD5Update(ctx, data, (unsigned int)len);
109 MD5Final(signature, ctx);
112 MD5Init(ctx);
152 MD5_CTX *ctx = NULL; local
214 MD5_CTX ctx; local
[all...]
/haiku/src/add-ons/kernel/file_systems/ntfs/
H A Dkernel_interface.cpp425 ntfs_haiku_get_close_state(struct lowntfs_context *ctx, u64 ino) argument
427 if (ctx->current_close_state_vnode != NULL)
431 if (get_vnode((fs_volume*)ctx->haiku_fs_volume, ino, (void**)&node) != B_OK)
433 ctx->current_close_state_vnode = node;
439 ntfs_haiku_put_close_state(struct lowntfs_context *ctx, u64 ino, u64 ghost) argument
441 vnode* node = (vnode*)ctx->current_close_state_vnode;
447 fs_volume* _volume = (fs_volume*)ctx->haiku_fs_volume;
453 ctx->current_close_state_vnode = NULL;
454 put_vnode((fs_volume*)ctx->haiku_fs_volume, node->inode);
/haiku/headers/private/kernel/arch/riscv64/
H A Darch_thread_types.h95 void save_fpu(fpu_context* ctx);
96 void restore_fpu(fpu_context* ctx);
/haiku/src/kits/network/libnetapi/
H A DSecureSocket.cpp88 static int VerifyCallback(int ok, X509_STORE_CTX* ctx);
221 BSecureSocket::Private::VerifyCallback(int ok, X509_STORE_CTX* ctx) argument
234 SSL* ssl = (SSL*)X509_STORE_CTX_get_ex_data(ctx,
241 X509* x509 = X509_STORE_CTX_get_current_cert(ctx);
248 int error = X509_STORE_CTX_get_error(ctx);
/haiku/src/bin/debug/strace/
H A Dstrace.cpp339 Context ctx(syscall, (char *)message.args, memoryReader,
370 handler->GetParameterValue(ctx, parameter,
371 ctx.GetValue(parameter));
394 Context ctx(syscall, (char *)message.args, memoryReader,
422 ::string value = handler->GetReturnValue(ctx, message.return_value);
440 handler->GetParameterValue(ctx, parameter,
441 ctx.GetValue(parameter));
/haiku/src/system/libroot/posix/stdlib/
H A Drandom.c195 good_rand(uint32_t ctx) argument
208 x = (ctx % 0x7ffffffe) + 1;
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dvolume.c259 ntfs_attr_search_ctx *ctx = NULL; local
285 ctx = ntfs_attr_get_search_ctx(vol->mft_ni, NULL);
286 if (!ctx)
291 ctx)) {
299 l = ntfs_get_attribute_value_length(ctx->attr);
310 l = ntfs_get_attribute_value(vol, ctx->attr, vol->mft_ni->attr_list);
338 ntfs_attr_reinit_search_ctx(ctx);
343 ctx)) {
346 a = ctx->attr;
402 ntfs_attr_put_search_ctx(ctx);
943 ntfs_attr_search_ctx *ctx = NULL; local
1742 ntfs_attr_search_ctx *ctx; local
[all...]
H A Dmft.c721 ntfs_attr_search_ctx *ctx; local
773 ctx = ntfs_attr_get_search_ctx(mftbmp_na->ni, NULL);
774 if (!ctx)
778 mftbmp_na->name_len, 0, rl[1].vcn, NULL, 0, ctx)) {
783 m = ctx->mrec;
784 a = ctx->attr;
836 ntfs_inode_mark_dirty(ctx->ntfs_ino);
837 ntfs_attr_reinit_search_ctx(ctx);
839 mftbmp_na->name_len, 0, 0, NULL, 0, ctx)) {
844 a = ctx
945 ntfs_attr_search_ctx *ctx; local
1043 ntfs_attr_search_ctx *ctx; local
1266 ntfs_attr_search_ctx *ctx; local
1370 ntfs_attr_search_ctx *ctx; local
[all...]
H A Dattrib.c413 ntfs_attr_search_ctx *ctx; local
444 ctx = ntfs_attr_get_search_ctx(ni, NULL);
445 if (!ctx)
448 if (ntfs_attr_lookup(type, name, name_len, 0, 0, NULL, 0, ctx))
451 a = ctx->attr;
568 ntfs_attr_put_search_ctx(ctx);
574 ntfs_attr_put_search_ctx(ctx);
614 ntfs_attr_search_ctx *ctx; local
623 ctx = ntfs_attr_get_search_ctx(na->ni, NULL);
624 if (!ctx)
663 ntfs_attr_search_ctx *ctx; local
753 ntfs_attr_search_ctx *ctx; local
1045 ntfs_attr_search_ctx *ctx; local
1855 ntfs_attr_search_ctx *ctx = NULL; local
2433 ntfs_attr_search_ctx *ctx = NULL; local
2825 ntfs_attr_find(const ATTR_TYPES type, const ntfschar *name, const u32 name_len, const IGNORE_CASE_BOOL ic, const u8 *val, const u32 val_len, ntfs_attr_search_ctx *ctx) argument
3063 ntfs_external_attr_find(ATTR_TYPES type, const ntfschar *name, const u32 name_len, const IGNORE_CASE_BOOL ic, const VCN lowest_vcn, const u8 *val, const u32 val_len, ntfs_attr_search_ctx *ctx) argument
3675 ntfs_attr_lookup(const ATTR_TYPES type, const ntfschar *name, const u32 name_len, const IGNORE_CASE_BOOL ic, const VCN lowest_vcn, const u8 *val, const u32 val_len, ntfs_attr_search_ctx *ctx) argument
3725 ntfs_attr_position(const ATTR_TYPES type, ntfs_attr_search_ctx *ctx) argument
3746 ntfs_attr_init_search_ctx(ntfs_attr_search_ctx *ctx, ntfs_inode *ni, MFT_RECORD *mrec) argument
3771 ntfs_attr_reinit_search_ctx(ntfs_attr_search_ctx *ctx) argument
3806 ntfs_attr_search_ctx *ctx; local
3825 ntfs_attr_put_search_ctx(ntfs_attr_search_ctx *ctx) argument
4101 ntfs_attr_search_ctx *ctx; local
4233 ntfs_attr_search_ctx *ctx; local
4368 ntfs_attr_record_rm(ntfs_attr_search_ctx *ctx) argument
4711 ntfs_attr_search_ctx *ctx; local
4743 ntfs_attr_search_ctx *ctx; local
4918 ntfs_attr_record_move_to(ntfs_attr_search_ctx *ctx, ntfs_inode *ni) argument
5013 ntfs_attr_record_move_away(ntfs_attr_search_ctx *ctx, int extra) argument
5105 ntfs_attr_make_non_resident(ntfs_attr *na, ntfs_attr_search_ctx *ctx) argument
5303 ntfs_attr_search_ctx *ctx; local
5608 ntfs_attr_make_resident(ntfs_attr *na, ntfs_attr_search_ctx *ctx) argument
5772 ntfs_attr_update_meta(ATTR_RECORD *a, ntfs_attr *na, MFT_RECORD *m, hole_type holes, ntfs_attr_search_ctx *ctx) argument
5903 ntfs_attr_search_ctx *ctx; local
6347 ntfs_attr_search_ctx *ctx; local
6505 ntfs_attr_search_ctx *ctx; local
7119 ntfs_attr_search_ctx *ctx; local
7145 ntfs_attr_search_ctx *ctx; local
[all...]
/haiku/src/add-ons/kernel/drivers/network/ether/intel22x/dev/igc/
H A Digc_txrx.c70 extern void igc_if_enable_intr(if_ctx_t ctx);
H A Dif_igc.h339 if_ctx_t ctx; member in struct:igc_adapter
H A Dif_igc.c77 static int igc_if_attach_pre(if_ctx_t ctx);
78 static int igc_if_attach_post(if_ctx_t ctx);
79 static int igc_if_detach(if_ctx_t ctx);
80 static int igc_if_shutdown(if_ctx_t ctx);
81 static int igc_if_suspend(if_ctx_t ctx);
82 static int igc_if_resume(if_ctx_t ctx);
84 static int igc_if_tx_queues_alloc(if_ctx_t ctx, caddr_t *vaddrs, uint64_t *paddrs, int ntxqs, int ntxqsets);
85 static int igc_if_rx_queues_alloc(if_ctx_t ctx, caddr_t *vaddrs, uint64_t *paddrs, int nrxqs, int nrxqsets);
86 static void igc_if_queues_free(if_ctx_t ctx);
89 static void igc_if_init(if_ctx_t ctx);
429 igc_set_num_queues(if_ctx_t ctx) argument
453 igc_if_attach_pre(if_ctx_t ctx) argument
672 igc_if_attach_post(if_ctx_t ctx) argument
718 igc_if_detach(if_ctx_t ctx) argument
739 igc_if_shutdown(if_ctx_t ctx) argument
748 igc_if_suspend(if_ctx_t ctx) argument
758 igc_if_resume(if_ctx_t ctx) argument
766 igc_if_mtu_set(if_ctx_t ctx, uint32_t mtu) argument
796 igc_if_init(if_ctx_t ctx) argument
872 if_ctx_t ctx = adapter->ctx; local
907 igc_if_rx_queue_intr_enable(if_ctx_t ctx, uint16_t rxqid) argument
917 igc_if_tx_queue_intr_enable(if_ctx_t ctx, uint16_t txqid) argument
972 if_ctx_t ctx = context; local
988 igc_if_media_status(if_ctx_t ctx, struct ifmediareq *ifmr) argument
1035 igc_if_media_change(if_ctx_t ctx) argument
1079 igc_if_set_promisc(if_ctx_t ctx, int flags) argument
1133 igc_if_multi_set(if_ctx_t ctx) argument
1177 igc_if_timer(if_ctx_t ctx, uint16_t qid) argument
1187 igc_if_update_admin_status(if_ctx_t ctx) argument
1235 igc_if_watchdog_reset(if_ctx_t ctx) argument
1253 igc_if_stop(if_ctx_t ctx) argument
1269 igc_identify_hardware(if_ctx_t ctx) argument
1294 igc_allocate_pci_resources(if_ctx_t ctx) argument
1323 igc_if_msix_intr_assign(if_ctx_t ctx, int msix) argument
1455 igc_free_pci_resources(if_ctx_t ctx) argument
1490 igc_setup_msix(if_ctx_t ctx) argument
1592 igc_reset(if_ctx_t ctx) argument
1763 igc_setup_interface(if_ctx_t ctx) argument
1795 igc_if_tx_queues_alloc(if_ctx_t ctx, caddr_t *vaddrs, uint64_t *paddrs, int ntxqs, int ntxqsets) argument
1844 igc_if_rx_queues_alloc(if_ctx_t ctx, caddr_t *vaddrs, uint64_t *paddrs, int nrxqs, int nrxqsets) argument
1886 igc_if_queues_free(if_ctx_t ctx) argument
1923 igc_initialize_transmit_unit(if_ctx_t ctx) argument
1990 igc_initialize_receive_unit(if_ctx_t ctx) argument
2126 igc_setup_vlan_hw_support(if_ctx_t ctx) argument
2148 igc_if_intr_enable(if_ctx_t ctx) argument
2166 igc_if_intr_disable(if_ctx_t ctx) argument
2233 igc_get_wakeup(if_ctx_t ctx) argument
2250 igc_enable_wakeup(if_ctx_t ctx) argument
2386 igc_if_get_counter(if_ctx_t ctx, ift_counter cnt) argument
2451 struct sysctl_ctx_list *ctx = device_get_sysctl_ctx(dev); local
2901 igc_if_debug(if_ctx_t ctx) argument
[all...]
/haiku/src/add-ons/kernel/file_systems/ntfs/utils/
H A Dutils.c450 * @ctx: A search context, created using ntfs_get_attr_search_ctx
461 ATTR_RECORD * find_attribute(const ATTR_TYPES type, ntfs_attr_search_ctx *ctx) argument
463 if (!ctx) {
468 if (ntfs_attr_lookup(type, NULL, 0, 0, 0, NULL, 0, ctx) != 0) {
474 return ctx->attr;
493 ntfs_attr_search_ctx *ctx; local
501 ctx = ntfs_attr_get_search_ctx(NULL, mft);
502 if (!ctx) {
507 rec = find_attribute(type, ctx);
508 ntfs_attr_put_search_ctx(ctx);
534 ntfs_attr_search_ctx *ctx; local
978 struct mft_search_ctx *ctx; local
996 mft_put_search_ctx(struct mft_search_ctx *ctx) argument
1008 mft_next_record(struct mft_search_ctx *ctx) argument
[all...]
/haiku/src/libs/compat/freebsd_iflib/compat/sys/
H A Dgtaskqueue.h84 void taskqgroup_config_gtask_init(void *ctx, struct grouptask *gtask,
/haiku/src/add-ons/kernel/drivers/network/ether/nforce/dev/nfe/
H A Dif_nfe.c1103 struct nfe_dmamap_arg ctx; local
1146 ctx.nfe_busaddr = 0;
1148 NFE_RX_RING_COUNT * descsize, nfe_dma_map_segs, &ctx, 0);
1153 ring->physaddr = ctx.nfe_busaddr;
1201 struct nfe_dmamap_arg ctx; local
1273 ctx.nfe_busaddr = 0;
1275 NFE_JUMBO_RX_RING_COUNT * descsize, nfe_dma_map_segs, &ctx, 0);
1281 ring->jphysaddr = ctx.nfe_busaddr;
1478 struct nfe_dmamap_arg ctx; local
1520 ctx
3072 struct nfe_dmamap_arg *ctx; local
3120 struct sysctl_ctx_list *ctx; local
[all...]
/haiku/src/libs/compat/openbsd_wlan/net80211/
H A Dieee80211_crypto_wep.c57 struct ieee80211_wep_ctx *ctx; local
59 ctx = malloc(sizeof(*ctx), M_DEVBUF, M_NOWAIT | M_ZERO);
60 if (ctx == NULL)
62 k->k_priv = ctx;
84 struct ieee80211_wep_ctx *ctx = k->k_priv; local
113 iv = (ctx->iv != 0) ? ctx->iv : arc4random();
117 ctx->iv = iv + 1;
127 rc4_keysetup(&ctx
203 struct ieee80211_wep_ctx *ctx = k->k_priv; local
[all...]
H A Dieee80211_crypto_bip.c58 struct ieee80211_bip_ctx *ctx; local
60 ctx = malloc(sizeof(*ctx), M_DEVBUF, M_NOWAIT | M_ZERO);
61 if (ctx == NULL)
63 AES_CMAC_SetKey(&ctx->cmac, k->k_key);
64 k->k_priv = ctx;
90 struct ieee80211_bip_ctx *ctx = k->k_priv; local
111 AES_CMAC_Init(&ctx->cmac);
112 AES_CMAC_Update(&ctx->cmac, (u_int8_t *)&aad, sizeof aad);
113 AES_CMAC_Update(&ctx
155 struct ieee80211_bip_ctx *ctx = k->k_priv; local
[all...]
H A Dieee80211_crypto_ccmp.c56 struct ieee80211_ccmp_ctx *ctx; local
58 ctx = malloc(sizeof(*ctx), M_DEVBUF, M_NOWAIT | M_ZERO);
59 if (ctx == NULL)
61 AES_Setkey(&ctx->aesctx, k->k_key, 16);
62 k->k_priv = ctx;
81 ieee80211_ccmp_phase1(AES_CTX *ctx, const struct ieee80211_frame *wh, argument
149 AES_Encrypt(ctx, b, b);
153 AES_Encrypt(ctx, b, b);
156 AES_Encrypt(ctx,
169 struct ieee80211_ccmp_ctx *ctx = k->k_priv; local
346 struct ieee80211_ccmp_ctx *ctx = k->k_priv; local
[all...]
H A Dieee80211_crypto_tkip.c71 struct ieee80211_tkip_ctx *ctx; local
73 ctx = malloc(sizeof(*ctx), M_DEVBUF, M_NOWAIT | M_ZERO);
74 if (ctx == NULL)
82 ctx->txmic = &k->k_key[16];
83 ctx->rxmic = &k->k_key[24];
87 ctx->rxmic = &k->k_key[16];
88 ctx->txmic = &k->k_key[24];
90 k->k_priv = ctx;
124 MICHAEL_CTX ctx; /* smal local
188 struct ieee80211_tkip_ctx *ctx = k->k_priv; local
356 struct ieee80211_tkip_ctx *ctx = k->k_priv; local
[all...]

Completed in 257 milliseconds

12345