Searched refs:work (Results 26 - 50 of 270) sorted by relevance

1234567891011

/freebsd-11-stable/sys/ofed/drivers/infiniband/core/
H A Dib_cq.c50 ib_cq_poll_work(struct work_struct *work) argument
53 struct ib_cq *cq = container_of(work, struct ib_cq, work);
78 /* give other work structs a chance */
79 queue_work(ib_comp_wq, &cq->work);
85 queue_work(ib_comp_wq, &cq->work);
129 INIT_WORK(&cq->work, ib_cq_poll_work);
151 flush_work(&cq->work);
H A Dib_cm.c196 struct delayed_work work; member in struct:cm_work
207 struct cm_work work; /* Must be first. */ member in struct:cm_timewait_info
265 static void cm_work_handler(struct work_struct *work);
619 __be32 remote_id = timewait_info->work.remote_id;
625 if (be32_lt(remote_id, cur_timewait_info->work.remote_id))
627 else if (be32_gt(remote_id, cur_timewait_info->work.remote_id))
651 if (be32_lt(remote_id, timewait_info->work.remote_id))
653 else if (be32_gt(remote_id, timewait_info->work.remote_id))
776 struct cm_work *work; local
781 work
786 cm_free_work(struct cm_work *work) argument
895 struct cm_work *work; local
1427 cm_get_bth_pkey(struct cm_work *work) argument
1445 cm_format_req_event(struct cm_work *work, struct cm_id_private *cm_id_priv, struct ib_cm_id *listen_id) argument
1481 cm_process_work(struct cm_id_private *cm_id_priv, struct cm_work *work) argument
1560 cm_dup_req_handler(struct cm_work *work, struct cm_id_private *cm_id_priv) argument
1603 cm_match_req(struct cm_work *work, struct cm_id_private *cm_id_priv) argument
1685 cm_req_handler(struct cm_work *work) argument
1944 cm_format_rep_event(struct cm_work *work, enum ib_qp_type qp_type) argument
1965 cm_dup_rep_handler(struct cm_work *work) argument
2008 cm_rep_handler(struct cm_work *work) argument
2095 cm_establish_handler(struct cm_work *work) argument
2127 cm_rtu_handler(struct cm_work *work) argument
2317 cm_dreq_handler(struct cm_work *work) argument
2393 cm_drep_handler(struct cm_work *work) argument
2492 cm_format_rej_event(struct cm_work *work) argument
2539 cm_rej_handler(struct cm_work *work) argument
2697 cm_mra_handler(struct cm_work *work) argument
2879 cm_lap_handler(struct cm_work *work) argument
3026 cm_apr_handler(struct cm_work *work) argument
3069 cm_timewait_handler(struct cm_work *work) argument
3171 cm_format_sidr_req_event(struct cm_work *work, const struct cm_id_private *rx_cm_id, struct ib_cm_id *listen_id) argument
3190 cm_sidr_req_handler(struct cm_work *work) argument
3320 cm_format_sidr_rep_event(struct cm_work *work) argument
3336 cm_sidr_rep_handler(struct cm_work *work) argument
3459 struct cm_work *work = container_of(_work, struct cm_work, work.work); local
3513 struct cm_work *work; local
3626 struct cm_work *work; local
[all...]
H A Dib_iwcm.c68 struct work_struct work; member in struct:iwcm_work
96 * If work elements cannot be allocated for the new connect request cm_id,
103 struct iwcm_work *work; local
107 work = list_entry(cm_id_priv->work_free_list.next, struct iwcm_work,
109 list_del_init(&work->free_list);
110 return work;
113 static void put_work(struct iwcm_work *work) argument
115 list_add(&work->free_list, &work->cm_id->work_free_list);
128 struct iwcm_work *work; local
875 struct iwcm_work *work = container_of(_work, struct iwcm_work, work); local
926 struct iwcm_work *work; local
[all...]
H A Dib_umem.c234 static void ib_umem_account(struct work_struct *work) argument
236 struct ib_umem *umem = container_of(work, struct ib_umem, work);
284 INIT_WORK(&umem->work, ib_umem_account);
288 queue_work(ib_wq, &umem->work);
H A Dib_cma.c338 struct work_struct work; member in struct:cma_work
346 struct work_struct work; member in struct:cma_ndev_work
352 struct work_struct work; member in struct:iboe_mcast_work
2349 struct cma_work *work = context; local
2352 route = &work->id->id.route;
2358 work->old_state = RDMA_CM_ROUTE_QUERY;
2359 work->new_state = RDMA_CM_ADDR_RESOLVED;
2360 work->event.event = RDMA_CM_EVENT_ROUTE_ERROR;
2361 work->event.status = status;
2364 queue_work(cma_wq, &work
2367 cma_query_ib_route(struct rdma_id_private *id_priv, int timeout_ms, struct cma_work *work) argument
2416 struct cma_work *work = container_of(_work, struct cma_work, work); local
2439 struct cma_work *work; local
2499 struct cma_work *work; local
2539 struct cma_work *work; local
2775 struct cma_work *work; local
2806 struct cma_work *work; local
4001 iboe_mcast_work_handler(struct work_struct *work) argument
4045 struct iboe_mcast_work *work; local
[all...]
/freebsd-11-stable/sys/contrib/zlib/
H A Dinftrees.c23 whose indices are 0..2^bits-1. work is a writable array of at least
24 lens shorts, which is used as a work area. type is the type of code
32 int ZLIB_INTERNAL inflate_table(type, lens, codes, table, bits, work)
38 unsigned short FAR *work;
96 table. The sorted table is work[], with that space being provided by
147 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym;
183 base = extra = work; /* dummy value--not used */
217 if (work[sym] + 1U < match) {
219 here.val = work[sym];
221 else if (work[sy
[all...]
/freebsd-11-stable/sys/contrib/octeon-sdk/
H A Dcvmx-helper-util.h84 * @param work Work queue entry containing the packet to dump
87 extern int cvmx_helper_dump_packet(cvmx_wqe_t *work);
263 * Free the packet buffers contained in a work queue entry.
264 * The work queue entry is not freed.
266 * @param work Work queue entry with packet to free
268 static inline void cvmx_helper_free_packet_data(cvmx_wqe_t *work) argument
275 number_buffers = work->word2.s.bufs;
278 buffer_ptr = work->packet_ptr;
286 if (cvmx_ptr_to_phys(work) == start_of_buffer)
H A Dcvmx-helper-errata.c104 cvmx_wqe_t *work; local
206 work = cvmx_pow_work_request_sync(CVMX_POW_WAIT);
208 } while ((work == NULL) && (retry_cnt > 0));
215 if (work)
216 cvmx_helper_free_packet_data(work);
251 * - WORD3 in the work queue entry, and
255 * @param work Work queue entry to fix
258 int cvmx_helper_fix_ipd_packet_chain(cvmx_wqe_t *work) argument
260 uint64_t number_buffers = work->word2.s.bufs;
262 /* We only need to do this if the work ha
[all...]
H A Dcvmx-helper-util.c150 * @param work Work queue entry containing the packet to dump
153 int cvmx_helper_dump_packet(cvmx_wqe_t *work) argument
162 cvmx_dprintf("Packet Length: %u\n", cvmx_wqe_get_len(work));
163 cvmx_dprintf(" Input Port: %u\n", cvmx_wqe_get_port(work));
164 cvmx_dprintf(" QoS: %u\n", cvmx_wqe_get_qos(work));
165 cvmx_dprintf(" Buffers: %u\n", work->word2.s.bufs);
167 if (work->word2.s.bufs == 0)
174 buffer_ptr.s.addr = cvmx_ptr_to_phys(work->packet_data);
175 if (cvmx_likely(!work->word2.s.not_IP))
179 buffer_ptr.s.addr += (pip_ip_offset.s.offset<<3) - work
[all...]
H A Dcvmx-pip.h162 * This defines the err_code field errors in the work Q entry
278 uint64_t rs : 1; /**< Flag to store this packet in the work queue entry, if possible */
668 * @param work pointer to work queue entry
671 static inline int cvmx_pip_get_bsel_table_index(cvmx_wqe_t *work) argument
673 int bit = cvmx_wqe_get_port(work) & 0x3;
690 char *ptr = (char *)cvmx_phys_to_ptr(work->packet_ptr.s.addr);
738 static inline int cvmx_pip_get_bsel_qos(cvmx_wqe_t *work) argument
740 int index = cvmx_pip_get_bsel_table_index(work);
752 static inline int cvmx_pip_get_bsel_grp(cvmx_wqe_t *work) argument
766 cvmx_pip_get_bsel_tt(cvmx_wqe_t *work) argument
780 cvmx_pip_get_bsel_tag(cvmx_wqe_t *work) argument
[all...]
/freebsd-11-stable/usr.bin/drill/
H A DMakefile9 SRCS= drill.c drill_util.c error.c root.c work.c \
/freebsd-11-stable/sys/dev/mlx5/mlx5_en/
H A Dmlx5_en_dim.c60 mlx5e_dim_work(struct work_struct *work) argument
62 struct net_dim *dim = container_of(work, struct net_dim, work);
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_getrusage.c44 static void work(void);
60 work(void) function
147 work();
151 work();
190 work();
/freebsd-11-stable/crypto/openssh/
H A Dsmult_curve25519_ref.c124 static void mainloop(unsigned int work[64],const unsigned char e[32]) argument
145 for (j = 0;j < 32;++j) xzm1[j] = work[j];
173 mult(xzn1b + 32,r,work);
177 for (j = 0;j < 64;++j) work[j] = xzm[j];
251 unsigned int work[96]; local
258 for (i = 0;i < 32;++i) work[i] = p[i];
259 mainloop(work,e);
260 recip(work + 32,work + 32);
261 mult(work
[all...]
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/zmod/
H A Dinftrees.c25 whose indices are 0..2^bits-1. work is a writable array of at least
26 lens shorts, which is used as a work area. type is the type of code
34 int inflate_table(type, lens, codes, table, bits, work)
40 unsigned short FAR *work;
98 table. The sorted table is work[], with that space being provided by
149 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym;
186 base = extra = work; /* dummy value--not used */
221 if ((int)(work[sym]) < end) {
223 this.val = work[sym];
225 else if ((int)(work[sy
[all...]
H A Dinflate.h115 unsigned short work[288]; /* work area for code table building */ member in struct:inflate_state
/freebsd-11-stable/contrib/gcc/config/arm/
H A Dlib1funcs.asm325 work .req r4 @ XXXX is this safe ? label
548 @ Load the constant 0x10000000 into our work register.
549 mov work, #1
550 lsl work, #28
556 cmp divisor, work
564 @ Set work to 0x80000000
565 lsl work, #3
569 cmp divisor, work
587 lsr work, divisor, #1
588 cmp dividend, work
[all...]
/freebsd-11-stable/sys/dev/liquidio/base/
H A Dlio_response_manager.c68 TIMEOUT_TASK_INIT(ctq->tq, &ctq->work, 0, lio_poll_req_completion,
75 taskqueue_enqueue_timeout(ctq->tq, &ctq->work, lio_ms_to_ticks(50));
86 &oct->dma_comp_tq.work, NULL))
88 &oct->dma_comp_tq.work);
207 taskqueue_enqueue_timeout(ctq->tq, &ctq->work, lio_ms_to_ticks(50));
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DParallel.cpp50 Threads.emplace_back([=] { work(); });
55 work();
93 void work() { function in class:llvm::parallel::detail::__anon1991::ThreadPoolExecutor
/freebsd-11-stable/sys/netinet/libalias/
H A Dalias_smedia.c88 For this routine to work, the SETUP/200 must fit entirely
438 char *work; local
442 work = data;
443 work += 5;
444 while (work + 4 < data + dlen) {
445 memcpy(&msg_id, work, 2);
446 work += 2;
447 memcpy(&msg_len, work, 2);
448 work += 2;
454 memcpy(&port, work,
[all...]
/freebsd-11-stable/sys/mips/cavium/octe/
H A Dethernet-tx.c75 cvmx_wqe_t *work; local
148 work = NULL;
158 work = cvmx_fpa_alloc(CVMX_FPA_WQE_POOL);
159 if (work == NULL) {
166 gp = (uint64_t *)work;
184 hw_buffer.s.addr = cvmx_ptr_to_phys(work);
/freebsd-11-stable/usr.sbin/wlconfig/
H A Dwlconfig.c294 int work = 0; local
348 work = 1;
357 work = 1;
364 work = 1;
369 work = 1;
381 work = 1;
411 if (work) {
/freebsd-11-stable/sys/dev/mlx5/mlx5_core/
H A Dmlx5_health.c140 static void mlx5_trigger_cmd_completions(struct work_struct *work) argument
143 container_of(work, struct mlx5_core_dev, priv.health.work_cmd_completion);
282 * work queue to avoid racing with the real command
362 static void health_recover(struct work_struct *work) argument
372 dwork = container_of(work, struct delayed_work, work);
417 static void health_care(struct work_struct *work) argument
425 health = container_of(work, struct mlx5_core_health, work);
436 "Scheduling recovery work wit
541 health_watchdog(struct work_struct *work) argument
[all...]
/freebsd-11-stable/sys/dev/drm2/radeon/
H A Dradeon_display.c254 struct radeon_unpin_work *work = arg; local
258 r = radeon_bo_reserve(work->old_rbo, false);
260 r = radeon_bo_unpin(work->old_rbo);
264 radeon_bo_unreserve(work->old_rbo);
268 drm_gem_object_unreference_unlocked(&work->old_rbo->gem_base);
269 free(work, DRM_MEM_DRIVER);
275 struct radeon_unpin_work *work; local
283 work = radeon_crtc->unpin_work;
284 if (work == NULL ||
285 (work
360 struct radeon_unpin_work *work; local
[all...]
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors_libdispatch.cpp185 dispatch_function_t work) { \
186 SCOPED_TSAN_INTERCEPTOR(name, q, context, work); \
188 AllocContext(thr, pc, q, context, work); \
198 dispatch_function_t work) { \
199 SCOPED_TSAN_INTERCEPTOR(name, q, context, work); \
201 q, context, work, false, true, barrier, 0}; \
223 dispatch_queue_t queue, void *context, dispatch_function_t work)
241 dispatch_function_t work) {
242 SCOPED_TSAN_INTERCEPTOR(dispatch_after_f, when, queue, context, work);
244 work(contex
239 TSAN_INTERCEPTOR(void, dispatch_after_f, dispatch_time_t when, dispatch_queue_t queue, void *context, dispatch_function_t work) argument
340 TSAN_INTERCEPTOR(void, dispatch_group_async_f, dispatch_group_t group, dispatch_queue_t queue, void *context, dispatch_function_t work) argument
382 TSAN_INTERCEPTOR(void, dispatch_group_notify_f, dispatch_group_t group, dispatch_queue_t q, void *context, dispatch_function_t work) argument
[all...]

Completed in 711 milliseconds

1234567891011