Home
last modified time | relevance | path

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

12345678910>>...59

/src/contrib/wpa/src/crypto/
H A Ddes-internal.c320 u32 work, right, leftt; in desfunc() local
326 work = ((leftt >> 4) ^ right) & 0x0f0f0f0fL; in desfunc()
327 right ^= work; in desfunc()
328 leftt ^= (work << 4); in desfunc()
330 work = ((leftt >> 16) ^ right) & 0x0000ffffL; in desfunc()
331 right ^= work; in desfunc()
332 leftt ^= (work << 16); in desfunc()
334 work = ((right >> 2) ^ leftt) & 0x33333333L; in desfunc()
335 leftt ^= work; in desfunc()
336 right ^= (work << 2); in desfunc()
[all …]
/src/contrib/libarchive/libarchive/
H A Darchive_write_set_format_shar.c58 struct archive_string work; member
121 archive_string_init(&shar->work); in archive_write_set_format_shar()
168 archive_strcat(&shar->work, "#!/bin/sh\n"); in archive_write_shar_header()
169 archive_strcat(&shar->work, "# This is a shell archive\n"); in archive_write_shar_header()
209 archive_string_sprintf(&shar->work, "echo x %s\n", shar->quoted_name.s); in archive_write_shar_header()
228 archive_strcat(&shar->work, "mkdir -p "); in archive_write_shar_header()
229 shar_quote(&shar->work, p, 1); in archive_write_shar_header()
230 archive_strcat(&shar->work, in archive_write_shar_header()
241 archive_strcat(&shar->work, "mkdir -p "); in archive_write_shar_header()
242 shar_quote(&shar->work, p, 1); in archive_write_shar_header()
[all …]
/src/sys/compat/linuxkpi/common/src/
H A Dlinux_work.c93 linux_work_exec_unblock(struct work_struct *work) in linux_work_exec_unblock() argument
99 wq = work->work_queue; in linux_work_exec_unblock()
105 if (exec->target == work) { in linux_work_exec_unblock()
121 tq = dwork->work.work_queue->taskqueue; in linux_delayed_work_enqueue()
122 taskqueue_enqueue(tq, &dwork->work.work_task); in linux_delayed_work_enqueue()
132 struct work_struct *work) in linux_queue_work_on() argument
143 return (!work_pending(work)); in linux_queue_work_on()
145 switch (linux_update_state(&work->state, states)) { in linux_queue_work_on()
148 if (linux_work_exec_unblock(work) != 0) in linux_queue_work_on()
152 work->work_queue = wq; in linux_queue_work_on()
[all …]
/src/sys/compat/linuxkpi/common/include/linux/
H A Dworkqueue.h74 struct work_struct work; member
89 struct work_struct work; member
107 to_delayed_work(struct work_struct *work) in to_delayed_work() argument
109 return (container_of(work, struct delayed_work, work)); in to_delayed_work()
112 #define INIT_WORK(work, fn) \ argument
114 (work)->func = (fn); \
115 (work)->work_queue = NULL; \
116 atomic_set(&(work)->state, 0); \
117 TASK_INIT(&(work)->work_task, 0, linux_work_fn, (work)); \
121 INIT_WORK(&(_work)->work, (_fn))
[all …]
H A Dkthread.h45 typedef void (*kthread_work_func_t)(struct kthread_work *work);
122 kthread_init_work(struct kthread_work *work, kthread_work_func_t func) in kthread_init_work() argument
124 work->tq = NULL; in kthread_init_work()
125 work->func = func; in kthread_init_work()
126 TASK_INIT(&work->task, 0, lkpi_kthread_work_fn, work); in kthread_init_work()
130 kthread_queue_work(struct kthread_worker *worker, struct kthread_work *work) in kthread_queue_work() argument
134 error = taskqueue_enqueue_flags(worker->tq, &work->task, in kthread_queue_work()
137 work->tq = worker->tq; in kthread_queue_work()
142 kthread_cancel_work_sync(struct kthread_work *work) in kthread_cancel_work_sync() argument
146 if (work->tq != NULL && in kthread_cancel_work_sync()
[all …]
/src/sys/ofed/drivers/infiniband/core/
H A Dib_roce_gid_mgmt.c56 struct work_struct work; member
61 struct work_struct work; member
319 struct roce_netdev_event_work *work = in roce_gid_queue_scan_event_handler() local
320 container_of(_work, struct roce_netdev_event_work, work); in roce_gid_queue_scan_event_handler()
322 ib_enum_all_roce_netdevs(roce_gid_match_netdev, work->ndev, in roce_gid_queue_scan_event_handler()
325 dev_put(work->ndev); in roce_gid_queue_scan_event_handler()
326 kfree(work); in roce_gid_queue_scan_event_handler()
332 struct roce_netdev_event_work *work; in roce_gid_queue_scan_event() local
347 work = kmalloc(sizeof(*work), GFP_ATOMIC); in roce_gid_queue_scan_event()
348 if (!work) { in roce_gid_queue_scan_event()
[all …]
H A Dib_cm.c243 struct delayed_work work; member
254 struct cm_work work; /* Must be first. */ member
312 static void cm_work_handler(struct work_struct *work);
692 __be32 remote_id = timewait_info->work.remote_id; in cm_insert_remote_id()
698 if (be32_lt(remote_id, cur_timewait_info->work.remote_id)) in cm_insert_remote_id()
700 else if (be32_gt(remote_id, cur_timewait_info->work.remote_id)) in cm_insert_remote_id()
724 if (be32_lt(remote_id, timewait_info->work.remote_id)) in cm_find_remote_id()
726 else if (be32_gt(remote_id, timewait_info->work.remote_id)) in cm_find_remote_id()
849 struct cm_work *work; in cm_dequeue_work() local
854 work = list_entry(cm_id_priv->work_list.next, struct cm_work, list); in cm_dequeue_work()
[all …]
H A Dib_iwcm.c87 struct work_struct work; member
122 struct iwcm_work *work; in get_work() local
126 work = list_entry(cm_id_priv->work_free_list.next, struct iwcm_work, in get_work()
128 list_del_init(&work->free_list); in get_work()
129 return work; in get_work()
132 static void put_work(struct iwcm_work *work) in put_work() argument
134 list_add(&work->free_list, &work->cm_id->work_free_list); in put_work()
147 struct iwcm_work *work; in alloc_work_entries() local
151 work = kmalloc(sizeof(struct iwcm_work), GFP_KERNEL); in alloc_work_entries()
152 if (!work) { in alloc_work_entries()
[all …]
H A Dib_cq.c48 ib_cq_poll_work(struct work_struct *work) in ib_cq_poll_work() argument
51 struct ib_cq *cq = container_of(work, struct ib_cq, work); in ib_cq_poll_work()
77 queue_work(ib_comp_wq, &cq->work); in ib_cq_poll_work()
83 queue_work(ib_comp_wq, &cq->work); in ib_cq_completion_workqueue()
132 INIT_WORK(&cq->work, ib_cq_poll_work); in __ib_alloc_cq_user()
158 flush_work(&cq->work); in ib_free_cq_user()
/src/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_mac.cpp137 void dispatch_async(dispatch_queue_t dq, void (^work)(void));
139 void (^work)(void));
141 void (^work)(void));
143 void (^work)(void));
145 void (^work)(void));
148 # define GET_LSAN_BLOCK(work) \ argument
153 work(); \
156 INTERCEPTOR(void, dispatch_async, dispatch_queue_t dq, void (^work)(void)) {
157 GET_LSAN_BLOCK(work);
162 dispatch_queue_t dq, void (^work)(void)) {
[all …]
/src/contrib/bsnmp/lib/
H A Dsnmpclient.c106 struct work { struct
107 TAILQ_ENTRY(work) link;
110 TAILQ_HEAD(worklist, work); argument
145 table_free(struct tabwork *work, int all) in table_free() argument
147 struct work *w; in table_free()
152 while ((w = TAILQ_FIRST(&work->worklist)) != NULL) { in table_free()
153 TAILQ_REMOVE(&work->worklist, w, link); in table_free()
160 while ((e = TAILQ_FIRST(work->table)) != NULL) { in table_free()
161 for (i = 0; work->descr->entries[i].syntax != SNMP_SYNTAX_NULL; in table_free()
163 d = &work->descr->entries[i]; in table_free()
[all …]
/src/tests/sys/geom/class/gate/
H A Dggate_test.sh20 work=$(alloc_md)
21 atf_check -e ignore -o ignore dd if=/dev/random of=/dev/$work bs=1m count=1 conv=notrunc
23 echo "localhost RW /dev/$work" > $CONF
25 atf_check ggatec create -p $port -u $us localhost /dev/$work
59 work=$(alloc_md)
63 dd if=/dev/random of=/dev/$work bs=1m count=1 conv=notrunc
68 echo "127.0.0.1 RW /dev/$work" > $CONF
71 atf_check ggatec create -p $port -u $us 127.0.0.1 /dev/$work
80 checksum /dev/$src /dev/$work
103 echo src work >> ${PLAINFILES}
[all …]
/src/contrib/pam-krb5/tests/fakepam/
H A Dscript.c268 struct work *work; in run_script() local
288 work = parse_script(script, config); in run_script()
291 if (work->prompts != NULL) { in run_script()
293 conv.appdata_ptr = work->prompts; in run_script()
306 for (action = work->actions; action != NULL; action = action->next) { in run_script()
307 if (work->options[action->group].argv == NULL) in run_script()
310 opts = &work->options[action->group]; in run_script()
317 check_output(work->output, output); in run_script()
325 pam_end(pamh, work->end_flags); in run_script()
326 action = work->actions; in run_script()
[all …]
H A Dconfig.c474 parse_options(FILE *script, struct work *work, in parse_options() argument
495 split_options(token, &work->options[type], config); in parse_options()
736 struct work *
739 struct work *work; in parse_script() local
742 work = bmalloc(sizeof(struct work)); in parse_script()
743 memset(work, 0, sizeof(struct work)); in parse_script()
744 work->end_flags = PAM_SUCCESS; in parse_script()
750 parse_options(script, work, config); in parse_script()
752 work->actions = parse_run(script); in parse_script()
754 work->end_flags = parse_end(script); in parse_script()
[all …]
/src/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_mac.cpp245 void dispatch_async(dispatch_queue_t dq, void(^work)(void));
247 void(^work)(void));
249 void(^work)(void));
251 void(^work)(void));
252 void dispatch_source_set_event_handler(dispatch_source_t ds, void(^work)(void));
257 #define GET_ASAN_BLOCK(work) \ argument
263 work(); \
267 dispatch_queue_t dq, void(^work)(void)) {
269 GET_ASAN_BLOCK(work);
274 dispatch_group_t dg, dispatch_queue_t dq, void(^work)(void)) {
[all …]
/src/contrib/libpcap/doc/
H A DREADME.solaris.md10 * flex 2.6.4 and GNU Bison 3.8.2 work.
12 * GCC 14.2.0 and Clang 19.1.7 work.
16 * flex 2.6.4 and GNU Bison 3.8.2 work.
18 * GCC 11.2.0 and Clang 14.0.3 work.
22 * flex 2.6.4 and GNU Bison 3.7.6 work.
24 * GCC 7.5.0 and GCC 10.3.0 work, Clang 9.0.1 works.
40 * flex 2.6.4 and GNU Bison 3.8.2 work.
46 * flex 2.6.4 and GNU Bison 3.7.3 work.
52 * flex 2.6.4 and GNU Bison 3.7.1 work.
54 * Sun C 5.13, Sun C 5.14 and Sun C 5.15 work; GCC 5.5.0 and GCC 7.3.0 work.
[all …]
/src/contrib/ntp/sntp/libopts/
H A DCOPYING.gplv319 any other work released this way by its authors. You can apply it to
80 "The Program" refers to any copyrightable work licensed under this
84 To "modify" a work means to copy from or adapt all or part of the work
86 exact copy. The resulting work is called a "modified version" of the
87 earlier work or a work "based on" the earlier work.
89 A "covered work" means either the unmodified Program or a work based
92 To "propagate" a work means to do anything with it that, without
99 To "convey" a work means any kind of propagation that enables other
106 tells the user that there is no warranty for the work (except to the
108 work under this License, and how to view a copy of this License. If
[all …]
/src/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
/src/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 …]
/src/sys/contrib/zlib/
H A Dinftrees.c48 unsigned FAR *bits, unsigned short FAR *work) { in inflate_table() argument
156 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym; in inflate_table()
224 if (work[sym] + 1U < match) { in inflate_table()
226 here.val = work[sym]; in inflate_table()
228 else if (work[sym] >= match) { in inflate_table()
229 here.op = (unsigned char)(extra[work[sym] - match]); in inflate_table()
230 here.val = base[work[sym] - match]; in inflate_table()
261 len = lens[work[sym]]; in inflate_table()
330 unsigned short lens[288], work[288]; in buildtables() local
341 inflate_table(LENS, lens, 288, &(next), &(bits), work); in buildtables()
[all …]
/src/tools/test/stress2/misc/
H A Dsyzkaller48.sh60 mkdir $mntpoint/work
61 mycc -o $mntpoint/work/syzkaller48 -Wall -Wextra -O0 /tmp/syzkaller48.c || exit 1
64 touch $mntpoint/work/file0
65 rm $mntpoint/work/file0
70 (cd $mntpoint/work; ./syzkaller48)
74 ls -l $mntpoint/work
/src/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-tsd.c129 tsd_hash_dtor(struct hlist_head *work) in tsd_hash_dtor() argument
133 while (!hlist_empty(work)) { in tsd_hash_dtor()
134 entry = hlist_entry(work->first, tsd_hash_entry_t, he_list); in tsd_hash_dtor()
369 HLIST_HEAD(work); in tsd_hash_table_fini()
383 hlist_add_head(&entry->he_list, &work); in tsd_hash_table_fini()
389 tsd_hash_dtor(&work); in tsd_hash_table_fini()
404 HLIST_HEAD(work); in tsd_remove_entry()
427 hlist_add_head(&entry->he_list, &work); in tsd_remove_entry()
439 hlist_add_head(&pid_entry->he_list, &work); in tsd_remove_entry()
445 tsd_hash_dtor(&work); in tsd_remove_entry()
[all …]
/src/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
/src/crypto/krb5/src/appl/gss-sample/
H A Dgss-server.c643 struct _work_plan *work = (struct _work_plan *) param; in worker_bee() local
648 sign_server(work->s, work->server_creds, work->export); in worker_bee()
649 closesocket(work->s); in worker_bee()
650 free(work); in worker_bee()
771 struct _work_plan *work = malloc(sizeof(struct _work_plan)); in main() local
773 if (work == NULL) { in main()
779 if ((work->s = accept(stmp, NULL, 0)) < 0) { in main()
781 free(work); in main()
785 work->server_creds = server_creds; in main()
786 work->export = export; in main()
[all …]
/src/contrib/dialog/
H A DCOPYING75 combined work, a derivative of the original library. The ordinary
111 "work based on the library" and a "work that uses the library". The
128 The "Library", below, refers to any such software library or work
129 which has been distributed under these terms. A "work based on the
130 Library" means either the Library or any derivative work under
131 copyright law: that is to say, a work containing the Library or a
136 "Source code" for a work means the preferred form of the work for
145 such a program is covered only if its contents constitute a work based
163 of it, thus forming a work based on the Library, and copy and
164 distribute such modifications or work under the terms of Section 1
[all …]

12345678910>>...59