/freebsd-10-stable/sys/ofed/include/linux/ |
H A D | workqueue.h | 55 struct work_struct work; member in struct:delayed_work 66 to_delayed_work(struct work_struct *work) argument 69 return container_of(work, struct delayed_work, work); 72 #define INIT_WORK(work, func) \ 74 (work)->fn = (func); \ 75 (work)->taskqueue = NULL; \ 76 TASK_INIT(&(work)->work_task, 0, linux_work_fn, (work)); \ 81 INIT_WORK(&(_work)->work, fun 96 queue_work(struct workqueue_struct *wq, struct work_struct *work) argument 107 queue_delayed_work(struct workqueue_struct *wq, struct delayed_work *work, unsigned long delay) argument 172 cancel_work_sync(struct work_struct *work) argument 184 cancel_delayed_work(struct delayed_work *work) argument 195 cancel_delayed_work_sync(struct delayed_work *work) argument [all...] |
/freebsd-10-stable/sys/kern/ |
H A D | genassym.sh | 11 work() function 65 work $1 3>"$outfile" >&3 3>&- 67 work $1
|
/freebsd-10-stable/sys/contrib/octeon-sdk/ |
H A D | cvmx-helper-errata.h | 76 * - WORD3 in the work queue entry, and 80 * @param work Work queue entry to fix 83 extern int cvmx_helper_fix_ipd_packet_chain(cvmx_wqe_t *work); 87 * 1 doesn't work properly. The following code disables 2nd order
|
H A D | cvmx-wqe.h | 44 * This header file defines the work queue entry (wqe) data structure. 74 * HW decode / err_code in work queue entry 132 /* lower err_code = first-level descriptor of the work */ 190 /* lower err_code = first-level descriptor of the work */ 249 /* lower err_code = first-level descriptor of the work */ 315 /* lower err_code = first-level descriptor of the work */ 370 /* lower err_code = first-level descriptor of the work */ 425 /* lower err_code = first-level descriptor of the work */ 444 * May be written/read by HW before the work queue 494 * the group that the work queu 578 cvmx_wqe_get_port(cvmx_wqe_t *work) argument 590 cvmx_wqe_set_port(cvmx_wqe_t *work, int port) argument 598 cvmx_wqe_get_grp(cvmx_wqe_t *work) argument 610 cvmx_wqe_set_grp(cvmx_wqe_t *work, int grp) argument 618 cvmx_wqe_get_qos(cvmx_wqe_t *work) argument 630 cvmx_wqe_set_qos(cvmx_wqe_t *work, int qos) argument 638 cvmx_wqe_get_len(cvmx_wqe_t *work) argument 650 cvmx_wqe_set_len(cvmx_wqe_t *work, int len) argument 658 cvmx_wqe_get_tag(cvmx_wqe_t *work) argument 663 cvmx_wqe_set_tag(cvmx_wqe_t *work, uint32_t tag) argument 668 cvmx_wqe_get_tt(cvmx_wqe_t *work) argument 673 cvmx_wqe_set_tt(cvmx_wqe_t *work, int tt) argument 687 cvmx_wqe_get_unused8(cvmx_wqe_t *work) argument 699 cvmx_wqe_set_unused8(cvmx_wqe_t *work, int v) argument [all...] |
H A D | cvmx-helper-util.h | 84 * @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)
|
/freebsd-10-stable/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-10-stable/sys/mips/cavium/octe/ |
H A D | ethernet-rx.c | 90 * @param work Work queue entry pointing to the packet. 93 static inline int cvm_oct_check_rcv_error(cvmx_wqe_t *work) argument 95 if ((work->word2.snoip.err_code == 10) && (work->word1.s.len <= 64)) { 100 if (USE_10MBPS_PREAMBLE_WORKAROUND && ((work->word2.snoip.err_code == 5) || (work->word2.snoip.err_code == 7))) { 107 int interface = cvmx_helper_get_interface_num(work->word1.cn38xx.ipprt); 108 int index = cvmx_helper_get_interface_index_num(work->word1.cn38xx.ipprt); 113 uint8_t *ptr = cvmx_phys_to_ptr(work->packet_ptr.s.addr); 116 while (i < work 186 cvmx_wqe_t *work; local [all...] |
/freebsd-10-stable/contrib/binutils/libiberty/ |
H A D | cplus-dem.c | 61 #define CURRENT_DEMANGLING_STYLE work->options 144 #define PRINT_ANSI_QUALIFIERS (work -> options & DMGL_ANSI) 145 #define PRINT_ARG_TYPES (work -> options & DMGL_PARAMS) 322 #define SCOPE_STRING(work) ((work->options & DMGL_JAVA) ? "." : "::") 348 demangle_template_template_parm (struct work_stuff *work, 352 demangle_template (struct work_stuff *work, const char **, string *, 640 struct work_stuff work[1]; local 646 memset ((char *) work, 0, sizeof (work)); 849 struct work_stuff work[1]; local 1011 internal_cplus_demangle(struct work_stuff *work, const char *mangled) argument 1076 squangle_mop_up(struct work_stuff *work) argument 1160 delete_non_B_K_work_stuff(struct work_stuff *work) argument 1193 delete_work_stuff(struct work_stuff *work) argument 1203 mop_up(struct work_stuff *work, string *declp, int success) argument 1255 demangle_signature(struct work_stuff *work, const char **mangled, string *declp) argument 1567 demangle_template_template_parm(struct work_stuff *work, const char **mangled, string *tname) argument 1629 demangle_expression(struct work_stuff *work, const char **mangled, string *s, type_kind_t tk) argument 1686 demangle_integral_value(struct work_stuff *work, const char **mangled, string *s) argument 1782 demangle_real_value(struct work_stuff *work, const char **mangled, string *s) argument 1823 demangle_template_value_parm(struct work_stuff *work, const char **mangled, string *s, type_kind_t tk) argument 1932 demangle_template(struct work_stuff *work, const char **mangled, string *tname, string *trawname, int is_type, int remember) argument 2143 arm_pt(struct work_stuff *work, const char *mangled, int n, const char **anchor, const char **args) argument 2197 demangle_arm_hp_template(struct work_stuff *work, const char **mangled, int n, string *declp) argument 2375 demangle_class_name(struct work_stuff *work, const char **mangled, string *declp) argument 2429 demangle_class(struct work_stuff *work, const char **mangled, string *declp) argument 2481 iterate_demangle_function(struct work_stuff *work, const char **mangled, string *declp, const char *scan) argument 2581 demangle_prefix(struct work_stuff *work, const char **mangled, string *declp) argument 2790 gnu_special(struct work_stuff *work, const char **mangled, string *declp) argument 2991 recursively_demangle(struct work_stuff *work, const char **mangled, string *result, int namelength) argument 3123 demangle_qualified(struct work_stuff *work, const char **mangled, string *result, int isfuncname, int append) argument 3382 do_type(struct work_stuff *work, const char **mangled, string *result) argument 3691 demangle_fund_type(struct work_stuff *work, const char **mangled, string *result) argument 3946 do_hpacc_template_literal(struct work_stuff *work, const char **mangled, string *result) argument 4019 do_arg(struct work_stuff *work, const char **mangled, string *result) argument 4082 remember_type(struct work_stuff *work, const char *start, int len) argument 4112 remember_Ktype(struct work_stuff *work, const char *start, int len) argument 4141 register_Btype(struct work_stuff *work) argument 4167 remember_Btype(struct work_stuff *work, const char *start, int len, int index) argument 4180 forget_B_and_K_types(struct work_stuff *work) argument 4207 forget_types(struct work_stuff *work) argument 4265 demangle_args(struct work_stuff *work, const char **mangled, string *declp) argument 4388 demangle_nested_args(struct work_stuff *work, const char **mangled, string *declp) argument 4425 demangle_function_name(struct work_stuff *work, const char **mangled, string *declp, const char *scan) argument [all...] |
H A D | sort.c | 47 void sort_pointers (size_t n, void **pointers, void **work) argument 123 work[--count[((digit_t *) pointerp)[j]]] = *pointerp; 128 pointers = work; 129 work = pointerp; 151 void **work; local 159 work = XNEWVEC (void*, k); 167 sort_pointers (k, pointers, work); 181 free (work);
|
/freebsd-10-stable/contrib/gcclibs/libiberty/ |
H A D | cplus-dem.c | 61 #define CURRENT_DEMANGLING_STYLE work->options 144 #define PRINT_ANSI_QUALIFIERS (work -> options & DMGL_ANSI) 145 #define PRINT_ARG_TYPES (work -> options & DMGL_PARAMS) 322 #define SCOPE_STRING(work) ((work->options & DMGL_JAVA) ? "." : "::") 348 demangle_template_template_parm (struct work_stuff *work, 352 demangle_template (struct work_stuff *work, const char **, string *, 640 struct work_stuff work[1]; local 646 memset ((char *) work, 0, sizeof (work)); 849 struct work_stuff work[1]; local 1011 internal_cplus_demangle(struct work_stuff *work, const char *mangled) argument 1076 squangle_mop_up(struct work_stuff *work) argument 1160 delete_non_B_K_work_stuff(struct work_stuff *work) argument 1193 delete_work_stuff(struct work_stuff *work) argument 1203 mop_up(struct work_stuff *work, string *declp, int success) argument 1255 demangle_signature(struct work_stuff *work, const char **mangled, string *declp) argument 1567 demangle_template_template_parm(struct work_stuff *work, const char **mangled, string *tname) argument 1629 demangle_expression(struct work_stuff *work, const char **mangled, string *s, type_kind_t tk) argument 1686 demangle_integral_value(struct work_stuff *work, const char **mangled, string *s) argument 1782 demangle_real_value(struct work_stuff *work, const char **mangled, string *s) argument 1823 demangle_template_value_parm(struct work_stuff *work, const char **mangled, string *s, type_kind_t tk) argument 1932 demangle_template(struct work_stuff *work, const char **mangled, string *tname, string *trawname, int is_type, int remember) argument 2143 arm_pt(struct work_stuff *work, const char *mangled, int n, const char **anchor, const char **args) argument 2197 demangle_arm_hp_template(struct work_stuff *work, const char **mangled, int n, string *declp) argument 2375 demangle_class_name(struct work_stuff *work, const char **mangled, string *declp) argument 2429 demangle_class(struct work_stuff *work, const char **mangled, string *declp) argument 2481 iterate_demangle_function(struct work_stuff *work, const char **mangled, string *declp, const char *scan) argument 2581 demangle_prefix(struct work_stuff *work, const char **mangled, string *declp) argument 2790 gnu_special(struct work_stuff *work, const char **mangled, string *declp) argument 2991 recursively_demangle(struct work_stuff *work, const char **mangled, string *result, int namelength) argument 3123 demangle_qualified(struct work_stuff *work, const char **mangled, string *result, int isfuncname, int append) argument 3382 do_type(struct work_stuff *work, const char **mangled, string *result) argument 3691 demangle_fund_type(struct work_stuff *work, const char **mangled, string *result) argument 3946 do_hpacc_template_literal(struct work_stuff *work, const char **mangled, string *result) argument 4019 do_arg(struct work_stuff *work, const char **mangled, string *result) argument 4082 remember_type(struct work_stuff *work, const char *start, int len) argument 4112 remember_Ktype(struct work_stuff *work, const char *start, int len) argument 4141 register_Btype(struct work_stuff *work) argument 4167 remember_Btype(struct work_stuff *work, const char *start, int len, int index) argument 4180 forget_B_and_K_types(struct work_stuff *work) argument 4207 forget_types(struct work_stuff *work) argument 4265 demangle_args(struct work_stuff *work, const char **mangled, string *declp) argument 4388 demangle_nested_args(struct work_stuff *work, const char **mangled, string *declp) argument 4425 demangle_function_name(struct work_stuff *work, const char **mangled, string *declp, const char *scan) argument [all...] |
H A D | sort.c | 47 void sort_pointers (size_t n, void **pointers, void **work) argument 123 work[--count[((digit_t *) pointerp)[j]]] = *pointerp; 128 pointers = work; 129 work = pointerp; 151 void **work; local 159 work = XNEWVEC (void*, k); 167 sort_pointers (k, pointers, work); 181 free (work);
|
/freebsd-10-stable/contrib/wpa/src/crypto/ |
H A D | des-internal.c | 320 u32 work, right, leftt; local 326 work = ((leftt >> 4) ^ right) & 0x0f0f0f0fL; 327 right ^= work; 328 leftt ^= (work << 4); 330 work = ((leftt >> 16) ^ right) & 0x0000ffffL; 331 right ^= work; 332 leftt ^= (work << 16); 334 work = ((right >> 2) ^ leftt) & 0x33333333L; 335 leftt ^= work; 336 right ^= (work << 403 u32 ek[32], work[2]; local 436 u32 work[2]; local 447 u32 work[2]; local 470 u32 work[2]; local 484 u32 work[2]; local [all...] |
/freebsd-10-stable/contrib/jemalloc/ |
H A D | FREEBSD-upgrade | 34 # are needed, edit the code in ${work} as necessary, then: 40 # changes, then extract blows away the work tree and re-creates it with the 56 work="${src}/../${workname}" # merge-changes expects ${workname} in "..". 62 rm -rf ${work} 63 git clone git://canonware.com/jemalloc.git ${work} 65 cd ${work} 83 (cd ${work}; git add -A; git diff --cached) > FREEBSD-diffs 99 cd ${work} 112 tar cf - -C ${work} -X FREEBSD-Xlist . |tar xvf - 118 rm -rf ${work} [all...] |
/freebsd-10-stable/contrib/libarchive/libarchive/ |
H A D | archive_write_set_format_shar.c | 59 struct archive_string work; member in struct:shar 122 archive_string_init(&shar->work); 167 archive_strcat(&shar->work, "#!/bin/sh\n"); 168 archive_strcat(&shar->work, "# This is a shell archive\n"); 208 archive_string_sprintf(&shar->work, "echo x %s\n", shar->quoted_name.s); 223 archive_strcat(&shar->work, "mkdir -p "); 224 shar_quote(&shar->work, p, 1); 225 archive_strcat(&shar->work, 236 archive_strcat(&shar->work, "mkdir -p "); 237 shar_quote(&shar->work, [all...] |
/freebsd-10-stable/contrib/binutils/gas/ |
H A D | flonum-mult.c | 83 unsigned long work; 121 work = carry; 130 A, a->low[A], B, b->low[B], work); 136 work += (unsigned long) a->low[A] * (unsigned long) b->low[B]; 137 carry += work >> LITTLENUM_NUMBER_OF_BITS; 138 work &= LITTLENUM_MASK; 140 printf ("work=%08x carry=%04x\n", work, carry); 144 significant |= work; 149 product->low[P] = work; 82 unsigned long work; local [all...] |
/freebsd-10-stable/sys/dev/wtap/plugins/ |
H A D | wtap_plugin.h | 44 void (*work)(struct wtap_plugin *, struct packet *p); member in struct:wtap_plugin
|
/freebsd-10-stable/sbin/hastd/ |
H A D | subr.h | 41 #define KEEP_ERRNO(work) do { \ 45 work; \
|
/freebsd-10-stable/contrib/bsnmp/lib/ |
H A D | snmpclient.c | 98 * table row's. The entry list and the work list parallel each other. 100 struct work { struct 101 TAILQ_ENTRY(work) link; 104 TAILQ_HEAD(worklist, work); 135 * Free the entire table and work list. If table is NULL only the worklist 139 table_free(struct tabwork *work, int all) argument 141 struct work *w; 146 while ((w = TAILQ_FIRST(&work->worklist)) != NULL) { 147 TAILQ_REMOVE(&work->worklist, w, link); 154 while ((e = TAILQ_FIRST(work 173 table_find(struct tabwork *work, const struct asn_oid *var) argument 468 table_check_response(struct tabwork *work, const struct snmp_pdu *resp) argument 532 table_check_cons(struct tabwork *work) argument 562 struct tabwork work; local 628 struct tabwork *work = arg; local 708 struct tabwork *work; local [all...] |
/freebsd-10-stable/contrib/openbsm/bin/auditdistd/ |
H A D | subr.h | 34 #define KEEP_ERRNO(work) do { \ 38 work; \
|
/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/zmod/ |
H A D | inftrees.h | 57 unsigned FAR *bits, unsigned short FAR *work));
|
/freebsd-10-stable/contrib/zlib/ |
H A D | inftrees.h | 62 unsigned FAR *bits, unsigned short FAR *work));
|
H A D | inftrees.c | 23 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-10-stable/tests/sys/geom/class/gate/ |
H A D | ggate_test.sh | 20 work=$(alloc_md) 24 dd if=/dev/random of=/dev/$work bs=1m count=1 conv=notrunc 29 echo "127.0.0.1 RW /dev/$work" > $CONF 32 atf_check ggatec create -p $PORT -u $us 127.0.0.1 /dev/$work 41 checksum /dev/$src /dev/$work 62 echo src work >> ${PLAINFILES} 63 dd if=/dev/random of=work bs=1m count=1 66 atf_check ggatel create -u $us work 75 checksum src work 95 work [all...] |
/freebsd-10-stable/sys/ofed/drivers/infiniband/core/ |
H A D | cm.c | 195 struct delayed_work work; member in struct:cm_work 206 struct cm_work work; /* Must be first. */ member in struct:cm_timewait_info 256 static void cm_work_handler(struct work_struct *work); 587 __be32 remote_id = timewait_info->work.remote_id; 593 if (be32_lt(remote_id, cur_timewait_info->work.remote_id)) 595 else if (be32_gt(remote_id, cur_timewait_info->work.remote_id)) 619 if (be32_lt(remote_id, timewait_info->work.remote_id)) 621 else if (be32_gt(remote_id, timewait_info->work.remote_id)) 742 struct cm_work *work; local 747 work 752 cm_free_work(struct cm_work *work) argument 850 struct cm_work *work; local 1301 cm_format_req_event(struct cm_work *work, struct cm_id_private *cm_id_priv, struct ib_cm_id *listen_id) argument 1335 cm_process_work(struct cm_id_private *cm_id_priv, struct cm_work *work) argument 1414 cm_dup_req_handler(struct cm_work *work, struct cm_id_private *cm_id_priv) argument 1457 cm_match_req(struct cm_work *work, struct cm_id_private *cm_id_priv) argument 1540 cm_req_handler(struct cm_work *work) argument 1771 cm_format_rep_event(struct cm_work *work) argument 1792 cm_dup_rep_handler(struct cm_work *work) argument 1835 cm_rep_handler(struct cm_work *work) argument 1922 cm_establish_handler(struct cm_work *work) argument 1954 cm_rtu_handler(struct cm_work *work) argument 2140 cm_dreq_handler(struct cm_work *work) argument 2210 cm_drep_handler(struct cm_work *work) argument 2309 cm_format_rej_event(struct cm_work *work) argument 2356 cm_rej_handler(struct cm_work *work) argument 2505 cm_mra_handler(struct cm_work *work) argument 2692 cm_lap_handler(struct cm_work *work) argument 2832 cm_apr_handler(struct cm_work *work) argument 2875 cm_timewait_handler(struct cm_work *work) argument 2983 cm_format_sidr_req_event(struct cm_work *work, struct ib_cm_id *listen_id) argument 2998 cm_sidr_req_handler(struct cm_work *work) argument 3122 cm_format_sidr_rep_event(struct cm_work *work) argument 3138 cm_sidr_rep_handler(struct cm_work *work) argument 3261 struct cm_work *work = container_of(_work, struct cm_work, work.work); local 3315 struct cm_work *work; local 3403 struct cm_work *work; local [all...] |
H A D | iwcm.c | 65 struct work_struct work; member in struct:iwcm_work 72 struct work_struct work; member in struct:iwcm_listen_work 169 * If work elements cannot be allocated for the new connect request cm_id, 176 struct iwcm_work *work; local 180 work = list_entry(cm_id_priv->work_free_list.next, struct iwcm_work, 182 list_del_init(&work->free_list); 183 return work; 186 static void put_work(struct iwcm_work *work) argument 188 list_add(&work->free_list, &work 201 struct iwcm_work *work; local 448 struct iwcm_listen_work *work = container_of(_work, local 488 struct iwcm_listen_work *work; local 1119 struct iwcm_work *work = container_of(_work, struct iwcm_work, work); local 1177 struct iwcm_work *work; local [all...] |