Home
last modified time | relevance | path

Searched refs:work (Results 1 – 25 of 1163) sorted by relevance

12345678910>>...47

/freebsd-13.1/contrib/wpa/src/crypto/
H A Ddes-internal.c327 right ^= work; in desfunc()
331 right ^= work; in desfunc()
335 leftt ^= work; in desfunc()
339 leftt ^= work; in desfunc()
345 leftt ^= work; in desfunc()
346 right ^= work; in desfunc()
375 leftt ^= work; in desfunc()
437 u32 work[2]; in des_block_encrypt() local
448 u32 work[2]; in des_block_decrypt() local
471 u32 work[2]; in des3_encrypt() local
[all …]
/freebsd-13.1/sys/mips/cavium/octe/
H A Dethernet-rx.c93 if ((work->word2.snoip.err_code == 10) && (work->word1.s.len <= 64)) { in cvm_oct_check_rcv_error()
141 cvm_oct_free_work(work); in cvm_oct_check_rcv_error()
147 cvm_oct_free_work(work); in cvm_oct_check_rcv_error()
181 cvmx_wqe_t *work; in cvm_oct_tasklet_rx() local
186 work = NULL; in cvm_oct_tasklet_rx()
187 CVMX_PREFETCH(work, 0); in cvm_oct_tasklet_rx()
188 if (work == NULL) in cvm_oct_tasklet_rx()
220 m->m_data += (work->packet_ptr.s.back << 7) + (work->packet_ptr.s.addr & 0x7f); in cvm_oct_tasklet_rx()
227 cvm_oct_free_work(work); in cvm_oct_tasklet_rx()
289 if ((work->word2.s.not_IP || work->word2.s.IP_exc || work->word2.s.L4_error)) in cvm_oct_tasklet_rx()
[all …]
/freebsd-13.1/contrib/libarchive/libarchive/
H A Darchive_write_set_format_shar.c358 shar->work.length); in archive_write_shar_data_sed()
363 buf = shar->work.s + shar->work.length; in archive_write_shar_data_sed()
380 shar->work.length = buf - shar->work.s; in archive_write_shar_data_sed()
386 buf = shar->work.s; in archive_write_shar_data_sed()
390 shar->work.length = buf - shar->work.s; in archive_write_shar_data_sed()
423 buf = shar->work.s + shar->work.length; in _uuencode_line()
443 if ((buf - shar->work.s) > (ptrdiff_t)(shar->work.length + 62)) { in _uuencode_line()
448 shar->work.length = buf - shar->work.s; in _uuencode_line()
497 shar->work.length); in archive_write_shar_data_uuencode()
579 ret = __archive_write_output(a, shar->work.s, shar->work.length); in archive_write_shar_finish_entry()
[all …]
/freebsd-13.1/sys/compat/linuxkpi/common/src/
H A Dlinux_work.c101 wq = work->work_queue; in linux_work_exec_unblock()
154 work->work_queue = wq; in linux_queue_work_on()
271 struct work_struct *work; in linux_work_fn() local
279 work = context; in linux_work_fn()
280 wq = work->work_queue; in linux_work_fn()
283 exec.target = work; in linux_work_fn()
296 task->work = work; in linux_work_fn()
299 work->func(work); in linux_work_fn()
302 task->work = NULL; in linux_work_fn()
308 exec.target = work; in linux_work_fn()
[all …]
/freebsd-13.1/sys/contrib/octeon-sdk/
H A Dcvmx-wqe.h603 grp = work->word1.cn68xx.grp; in cvmx_wqe_get_grp()
605 grp = work->word1.cn38xx.grp; in cvmx_wqe_get_grp()
613 work->word1.cn68xx.grp = grp; in cvmx_wqe_set_grp()
615 work->word1.cn38xx.grp = grp; in cvmx_wqe_set_grp()
623 qos = work->word1.cn68xx.qos; in cvmx_wqe_get_qos()
625 qos = work->word1.cn38xx.qos; in cvmx_wqe_get_qos()
633 work->word1.cn68xx.qos = qos; in cvmx_wqe_set_qos()
635 work->word1.cn38xx.qos = qos; in cvmx_wqe_set_qos()
643 len = work->word1.cn68xx.len; in cvmx_wqe_get_len()
660 return work->word1.s.tag; in cvmx_wqe_get_tag()
[all …]
H A Dcvmx-helper-errata.c104 cvmx_wqe_t *work; in __cvmx_helper_errata_fix_ipd_ptr_alignment() local
206 work = cvmx_pow_work_request_sync(CVMX_POW_WAIT); in __cvmx_helper_errata_fix_ipd_ptr_alignment()
208 } while ((work == NULL) && (retry_cnt > 0)); in __cvmx_helper_errata_fix_ipd_ptr_alignment()
215 if (work) in __cvmx_helper_errata_fix_ipd_ptr_alignment()
216 cvmx_helper_free_packet_data(work); in __cvmx_helper_errata_fix_ipd_ptr_alignment()
258 int cvmx_helper_fix_ipd_packet_chain(cvmx_wqe_t *work) in cvmx_helper_fix_ipd_packet_chain() argument
260 uint64_t number_buffers = work->word2.s.bufs; in cvmx_helper_fix_ipd_packet_chain()
265 cvmx_buf_ptr_t buffer_ptr = work->packet_ptr; in cvmx_helper_fix_ipd_packet_chain()
275 work->packet_ptr = buffer_ptr; in cvmx_helper_fix_ipd_packet_chain()
H A Dcvmx-helper-util.h87 extern int cvmx_helper_dump_packet(cvmx_wqe_t *work);
268 static inline void cvmx_helper_free_packet_data(cvmx_wqe_t *work) in cvmx_helper_free_packet_data() argument
275 number_buffers = work->word2.s.bufs; in cvmx_helper_free_packet_data()
278 buffer_ptr = work->packet_ptr; in cvmx_helper_free_packet_data()
286 if (cvmx_ptr_to_phys(work) == start_of_buffer) in cvmx_helper_free_packet_data()
/freebsd-13.1/sys/compat/linuxkpi/common/include/linux/
H A Dworkqueue.h76 struct work_struct work; member
91 struct work_struct work; member
111 return (container_of(work, struct delayed_work, work)); in to_delayed_work()
116 (work)->func = (fn); \
119 TASK_INIT(&(work)->work_task, 0, linux_work_fn, (work)); \
126 INIT_WORK(work, fn)
202 #define flush_work(work) \ argument
203 linux_flush_work(work)
215 linux_work_pending(work)
217 #define work_busy(work) \ argument
[all …]
/freebsd-13.1/sys/ofed/drivers/infiniband/core/
H A Dib_roce_gid_mgmt.c314 kfree(work); in roce_gid_queue_scan_event_handler()
335 work = kmalloc(sizeof(*work), GFP_ATOMIC); in roce_gid_queue_scan_event()
336 if (!work) { in roce_gid_queue_scan_event()
346 queue_work(roce_gid_mgmt_wq, &work->work); in roce_gid_queue_scan_event()
357 kfree(work); in roce_gid_delete_all_event_handler()
365 work = kmalloc(sizeof(*work), GFP_ATOMIC); in roce_gid_delete_all_event()
366 if (!work) { in roce_gid_delete_all_event()
374 queue_work(roce_gid_mgmt_wq, &work->work); in roce_gid_delete_all_event()
433 if (!work) in roce_rescan_device()
437 INIT_WORK(&work->work, roce_rescan_device_handler); in roce_rescan_device()
[all …]
H A Dib_cm.c1708 cm_issue_rej(work->port, work->mad_recv_wc, in cm_match_req()
1725 cm_issue_rej(work->port, work->mad_recv_wc, in cm_match_req()
2143 cm_issue_rej(work->port, work->mad_recv_wc, in cm_rep_handler()
2426 cm_issue_drep(work->port, work->mad_recv_wc); in cm_dreq_handler()
3569 struct cm_work *work = container_of(_work, struct cm_work, work.work); in cm_work_handler() local
3632 work = kmalloc(sizeof *work, GFP_ATOMIC); in cm_establish()
3664 INIT_DELAYED_WORK(&work->work, cm_work_handler); in cm_establish()
3673 queue_delayed_work(cm.wq, &work->work, 0); in cm_establish()
3795 INIT_DELAYED_WORK(&work->work, cm_work_handler); in cm_recv_handler()
3803 queue_delayed_work(cm.wq, &work->work, 0); in cm_recv_handler()
[all …]
H A Dib_iwcm.c124 struct iwcm_work *work; in get_work() local
131 return work; in get_work()
136 list_add(&work->free_list, &work->cm_id->work_free_list); in put_work()
154 if (!work) { in alloc_work_entries()
160 put_work(work); in alloc_work_entries()
896 struct iwcm_work *work = container_of(_work, struct iwcm_work, work); in cm_work_handler() local
911 put_work(work); in cm_work_handler()
956 if (!work) { in cm_event_handler()
961 INIT_WORK(&work->work, cm_work_handler); in cm_event_handler()
970 put_work(work); in cm_event_handler()
[all …]
H A Dib_cq.c50 ib_cq_poll_work(struct work_struct *work) in ib_cq_poll_work() argument
53 struct ib_cq *cq = container_of(work, struct ib_cq, work); in ib_cq_poll_work()
79 queue_work(ib_comp_wq, &cq->work); in ib_cq_poll_work()
85 queue_work(ib_comp_wq, &cq->work); in ib_cq_completion_workqueue()
129 INIT_WORK(&cq->work, ib_cq_poll_work); in ib_alloc_cq()
151 flush_work(&cq->work); in ib_free_cq()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_mac.cpp140 void (^work)(void));
142 void (^work)(void));
158 GET_LSAN_BLOCK(work);
164 GET_LSAN_BLOCK(work);
169 void (^work)(void)) {
170 GET_LSAN_BLOCK(work);
175 void (^work)(void)) {
176 if (!work) {
180 GET_LSAN_BLOCK(work);
185 void (^work)(void)) {
[all …]
/freebsd-13.1/contrib/bsnmp/lib/
H A Dsnmpclient.c511 if (++work->iter >= work->descr->max_iter) { in table_check_response()
546 if (++work->iter >= work->descr->max_iter) { in table_check_cons()
607 work.pdu.bindings[work.pdu.nbindings - 1].var = in snmp_table_fetch()
641 work->callback(work->table, work->arg, -1); in table_cb()
653 work->callback(work->table, work->arg, -1); in table_cb()
663 table_init_pdu(work->descr, &work->pdu); in table_cb()
665 work->callback(work->table, work->arg, -1); in table_cb()
675 work->callback(work->table, work->arg, 0); in table_cb()
684 work->callback(work->table, work->arg, -1); in table_cb()
704 work->callback(work->table, work->arg, -1); in table_cb()
[all …]
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_mac.cpp242 void(^work)(void));
244 void(^work)(void));
250 #define GET_ASAN_BLOCK(work) \ argument
256 work(); \
260 dispatch_queue_t dq, void(^work)(void)) {
262 GET_ASAN_BLOCK(work);
269 GET_ASAN_BLOCK(work);
276 GET_ASAN_BLOCK(work);
282 if (!work) {
287 GET_ASAN_BLOCK(work);
[all …]
/freebsd-13.1/tests/sys/geom/class/gate/
H A Dggate_test.sh27 work=$(alloc_md)
36 echo "127.0.0.1 RW /dev/$work" > $CONF
48 checksum /dev/$src /dev/$work
71 echo src work >> ${PLAINFILES}
75 atf_check ggatel create -u $us work
84 checksum src work
106 work=$(alloc_md)
123 checksum /dev/$src /dev/$work
162 local src work
164 work=$2
[all …]
/freebsd-13.1/sys/contrib/zlib/
H A Dinftrees.c32 int ZLIB_INTERNAL inflate_table(type, lens, codes, table, bits, work) in inflate_table() argument
38 unsigned short FAR *work;
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[sym] >= match) {
222 here.op = (unsigned char)(extra[work[sym] - match]);
223 here.val = base[work[sym] - match];
254 len = lens[work[sym]];
/freebsd-13.1/contrib/atf/atf-sh/
H A Dtp_test.sh34 mkdir work
35 atf_check -s eq:0 -o empty -e empty cp "$(atf_get_srcdir)/misc_helpers" work
36 cat >work/subrs <<EOF
43 -o match:'This is a helper subroutine' -e ignore ./work/misc_helpers \
44 -s "$(pwd)"/work tp_srcdir
/freebsd-13.1/contrib/ntp/sntp/libopts/
H A DCOPYING.gplv384 To "modify" a work means to copy from or adapt all or part of the work
87 earlier work or a work "based on" the earlier work.
89 A "covered work" means either the unmodified Program or a work based
114 The "source code" for a work means the preferred form of the work
116 form of a work.
136 work) run the object code and to modify the work, including scripts to
152 same work.
191 modification of the work as a means of enforcing, against the work's
509 covered work in a country, or your recipient's use of the covered work
555 permission to link or combine any covered work with a work licensed
[all …]
/freebsd-13.1/contrib/bmake/unit-tests/
H A Dvarmod-to-separator.mk10 . warning Space as separator does not work.
15 . warning Comma as separator does not work.
20 . warning Chaining modifiers does not work.
26 . warning Colon as separator does not work.
33 . warning Colon as separator does not work.
45 . warning Colon as separator does not work.
52 . warning Colon as separator does not work.
59 . warning Colon followed by closing brace does not work.
64 . warning Empty separator before closing brace does not work.
69 . warning Separator followed by :S modifier does not work.
[all …]
/freebsd-13.1/crypto/openssh/
H A Dsmult_curve25519_ref.c124 static void mainloop(unsigned int work[64],const unsigned char e[32]) in mainloop()
145 for (j = 0;j < 32;++j) xzm1[j] = work[j]; in mainloop()
173 mult(xzn1b + 32,r,work); in mainloop()
177 for (j = 0;j < 64;++j) work[j] = xzm[j]; in mainloop()
251 unsigned int work[96]; in crypto_scalarmult_curve25519() local
258 for (i = 0;i < 32;++i) work[i] = p[i]; in crypto_scalarmult_curve25519()
259 mainloop(work,e); in crypto_scalarmult_curve25519()
260 recip(work + 32,work + 32); in crypto_scalarmult_curve25519()
261 mult(work + 64,work,work + 32); in crypto_scalarmult_curve25519()
262 freeze(work + 64); in crypto_scalarmult_curve25519()
[all …]
/freebsd-13.1/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-tsd.c128 tsd_hash_dtor(struct hlist_head *work) in tsd_hash_dtor() argument
132 while (!hlist_empty(work)) { in tsd_hash_dtor()
368 HLIST_HEAD(work); in tsd_hash_table_fini()
388 tsd_hash_dtor(&work); in tsd_hash_table_fini()
403 HLIST_HEAD(work); in tsd_remove_entry()
426 hlist_add_head(&entry->he_list, &work); in tsd_remove_entry()
444 tsd_hash_dtor(&work); in tsd_remove_entry()
590 HLIST_HEAD(work); in tsd_destroy()
637 tsd_hash_dtor(&work); in tsd_destroy()
653 HLIST_HEAD(work); in tsd_exit()
[all …]
/freebsd-13.1/contrib/dma/
H A DINSTALL17 * cc - gcc is known to work
18 * lex - flex is known to work
19 * yacc - bison is kjnown to work
20 * make - BSD make and GNU make is knwon to work
21 * sh - Need to be POSIX compliant, dash, bash known to work
22 * install - GNU and BSD versions known to work
/freebsd-13.1/contrib/dialog/
H A DCOPYING111 "work based on the library" and a "work that uses the library". The
130 Library" means either the Library or any derivative work under
136 "Source code" for a work means the preferred form of the work for
163 of it, thus forming a work based on the Library, and copy and
167 a) The modified work must itself be a software library.
190 These requirements apply to the modified work as a whole. If
243 work, in isolation, is not a derivative work of the Library, and
268 Any executables containing that work also fall under Section 6,
273 work containing portions of the Library, and distribute that work
286 a) Accompany the work with the complete corresponding
[all …]
/freebsd-13.1/sys/netinet/libalias/
H A Dalias_smedia.c424 char *work; in alias_pna_out() local
428 work = data; in alias_pna_out()
429 work += 5; in alias_pna_out()
430 while (work + 4 < data + dlen) { in alias_pna_out()
431 memcpy(&msg_id, work, 2); in alias_pna_out()
432 work += 2; in alias_pna_out()
433 memcpy(&msg_len, work, 2); in alias_pna_out()
434 work += 2; in alias_pna_out()
439 memcpy(&port, work, 2); in alias_pna_out()
449 memcpy(work, &alias_port, 2); in alias_pna_out()
[all …]

12345678910>>...47