| /dragonfly/contrib/lvm2/dist/libdm/ |
| HD | libdm-report.c | 83 struct dm_report *rh; member 88 static const struct dm_report_object_type *_find_type(struct dm_report *rh, in _find_type() argument 93 for (t = rh->types; t->data_fn; t++) in _find_type() 104 int dm_report_field_string(struct dm_report *rh, in dm_report_field_string() argument 109 if (!(repstr = dm_pool_strdup(rh->mem, *data))) { in dm_report_field_string() 120 int dm_report_field_int(struct dm_report *rh, in dm_report_field_int() argument 127 if (!(repstr = dm_pool_zalloc(rh->mem, 13))) { in dm_report_field_int() 132 if (!(sortval = dm_pool_alloc(rh->mem, sizeof(int64_t)))) { in dm_report_field_int() 149 int dm_report_field_uint32(struct dm_report *rh, in dm_report_field_uint32() argument 156 if (!(repstr = dm_pool_zalloc(rh->mem, 12))) { in dm_report_field_uint32() [all …]
|
| HD | libdevmapper.h | 971 int (*report_fn)(struct dm_report *rh, struct dm_pool *mem, 996 int dm_report_object(struct dm_report *rh, void *object); 997 int dm_report_output(struct dm_report *rh); 998 void dm_report_free(struct dm_report *rh); 1003 int dm_report_set_output_field_name_prefix(struct dm_report *rh, 1010 int dm_report_field_string(struct dm_report *rh, struct dm_report_field *field, 1012 int dm_report_field_int32(struct dm_report *rh, struct dm_report_field *field, 1014 int dm_report_field_uint32(struct dm_report *rh, struct dm_report_field *field, 1016 int dm_report_field_int(struct dm_report *rh, struct dm_report_field *field, 1018 int dm_report_field_uint64(struct dm_report *rh, struct dm_report_field *field,
|
| /dragonfly/include/rpc/ |
| HD | clnt.h | 159 #define CLNT_CALL(rh, proc, xargs, argsp, xres, resp, secs) \ argument 160 ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, \ 162 #define clnt_call(rh, proc, xargs, argsp, xres, resp, secs) \ argument 163 ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, \ 171 #define CLNT_ABORT(rh) ((*(rh)->cl_ops->cl_abort)(rh)) argument 172 #define clnt_abort(rh) ((*(rh)->cl_ops->cl_abort)(rh)) argument 179 #define CLNT_GETERR(rh,errp) ((*(rh)->cl_ops->cl_geterr)(rh, errp)) argument 180 #define clnt_geterr(rh,errp) ((*(rh)->cl_ops->cl_geterr)(rh, errp)) argument 190 #define CLNT_FREERES(rh,xres,resp) ((*(rh)->cl_ops->cl_freeres)(rh,xres,resp)) argument 191 #define clnt_freeres(rh,xres,resp) ((*(rh)->cl_ops->cl_freeres)(rh,xres,resp)) argument [all …]
|
| /dragonfly/contrib/lvm2/dist/lib/report/ |
| HD | report.c | 70 static int _string_disp(struct dm_report *rh, struct dm_pool *mem __attribute((unused)), in _string_disp() argument 74 return dm_report_field_string(rh, field, (const char **) data); in _string_disp() 77 static int _dev_name_disp(struct dm_report *rh, struct dm_pool *mem __attribute((unused)), in _dev_name_disp() argument 83 return dm_report_field_string(rh, field, &name); in _dev_name_disp() 161 static int _devices_disp(struct dm_report *rh __attribute((unused)), struct dm_pool *mem, in _devices_disp() 168 static int _peranges_disp(struct dm_report *rh __attribute((unused)), struct dm_pool *mem, in _peranges_disp() 175 static int _tags_disp(struct dm_report *rh __attribute((unused)), struct dm_pool *mem, in _tags_disp() 205 static int _modules_disp(struct dm_report *rh, struct dm_pool *mem, in _modules_disp() argument 220 return _tags_disp(rh, mem, field, modules, private); in _modules_disp() 223 static int _vgfmt_disp(struct dm_report *rh, struct dm_pool *mem, in _vgfmt_disp() argument [all …]
|
| /dragonfly/sys/netproto/802_11/wlan/ |
| HD | ieee80211_radiotap.c | 52 #define bpf_mtap2(rawbpf, rh, len, m) \ argument 56 bpf_ptap(rawbpf, m, rh, len); \ 66 struct ieee80211_radiotap_header *rh, int rlen, uint32_t rx_radiotap) in ieee80211_radiotap_attach() argument 69 rh, rlen, 0, rx_radiotap); in ieee80211_radiotap_attach() 76 struct ieee80211_radiotap_header *rh, in ieee80211_radiotap_attachv() argument 98 rh->it_len = htole16(roundup2(rlen, sizeof(uint32_t))); in ieee80211_radiotap_attachv() 99 rh->it_present = htole32(rx_radiotap); in ieee80211_radiotap_attachv() 100 ic->ic_rh = rh; in ieee80211_radiotap_attachv() 104 off = radiotap_offset(rh, n_rx_v, IEEE80211_RADIOTAP_CHANNEL); in ieee80211_radiotap_attachv() 106 off = radiotap_offset(rh, n_rx_v, IEEE80211_RADIOTAP_XCHANNEL); in ieee80211_radiotap_attachv() [all …]
|
| /dragonfly/contrib/gmp/mpn/generic/ |
| HD | mod_1_2.c | 73 mp_limb_t rh, rl, bi, q, ph, pl, ch, cl, r; in mpn_mod_1s_2p() local 98 umul_ppmm (rh, rl, ap[n - 1], B2modb); in mpn_mod_1s_2p() 99 add_ssaaaa (rh, rl, rh, rl, ph, pl); in mpn_mod_1s_2p() 104 umul_ppmm (rh, rl, ap[n - 1], B1modb); in mpn_mod_1s_2p() 105 add_ssaaaa (rh, rl, rh, rl, 0, ap[n - 2]); in mpn_mod_1s_2p() 121 umul_ppmm (rh, rl, rh, B3modb); in mpn_mod_1s_2p() 122 add_ssaaaa (rh, rl, rh, rl, ph, pl); in mpn_mod_1s_2p() 129 umul_ppmm (rh, cl, rh, B1modb); in mpn_mod_1s_2p() 130 add_ssaaaa (rh, rl, rh, rl, 0, cl); in mpn_mod_1s_2p() 131 r = (rh << cnt) | (rl >> (GMP_LIMB_BITS - cnt)); in mpn_mod_1s_2p() [all …]
|
| HD | mod_1_4.c | 77 mp_limb_t rh, rl, bi, q, ph, pl, ch, cl, r; in mpn_mod_1s_4p() local 97 umul_ppmm (rh, rl, ap[n - 1], B3modb); in mpn_mod_1s_4p() 98 add_ssaaaa (rh, rl, rh, rl, ph, pl); in mpn_mod_1s_4p() 102 rh = 0; in mpn_mod_1s_4p() 108 add_ssaaaa (rh, rl, ph, pl, 0, ap[n - 2]); in mpn_mod_1s_4p() 114 umul_ppmm (rh, rl, ap[n - 1], B2modb); in mpn_mod_1s_4p() 115 add_ssaaaa (rh, rl, rh, rl, ph, pl); in mpn_mod_1s_4p() 141 umul_ppmm (rh, rl, rh, B5modb); in mpn_mod_1s_4p() 142 add_ssaaaa (rh, rl, rh, rl, ph, pl); in mpn_mod_1s_4p() 149 umul_ppmm (rh, cl, rh, B1modb); in mpn_mod_1s_4p() [all …]
|
| HD | mod_1_3.c | 75 mp_limb_t rh, rl, bi, q, ph, pl, ch, cl, r; in mpn_mod_1s_3p() local 95 umul_ppmm (rh, rl, ap[n - 1], B2modb); in mpn_mod_1s_3p() 96 add_ssaaaa (rh, rl, rh, rl, ph, pl); in mpn_mod_1s_3p() 100 rh = 0; in mpn_mod_1s_3p() 106 add_ssaaaa (rh, rl, ph, pl, 0, ap[n - 2]); in mpn_mod_1s_3p() 128 umul_ppmm (rh, rl, rh, B4modb); in mpn_mod_1s_3p() 129 add_ssaaaa (rh, rl, rh, rl, ph, pl); in mpn_mod_1s_3p() 136 umul_ppmm (rh, cl, rh, B1modb); in mpn_mod_1s_3p() 137 add_ssaaaa (rh, rl, rh, rl, 0, cl); in mpn_mod_1s_3p() 138 r = (rh << cnt) | (rl >> (GMP_LIMB_BITS - cnt)); in mpn_mod_1s_3p() [all …]
|
| HD | mod_1_1.c | 60 mp_limb_t rh, rl, bi, q, ph, pl, r; in mpn_mod_1_1p() local 72 add_ssaaaa (rh, rl, ph, pl, 0, ap[n - 2]); in mpn_mod_1_1p() 83 umul_ppmm (rh, rl, rh, B2modb); in mpn_mod_1_1p() 84 add_ssaaaa (rh, rl, rh, rl, ph, pl); in mpn_mod_1_1p() 91 rh = (rh << cnt) | (rl >> (GMP_LIMB_BITS - cnt)); in mpn_mod_1_1p() 93 mask = -(mp_limb_t) (rh >= b); in mpn_mod_1_1p() 94 rh -= mask & b; in mpn_mod_1_1p() 96 udiv_qrnnd_preinv (q, r, rh, rl << cnt, b, bi); in mpn_mod_1_1p()
|
| HD | sbpi1_bdiv_qr.c | 50 mp_limb_t rh; in mpn_sbpi1_bdiv_qr() local 59 rh = 0; in mpn_sbpi1_bdiv_qr() 74 rh += mpn_add (np + dn, np + dn, qn, np, dn); in mpn_sbpi1_bdiv_qr() 91 rh += mpn_add_n (np + dn, np + dn, np, qn); in mpn_sbpi1_bdiv_qr() 97 ASSERT (rh == 0); in mpn_sbpi1_bdiv_qr() 105 ASSERT (cy >= rh); in mpn_sbpi1_bdiv_qr() 106 return cy - rh; in mpn_sbpi1_bdiv_qr()
|
| HD | bdiv_qr.c | 41 mp_limb_t rh; in mpn_bdiv_qr() local 48 rh = mpn_sbpi1_bdiv_qr (qp, tp, nn, dp, dn, di); in mpn_bdiv_qr() 55 rh = mpn_dcpi1_bdiv_qr (qp, tp, nn, dp, dn, di); in mpn_bdiv_qr() 60 rh = mpn_mu_bdiv_qr (qp, rp, np, nn, dp, dn, tp); in mpn_bdiv_qr() 63 return rh; in mpn_bdiv_qr()
|
| HD | dcpi1_bdiv_qr.c | 56 mp_limb_t rh; in mpn_dcpi1_bdiv_qr_n() local 69 rh = mpn_sub (np + lo, np + lo, n + hi, tp, n); in mpn_dcpi1_bdiv_qr_n() 79 rh += mpn_sub_n (np + n, np + n, tp, n); in mpn_dcpi1_bdiv_qr_n() 81 return rh; in mpn_dcpi1_bdiv_qr_n()
|
| /dragonfly/sys/netinet6/ |
| HD | route6.c | 57 struct ip6_rthdr *rh; in route6_input() local 61 IP6_EXTHDR_CHECK(m, off, sizeof(*rh), IPPROTO_DONE); in route6_input() 63 rh = (struct ip6_rthdr *)((caddr_t)ip6 + off); in route6_input() 66 IP6_EXTHDR_GET(rh, struct ip6_rthdr *, m, off, sizeof(*rh)); in route6_input() 67 if (rh == NULL) { in route6_input() 73 switch (rh->ip6r_type) { in route6_input() 76 if (rh->ip6r_segleft == 0) { in route6_input() 77 rhlen = (rh->ip6r_len + 1) << 3; in route6_input() 82 (caddr_t)&rh->ip6r_type - (caddr_t)ip6); in route6_input() 87 return (rh->ip6r_nxt); in route6_input()
|
| HD | nd6.h | 343 struct nd_opt_rd_hdr *rh; member 358 #define nd_opts_rh nd_opt_each.rh
|
| /dragonfly/lib/libc/db/test/ |
| HD | dbtest.c | 556 static RECNOINFO rh; in setinfo() local 616 rh.flags = atoi(eq); in setinfo() 617 return (&rh); in setinfo() 620 rh.cachesize = atoi(eq); in setinfo() 621 return (&rh); in setinfo() 624 rh.lorder = atoi(eq); in setinfo() 625 return (&rh); in setinfo() 628 rh.reclen = atoi(eq); in setinfo() 629 return (&rh); in setinfo() 632 rh.bval = atoi(eq); in setinfo() [all …]
|
| /dragonfly/contrib/libarchive/libarchive/ |
| HD | archive_write_set_format_warc.c | 230 warc_essential_hdr_t rh = { in _warc_header() local 240 rh.tgturi = archive_entry_pathname(entry); in _warc_header() 241 rh.rtime = w->now; in _warc_header() 242 rh.mtime = archive_entry_mtime(entry); in _warc_header() 243 rh.cntlen = (size_t)archive_entry_size(entry); in _warc_header() 246 r = _popul_ehdr(&hdr, MAX_HDR_SIZE, rh); in _warc_header() 258 w->populz = rh.cntlen; in _warc_header()
|
| /dragonfly/contrib/tcpdump/ |
| HD | print-udp.c | 220 const struct rtcphdr *rh = (const struct rtcphdr *)hdr; in rtcp_print() local 227 if ((const u_char *)(rh + 1) > ep) in rtcp_print() 229 ND_TCHECK_SIZE(rh); in rtcp_print() 230 len = (GET_BE_U_2(rh->rh_len) + 1) * 4; in rtcp_print() 231 flags = GET_BE_U_2(rh->rh_flags); in rtcp_print() 235 sr = (const struct rtcp_sr *)(rh + 1); in rtcp_print() 237 if (len != cnt * sizeof(*rr) + sizeof(*sr) + sizeof(*rh)) in rtcp_print() 240 ND_PRINT(" %u", GET_BE_U_4(rh->rh_ssrc)); in rtcp_print() 253 if (len != cnt * sizeof(*rr) + sizeof(*rh)) in rtcp_print() 255 rr = (const struct rtcp_rr *)(rh + 1); in rtcp_print() [all …]
|
| /dragonfly/contrib/lvm2/dist/tools/ |
| HD | dmsetup.c | 1954 static int _int32_disp(struct dm_report *rh, in _int32_disp() argument 1961 return dm_report_field_int32(rh, field, &value); in _int32_disp() 1964 static int _uint32_disp(struct dm_report *rh, in _uint32_disp() argument 1971 return dm_report_field_uint32(rh, field, &value); in _uint32_disp() 1974 static int _dm_name_disp(struct dm_report *rh, in _dm_name_disp() argument 1981 return dm_report_field_string(rh, field, &name); in _dm_name_disp() 1984 static int _dm_uuid_disp(struct dm_report *rh, in _dm_uuid_disp() argument 1994 return dm_report_field_string(rh, field, &uuid); in _dm_uuid_disp() 1997 static int _dm_read_ahead_disp(struct dm_report *rh, in _dm_read_ahead_disp() argument 2007 return dm_report_field_uint32(rh, field, &value); in _dm_read_ahead_disp() [all …]
|
| /dragonfly/contrib/lvm2/dist/include/ |
| HD | libdevmapper.h | 971 int (*report_fn)(struct dm_report *rh, struct dm_pool *mem, 996 int dm_report_object(struct dm_report *rh, void *object); 997 int dm_report_output(struct dm_report *rh); 998 void dm_report_free(struct dm_report *rh); 1003 int dm_report_set_output_field_name_prefix(struct dm_report *rh, 1010 int dm_report_field_string(struct dm_report *rh, struct dm_report_field *field, 1012 int dm_report_field_int32(struct dm_report *rh, struct dm_report_field *field, 1014 int dm_report_field_uint32(struct dm_report *rh, struct dm_report_field *field, 1016 int dm_report_field_int(struct dm_report *rh, struct dm_report_field *field, 1018 int dm_report_field_uint64(struct dm_report *rh, struct dm_report_field *field,
|
| /dragonfly/crypto/libressl/crypto/ec/ |
| HD | ecp_smpl.c | 993 BIGNUM *rh, *tmp, *Z4, *Z6; in ec_GFp_simple_is_on_curve() local 1009 if ((rh = BN_CTX_get(ctx)) == NULL) in ec_GFp_simple_is_on_curve() 1028 if (!field_sqr(group, rh, &point->X, ctx)) in ec_GFp_simple_is_on_curve() 1045 if (!BN_mod_sub_quick(rh, rh, tmp, p)) in ec_GFp_simple_is_on_curve() 1047 if (!field_mul(group, rh, rh, &point->X, ctx)) in ec_GFp_simple_is_on_curve() 1052 if (!BN_mod_add_quick(rh, rh, tmp, p)) in ec_GFp_simple_is_on_curve() 1054 if (!field_mul(group, rh, rh, &point->X, ctx)) in ec_GFp_simple_is_on_curve() 1061 if (!BN_mod_add_quick(rh, rh, tmp, p)) in ec_GFp_simple_is_on_curve() 1067 if (!BN_mod_add_quick(rh, rh, &group->a, p)) in ec_GFp_simple_is_on_curve() 1069 if (!field_mul(group, rh, rh, &point->X, ctx)) in ec_GFp_simple_is_on_curve() [all …]
|
| /dragonfly/sys/dev/acpica/aibs/ |
| HD | atk0110.c | 299 ACPI_HANDLE rh; in aibs_refresh_r() local 324 rs = AcpiGetHandle(sc->sc_ah, name, &rh); in aibs_refresh_r() 346 rs = AcpiEvaluateObjectTyped(rh, NULL, &mp, &b, in aibs_refresh_r()
|
| /dragonfly/contrib/gcc-8.0/libgcc/soft-fp/ |
| HD | op-2.h | 179 # define __FP_FRAC_ADD_2(rh, rl, xh, xl, yh, yl) \ 180 (rh = xh + yh + ((rl = xl + yl) < xl)) 183 # define __FP_FRAC_SUB_2(rh, rl, xh, xl, yh, yl) \ 184 (rh = xh - yh - ((rl = xl - yl) > xl))
|
| /dragonfly/contrib/gcc-4.7/libgcc/soft-fp/ |
| HD | op-2.h | 171 #define __FP_FRAC_ADD_2(rh, rl, xh, xl, yh, yl) \ 172 (rh = xh + yh + ((rl = xl + yl) < xl)) 175 #define __FP_FRAC_SUB_2(rh, rl, xh, xl, yh, yl) \ 176 (rh = xh - yh - ((rl = xl - yl) > xl))
|
| /dragonfly/sbin/ping6/ |
| HD | ping6.c | 1682 struct ip6_rthdr *rh = (struct ip6_rthdr *)extbuf; in pr_rthdr() local 1685 printf("nxt %u, len %u (%d bytes), type %u, ", rh->ip6r_nxt, in pr_rthdr() 1686 rh->ip6r_len, (rh->ip6r_len + 1) << 3, rh->ip6r_type); in pr_rthdr() 1688 printf("%d left\n", rh->ip6r_segleft); in pr_rthdr()
|
| /dragonfly/contrib/gdb-7/gdb/ |
| HD | mdebugread.c | 3831 RFDT rh; in parse_partial_symbols() local 3836 &rh); in parse_partial_symbols() 3837 if (rh < 0 || rh >= hdr->ifdMax) in parse_partial_symbols() 3839 complaint (&symfile_complaints, _("bad file number %ld"), rh); in parse_partial_symbols() 3844 if (rh == f_idx) in parse_partial_symbols() 3848 if (fdr_to_pst[rh].pst == (struct partial_symtab *) NULL) in parse_partial_symbols() 3851 = fdr_to_pst[rh].pst; in parse_partial_symbols()
|