/freebsd/contrib/wpa/src/crypto/ |
H A D | des-internal.c | 320 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 …]
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_write_set_format_shar.c | 58 struct archive_string work; member 121 archive_string_init(&shar->work); in archive_write_set_format_shar() 166 archive_strcat(&shar->work, "#!/bin/sh\n"); in archive_write_shar_header() 167 archive_strcat(&shar->work, "# This is a shell archive\n"); in archive_write_shar_header() 207 archive_string_sprintf(&shar->work, "echo x %s\n", shar->quoted_name.s); in archive_write_shar_header() 226 archive_strcat(&shar->work, "mkdir -p "); in archive_write_shar_header() 227 shar_quote(&shar->work, p, 1); in archive_write_shar_header() 228 archive_strcat(&shar->work, in archive_write_shar_header() 239 archive_strcat(&shar->work, "mkdir -p "); in archive_write_shar_header() 240 shar_quote(&shar->work, p, 1); in archive_write_shar_header() [all …]
|
/freebsd/sys/compat/linuxkpi/common/src/ |
H A D | linux_work.c | 93 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 …]
|
/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | workqueue.h | 74 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 D | kthread.h | 45 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 …]
|
/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_roce_gid_mgmt.c | 56 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 D | ib_cm.c | 243 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 D | ib_iwcm.c | 87 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 D | ib_cq.c | 48 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()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/lsan/ |
H A D | lsan_mac.cpp | 137 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 …]
|
/freebsd/contrib/bsnmp/lib/ |
H A D | snmpclient.c | 106 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 …]
|
/freebsd/tests/sys/geom/class/gate/ |
H A D | ggate_test.sh | 20 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 …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_mac.cpp | 245 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 …]
|
/freebsd/contrib/libpcap/doc/ |
H A D | README.solaris.md | 10 * flex 2.6.4 and GNU Bison 3.8.2 work. 12 * GCC 11.2.0 and Clang 14.0.3 work. 16 * flex 2.6.4 and GNU Bison 3.7.6 work. 18 * GCC 7.5.0 and GCC 10.3.0 work, Clang 9.0.1 works. 35 * flex 2.6.4 and GNU Bison 3.7.3 work. 43 * flex 2.6.4 and GNU Bison 3.7.1 work. 45 * Sun C 5.13, Sun C 5.14 and Sun C 5.15 work; GCC 5.5.0 and GCC 7.3.0 work. 50 * flex 2.6.4 and GNU Bison 3.7.1 work. 56 * flex 2.5.35 and GNU Bison 3.0.2 work. 57 * CMake 2.8.9 does not work. [all …]
|
/freebsd/contrib/ntp/sntp/libopts/ |
H A D | COPYING.gplv3 | 19 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 …]
|
/freebsd/contrib/atf/atf-sh/ |
H A D | tp_test.sh | 34 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/sys/contrib/zlib/ |
H A D | inftrees.c | 34 unsigned FAR *bits, unsigned short FAR *work) { in inflate_table() argument 142 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym; in inflate_table() 178 base = extra = work; /* dummy value--not used */ in inflate_table() 212 if (work[sym] + 1U < match) { in inflate_table() 214 here.val = work[sym]; in inflate_table() 216 else if (work[sym] >= match) { in inflate_table() 217 here.op = (unsigned char)(extra[work[sym] - match]); in inflate_table() 218 here.val = base[work[sym] - match]; in inflate_table() 249 len = lens[work[sym]]; in inflate_table()
|
/freebsd/contrib/bmake/unit-tests/ |
H A D | varmod-to-separator.mk | 10 . 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/contrib/tcpdump/doc/ |
H A D | README.aix.md | 8 * CMake 3.16.0 does not work. 9 * GCC 8.3.0 and XL C 12.1.0.0 work. 10 * System m4 does not work, GNU m4 1.4.17 works. 15 * GCC 7.2.0 and XL C 13.1.3.6 work. 16 * System m4 does not work, GNU m4 1.4.17 works.
|
/freebsd/crypto/openssh/ |
H A D | smult_curve25519_ref.c | 124 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/tools/test/stress2/misc/ |
H A D | syzkaller48.sh | 60 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
|
/freebsd/sys/contrib/openzfs/module/os/linux/spl/ |
H A D | spl-tsd.c | 128 tsd_hash_dtor(struct hlist_head *work) in tsd_hash_dtor() argument 132 while (!hlist_empty(work)) { in tsd_hash_dtor() 133 entry = hlist_entry(work->first, tsd_hash_entry_t, he_list); in tsd_hash_dtor() 368 HLIST_HEAD(work); in tsd_hash_table_fini() 382 hlist_add_head(&entry->he_list, &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() 438 hlist_add_head(&pid_entry->he_list, &work); in tsd_remove_entry() 444 tsd_hash_dtor(&work); in tsd_remove_entry() [all …]
|
/freebsd/contrib/dma/ |
H A D | INSTALL | 17 * 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/contrib/dialog/ |
H A D | COPYING | 75 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 …]
|
/freebsd/sys/contrib/dev/rtw89/ |
H A D | coex.h | 268 void rtw89_btc_ntfy_eapol_packet_work(struct work_struct *work); 269 void rtw89_btc_ntfy_arp_packet_work(struct work_struct *work); 270 void rtw89_btc_ntfy_dhcp_packet_work(struct work_struct *work); 271 void rtw89_btc_ntfy_icmp_packet_work(struct work_struct *work); 282 void rtw89_coex_act1_work(struct work_struct *work); 283 void rtw89_coex_bt_devinfo_work(struct work_struct *work); 284 void rtw89_coex_rfk_chk_work(struct work_struct *work);
|