Home
last modified time | relevance | path

Searched refs:rh (Results 1 – 25 of 34) sorted by relevance

12

/dragonfly/contrib/lvm2/dist/libdm/
H A Dlibdm-report.c298 dest->type = _find_type(rh, rh->fields[field_num].type); in _copy_field()
406 if ((rh->fields[f].type & type) && !_add_field(rh, f, 0)) in _add_all_fields()
424 rh->report_types |= rh->fields[f].type; in _field_match()
455 rh->report_types |= rh->fields[field_num].type; in _add_sort_key()
573 if (!(rh = dm_malloc(sizeof(*rh)))) { in dm_report_init()
577 memset(rh, 0, sizeof(*rh)); in dm_report_init()
641 return rh; in dm_report_init()
647 dm_free(rh); in dm_report_free()
701 row->rh = rh; in dm_report_object()
728 if (!rh->fields[fp->field_num].report_fn(rh, rh->mem, in dm_report_object()
[all …]
H A Dlibdevmapper.h971 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/
H A Dclnt.h159 #define CLNT_CALL(rh, proc, xargs, argsp, xres, resp, secs) \ argument
160 ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, \
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
235 #define CLNT_DESTROY(rh) ((*(rh)->cl_ops->cl_destroy)(rh)) argument
[all …]
/dragonfly/contrib/lvm2/dist/lib/report/
H A Dreport.c83 return dm_report_field_string(rh, field, &name); in _dev_name_disp()
220 return _tags_disp(rh, mem, field, modules, private); in _modules_disp()
488 return dm_report_field_string(rh, field, in _loglv_disp()
555 return dm_report_field_string(rh, field, &name); in _movepv_disp()
582 return dm_report_field_string(rh, field, &name); in _convertlv_disp()
696 static int _segstartpe_disp(struct dm_report *rh, in _segstartpe_disp() argument
846 return dm_report_field_uint32(rh, field, data); in _uint32_disp()
853 return dm_report_field_int32(rh, field, data); in _int32_disp()
1189 void *rh; in report_init() local
1212 if (rh && field_prefixes) in report_init()
[all …]
/dragonfly/sys/netproto/802_11/wlan/
H A Dieee80211_radiotap.c52 #define bpf_mtap2(rawbpf, rh, len, m) \ argument
56 bpf_ptap(rawbpf, m, rh, len); \
69 rh, rlen, 0, rx_radiotap); in ieee80211_radiotap_attach()
76 struct ieee80211_radiotap_header *rh, in ieee80211_radiotap_attachv() argument
99 rh->it_present = htole32(rx_radiotap); in ieee80211_radiotap_attachv()
100 ic->ic_rh = rh; in ieee80211_radiotap_attachv()
112 ic->ic_rxchan = ((uint8_t *) rh) + off; in ieee80211_radiotap_attachv()
216 bpf_mtap2(vap->iv_rawbpf, rh, len, m); in spam_vaps()
253 len = le16toh(rh->it_len); in ieee80211_radiotap_rx()
263 spam_vaps(vap0, m, rh, len); in ieee80211_radiotap_rx()
[all …]
/dragonfly/contrib/gmp/mpn/generic/
H A Dmod_1_2.c73 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 …]
H A Dmod_1_4.c77 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 …]
H A Dmod_1_3.c75 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 …]
H A Dmod_1_1.c60 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()
H A Dsbpi1_bdiv_qr.c50 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()
H A Dbdiv_qr.c41 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()
H A Ddcpi1_bdiv_qr.c56 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/
H A Droute6.c57 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()
H A Dnd6.h343 struct nd_opt_rd_hdr *rh; member
358 #define nd_opts_rh nd_opt_each.rh
/dragonfly/lib/libc/db/test/
H A Ddbtest.c556 static RECNOINFO rh; in setinfo() local
616 rh.flags = atoi(eq); in setinfo()
617 return (&rh); in setinfo()
621 return (&rh); in setinfo()
624 rh.lorder = atoi(eq); in setinfo()
625 return (&rh); in setinfo()
629 return (&rh); in setinfo()
632 rh.bval = atoi(eq); in setinfo()
633 return (&rh); in setinfo()
636 rh.psize = atoi(eq); in setinfo()
[all …]
/dragonfly/contrib/libarchive/libarchive/
H A Darchive_write_set_format_warc.c230 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/
H A Dprint-udp.c227 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()
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()
257 ND_PRINT(" %u", GET_BE_U_4(rh->rh_ssrc)); in rtcp_print()
262 ND_PRINT(" %u", GET_BE_U_4(rh->rh_ssrc)); in rtcp_print()
[all …]
/dragonfly/contrib/lvm2/dist/tools/
H A Ddmsetup.c1954 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()
2025 return dm_report_field_string(rh, field, &s); in _dm_info_status_disp()
2291 static int _dm_vg_name_disp(struct dm_report *rh, in _dm_vg_name_disp() argument
[all …]
/dragonfly/contrib/lvm2/dist/include/
H A Dlibdevmapper.h971 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/
H A Decp_smpl.c993 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()
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()
1072 if (!BN_mod_add_quick(rh, rh, &group->b, p)) in ec_GFp_simple_is_on_curve()
[all …]
/dragonfly/sys/dev/acpica/aibs/
H A Datk0110.c299 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/
H A Dop-2.h179 # 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/
H A Dop-2.h171 #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/
H A Dping6.c1682 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/
H A Dmdebugread.c3831 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()

12