/freebsd-current/contrib/wpa/src/wps/ |
H A D | http_server.h | 15 void http_request_deinit(struct http_request *req); 16 void http_request_send(struct http_request *req, struct wpabuf *resp); 17 void http_request_send_and_deinit(struct http_request *req, 19 enum httpread_hdr_type http_request_get_type(struct http_request *req); 20 char * http_request_get_uri(struct http_request *req); 21 char * http_request_get_hdr(struct http_request *req); 22 char * http_request_get_data(struct http_request *req); 23 char * http_request_get_hdr_line(struct http_request *req, const char *tag); 24 struct sockaddr_in * http_request_get_cli_addr(struct http_request *req); 28 struct http_request *req), [all...] |
H A D | http_server.c | 30 void (*cb)(void *ctx, struct http_request *req); 44 struct http_request *req = cookie; local 45 struct http_server *srv = req->srv; 49 inet_ntoa(req->cli.sin_addr), 50 ntohs(req->cli.sin_port)); 51 srv->cb(srv->cb_ctx, req); 55 "completely", inet_ntoa(req->cli.sin_addr), 56 ntohs(req->cli.sin_port)); 57 http_request_deinit(req); 64 struct http_request *req; local 91 http_request_deinit(struct http_request *req) argument 121 http_request_free_all(struct http_request *req) argument 132 http_request_send(struct http_request *req, struct wpabuf *resp) argument 155 http_request_send_and_deinit(struct http_request *req, struct wpabuf *resp) argument 163 http_request_get_type(struct http_request *req) argument 169 http_request_get_uri(struct http_request *req) argument 175 http_request_get_hdr(struct http_request *req) argument 181 http_request_get_data(struct http_request *req) argument 187 http_request_get_hdr_line(struct http_request *req, const char *tag) argument 193 http_request_get_cli_addr(struct http_request *req) argument 205 struct http_request *req; local 228 http_server_init(struct in_addr *addr, int port, void (*cb)(void *ctx, struct http_request *req), void *cb_ctx) argument [all...] |
/freebsd-current/sys/dev/io/ |
H A D | iodev.c | 50 static int iopio_read(struct iodev_pio_req *req); 51 static int iopio_write(struct iodev_pio_req *req); 121 iopio_read(struct iodev_pio_req *req) argument 124 switch (req->width) { 126 req->val = iodev_read_1(req->port); 129 if (req->port & 1) { 130 req->val = iodev_read_1(req->port); 131 req 154 iopio_write(struct iodev_pio_req *req) argument [all...] |
/freebsd-current/sys/dev/bnxt/bnxt_re/ |
H A D | qplib_tlv.h | 73 static inline u8 __get_cmdq_base_opcode(struct cmdq_base *req, u32 size) argument 75 if (HAS_TLV_HEADER(req) && size > TLV_BYTES) 76 return ((struct cmdq_base *)GET_TLV_DATA(req))->opcode; 78 return req->opcode; 81 static inline void __set_cmdq_base_opcode(struct cmdq_base *req, argument 84 if (HAS_TLV_HEADER(req) && size > TLV_BYTES) 85 ((struct cmdq_base *)GET_TLV_DATA(req))->opcode = val; 87 req->opcode = val; 90 static inline __le16 __get_cmdq_base_cookie(struct cmdq_base *req, u32 size) argument 92 if (HAS_TLV_HEADER(req) 98 __set_cmdq_base_cookie(struct cmdq_base *req, u32 size, __le16 val) argument 107 __get_cmdq_base_resp_addr(struct cmdq_base *req, u32 size) argument 115 __set_cmdq_base_resp_addr(struct cmdq_base *req, u32 size, __le64 val) argument 124 __get_cmdq_base_resp_size(struct cmdq_base *req, u32 size) argument 132 __set_cmdq_base_resp_size(struct cmdq_base *req, u32 size, u8 val) argument 141 __get_cmdq_base_cmd_size(struct cmdq_base *req, u32 size) argument 149 __set_cmdq_base_cmd_size(struct cmdq_base *req, u32 size, u8 val) argument 158 __get_cmdq_base_flags(struct cmdq_base *req, u32 size) argument 166 __set_cmdq_base_flags(struct cmdq_base *req, u32 size, __le16 val) argument [all...] |
/freebsd-current/tools/tools/ath/common/ |
H A D | ctrl.h | 44 extern int ath_driver_req_init(struct ath_driver_req *req); 45 extern int ath_driver_req_open(struct ath_driver_req *req, const char *ifname); 46 extern int ath_driver_req_close(struct ath_driver_req *req); 47 extern int ath_driver_req_fetch_diag(struct ath_driver_req *req, 49 extern int ath_driver_req_zero_stats(struct ath_driver_req *req); 50 extern int ath_driver_req_fetch_stats(struct ath_driver_req *req, 52 extern int ath_drive_req_fetch_aggr_stats(struct ath_driver_req *req, 54 extern int ath_drive_req_fetch_ratectrl_stats(struct ath_driver_req *req,
|
H A D | ctrl.c | 70 ath_driver_req_init(struct ath_driver_req *req) argument 73 bzero(req, sizeof(*req)); 74 req->s = -1; 86 ath_driver_req_open(struct ath_driver_req *req, const char *ifname) argument 91 ath_driver_req_close(req); 99 req->ifname = strdup(ifname); 100 req->s = s; 109 ath_driver_req_close(struct ath_driver_req *req) argument 111 if (req 124 ath_driver_req_fetch_diag(struct ath_driver_req *req, unsigned long cmd, struct ath_diag *ad) argument 139 ath_driver_req_zero_stats(struct ath_driver_req *req) argument 160 ath_driver_req_fetch_stats(struct ath_driver_req *req, struct ath_stats *st) argument 181 ath_drive_req_fetch_aggr_stats(struct ath_driver_req *req, struct ath_tx_aggr_stats *tx) argument 206 ath_drive_req_fetch_ratectrl_stats(struct ath_driver_req *req, struct ath_rateioctl *r) argument [all...] |
/freebsd-current/lib/libgeom/ |
H A D | geom_ctl.c | 54 gctl_dump(struct gctl_req *req, FILE *f) argument 60 if (req == NULL) { 64 fprintf(f, "Dump of gctl request at %p:\n", req); 65 if (req->error != NULL) 66 fprintf(f, " error:\t\"%s\"\n", req->error); 69 for (i = 0; i < req->narg; i++) { 70 ap = &req->arg[i]; 95 gctl_set_error(struct gctl_req *req, const char *error, ...) argument 99 if (req->error != NULL) 102 vasprintf(&req 111 gctl_check_alloc(struct gctl_req *req, void *ptr) argument 136 gctl_new_arg(struct gctl_req *req) argument 153 gctl_add_param(struct gctl_req *req, const char *name, int len, void *value, int flag) argument 179 gctl_ro_param(struct gctl_req *req, const char *name, int len, const void* value) argument 186 gctl_rw_param(struct gctl_req *req, const char *name, int len, void *value) argument 193 gctl_issue(struct gctl_req *req) argument 223 gctl_free(struct gctl_req *req) argument [all...] |
/freebsd-current/usr.sbin/nvmfd/ |
H A D | ctl.c | 48 struct ctl_req req; local 62 memset(&req, 0, sizeof(req)); 63 strlcpy(req.driver, "nvmf", sizeof(req.driver)); 64 req.reqtype = CTL_REQ_CREATE; 65 req.args = nvlist_pack(nvl, &req.args_len); 66 if (req.args == NULL) 68 req 94 struct ctl_req req; local 124 struct ctl_nvmf req; local [all...] |
/freebsd-current/sys/dev/netmap/ |
H A D | netmap_legacy.c | 62 struct nmreq_register *req) 64 req->nr_offset = nmr->nr_offset; 65 req->nr_memsize = nmr->nr_memsize; 66 req->nr_tx_slots = nmr->nr_tx_slots; 67 req->nr_rx_slots = nmr->nr_rx_slots; 68 req->nr_tx_rings = nmr->nr_tx_rings; 69 req->nr_rx_rings = nmr->nr_rx_rings; 70 req->nr_host_tx_rings = 0; 71 req->nr_host_rx_rings = 0; 72 req 61 nmreq_register_from_legacy(struct nmreq *nmr, struct nmreq_header *hdr, struct nmreq_register *req) argument 146 struct nmreq_register *req = nm_os_malloc(sizeof(*req)); local 156 struct nmreq_vale_attach *req = nm_os_malloc(sizeof(*req)); local 178 struct nmreq_port_hdr *req = nm_os_malloc(sizeof(*req)); local 187 struct nmreq_vale_newif *req = nm_os_malloc(sizeof(*req)); local 204 struct nmreq_vale_polling *req = nm_os_malloc(sizeof(*req)); local 236 struct nmreq_vale_list *req = nm_os_malloc(sizeof(*req)); local 244 struct nmreq_port_info_get *req = nm_os_malloc(sizeof(*req)); local 275 nmreq_register_to_legacy(const struct nmreq_register *req, struct nmreq *nmr) argument 299 struct nmreq_register *req = local 305 struct nmreq_port_info_get *req = local 316 struct nmreq_vale_attach *req = local 325 struct nmreq_vale_list *req = local 334 struct nmreq_port_hdr *req = local 340 struct nmreq_vale_newif *req = local [all...] |
/freebsd-current/usr.sbin/ctld/ |
H A D | isns.c | 49 struct isns_req *req; local 51 req = calloc(sizeof(struct isns_req), 1); 52 if (req == NULL) { 56 req->ir_buflen = sizeof(struct isns_hdr); 57 req->ir_usedlen = 0; 58 req->ir_buf = calloc(req->ir_buflen, 1); 59 if (req->ir_buf == NULL) { 60 free(req); 64 return (req); 70 struct isns_req *req; local 83 isns_req_free(struct isns_req *req) argument 91 isns_req_getspace(struct isns_req *req, uint32_t len) argument 110 isns_req_add(struct isns_req *req, uint32_t tag, uint32_t len, const void *value) argument 128 isns_req_add_delim(struct isns_req *req) argument 135 isns_req_add_str(struct isns_req *req, uint32_t tag, const char *value) argument 142 isns_req_add_32(struct isns_req *req, uint32_t tag, uint32_t value) argument 151 isns_req_add_addr(struct isns_req *req, uint32_t tag, struct addrinfo *ai) argument 177 isns_req_add_port(struct isns_req *req, uint32_t tag, struct addrinfo *ai) argument 201 isns_req_send(int s, struct isns_req *req) argument 218 isns_req_receive(int s, struct isns_req *req) argument 245 isns_req_get_status(struct isns_req *req) argument [all...] |
H A D | kernel.c | 703 struct ctl_lun_req req; local 706 bzero(&req, sizeof(req)); 708 strlcpy(req.backend, lun->l_backend, sizeof(req.backend)); 709 req.reqtype = CTL_LUNREQ_CREATE; 711 req.reqdata.create.blocksize_bytes = lun->l_blocksize; 714 req.reqdata.create.lun_size_bytes = lun->l_size; 717 req.reqdata.create.req_lun_id = lun->l_ctl_lun; 718 req 810 struct ctl_lun_req req; local 893 struct ctl_lun_req req; local 927 struct ctl_iscsi req; local 989 struct ctl_iscsi req; local 1044 struct ctl_req req; local 1203 struct ctl_req req; local 1278 struct ctl_iscsi req; local 1304 struct ctl_iscsi req; local 1329 struct ctl_iscsi req; local 1354 struct ctl_iscsi req; local [all...] |
/freebsd-current/sys/dev/nvme/ |
H A D | nvme_ns_cmd.c | 36 struct nvme_request *req; local 38 req = nvme_allocate_request_vaddr(payload, 41 if (req == NULL) 44 nvme_ns_read_cmd(&req->cmd, ns->id, lba, lba_count); 46 nvme_ctrlr_submit_io_request(ns->ctrlr, req); 55 struct nvme_request *req; local 59 req = nvme_allocate_request_bio(bp, cb_fn, cb_arg); 61 if (req == NULL) 66 nvme_ns_read_cmd(&req->cmd, ns->id, lba, lba_count); 68 nvme_ctrlr_submit_io_request(ns->ctrlr, req); 77 struct nvme_request *req; local 96 struct nvme_request *req; local 117 struct nvme_request *req; local 142 struct nvme_request *req; local 162 struct nvme_request *req; local [all...] |
/freebsd-current/sys/geom/ |
H A D | geom_ctl.c | 80 gctl_error(struct gctl_req *req, const char *fmt, ...) argument 84 if (req == NULL) 88 if (sbuf_done(req->serror)) { 89 if (!req->nerror) 90 req->nerror = EEXIST; 94 return (req->nerror); 96 if (!req->nerror) 97 req->nerror = EINVAL; 100 if (sbuf_len(req->serror) > 0) 101 sbuf_cat(req 125 gctl_msg(struct gctl_req *req, int errno, const char *fmt, ...) argument 151 gctl_post_messages(struct gctl_req *req) argument 171 geom_alloc_copyin(struct gctl_req *req, void *uaddr, size_t len) argument 184 gctl_copyin(struct gctl_req *req) argument 251 gctl_copyout(struct gctl_req *req) argument 273 gctl_free(struct gctl_req *req) argument 291 gctl_dump(struct gctl_req *req, const char *what) argument 330 gctl_set_param(struct gctl_req *req, const char *param, void const *ptr, int len) argument 354 gctl_set_param_err(struct gctl_req *req, const char *param, void const *ptr, int len) argument 372 gctl_get_param_flags(struct gctl_req *req, const char *param, int flags, int *len) argument 393 gctl_get_param(struct gctl_req *req, const char *param, int *len) argument 400 gctl_get_asciiparam(struct gctl_req *req, const char *param) argument 420 gctl_get_paraml_opt(struct gctl_req *req, const char *param, int len) argument 434 gctl_get_paraml(struct gctl_req *req, const char *param, int len) argument 445 gctl_get_class(struct gctl_req *req, char const *arg) argument 464 gctl_get_geom(struct gctl_req *req, struct g_class *mp, char const *arg) argument 483 gctl_get_provider(struct gctl_req *req, char const *arg) argument 501 g_ctl_getxml(struct gctl_req *req, struct g_class *mp) argument 560 struct gctl_req *req; local 586 struct gctl_req *req; local [all...] |
/freebsd-current/lib/libdevctl/ |
H A D | devctl.c | 35 devctl_request(u_long cmd, struct devreq *req) argument 44 return (ioctl(devctl2_fd, cmd, req)); 50 struct devreq req; local 52 memset(&req, 0, sizeof(req)); 53 if (strlcpy(req.dr_name, name, sizeof(req.dr_name)) >= 54 sizeof(req.dr_name)) { 58 req.dr_flags = flags; 59 return (devctl_request(cmd, &req)); 109 struct devreq req; local 173 struct devreq req; local [all...] |
/freebsd-current/crypto/heimdal/lib/hx509/ |
H A D | req.c | 49 hx509_request_init(hx509_context context, hx509_request *req) argument 51 *req = calloc(1, sizeof(**req)); 52 if (*req == NULL) 59 hx509_request_free(hx509_request *req) argument 61 if ((*req)->name) 62 hx509_name_free(&(*req)->name); 63 free_SubjectPublicKeyInfo(&(*req)->key); 64 free_ExtKeyUsage(&(*req)->eku); 65 free_GeneralNames(&(*req) 72 hx509_request_set_name(hx509_context context, hx509_request req, hx509_name name) argument 87 hx509_request_get_name(hx509_context context, hx509_request req, hx509_name *name) argument 99 hx509_request_set_SubjectPublicKeyInfo(hx509_context context, hx509_request req, const SubjectPublicKeyInfo *key) argument 108 hx509_request_get_SubjectPublicKeyInfo(hx509_context context, hx509_request req, SubjectPublicKeyInfo *key) argument 116 _hx509_request_add_eku(hx509_context context, hx509_request req, const heim_oid *oid) argument 138 _hx509_request_add_dns_name(hx509_context context, hx509_request req, const char *hostname) argument 153 _hx509_request_add_email(hx509_context context, hx509_request req, const char *email) argument 170 _hx509_request_to_pkcs10(hx509_context context, const hx509_request req, const hx509_private_key signer, heim_octet_string *request) argument 241 _hx509_request_parse(hx509_context context, const char *path, hx509_request *req) argument 309 _hx509_request_print(hx509_context context, hx509_request req, FILE *f) argument [all...] |
/freebsd-current/contrib/lib9p/ |
H A D | request.c | 51 static int l9p_dispatch_tversion(struct l9p_request *req); 52 static int l9p_dispatch_tattach(struct l9p_request *req); 53 static int l9p_dispatch_tclunk(struct l9p_request *req); 54 static int l9p_dispatch_tcreate(struct l9p_request *req); 55 static int l9p_dispatch_topen(struct l9p_request *req); 56 static int l9p_dispatch_tread(struct l9p_request *req); 57 static int l9p_dispatch_tremove(struct l9p_request *req); 58 static int l9p_dispatch_tstat(struct l9p_request *req); 59 static int l9p_dispatch_twalk(struct l9p_request *req); 60 static int l9p_dispatch_twrite(struct l9p_request *req); 190 l9p_dispatch_request(struct l9p_request *req) argument 361 l9p_respond(struct l9p_request *req, bool drop, bool rmtag) argument 459 l9p_init_msg(struct l9p_message *msg, struct l9p_request *req, enum l9p_pack_mode mode) argument 555 l9p_pack_stat(struct l9p_message *msg, struct l9p_request *req, struct l9p_stat *st) argument 574 l9p_dispatch_tversion(struct l9p_request *req) argument 610 l9p_dispatch_tattach(struct l9p_request *req) argument 659 l9p_dispatch_tclunk(struct l9p_request *req) argument 695 l9p_dispatch_tcreate(struct l9p_request *req) argument 731 l9p_dispatch_topen(struct l9p_request *req) argument 755 l9p_dispatch_tread(struct l9p_request *req) argument 799 l9p_dispatch_tremove(struct l9p_request *req) argument 824 l9p_dispatch_tstat(struct l9p_request *req) argument 856 l9p_dispatch_twalk(struct l9p_request *req) argument 917 l9p_dispatch_twrite(struct l9p_request *req) argument 962 l9p_dispatch_twstat(struct l9p_request *req) argument 979 l9p_dispatch_tstatfs(struct l9p_request *req) argument 996 l9p_dispatch_tlopen(struct l9p_request *req) argument 1020 l9p_dispatch_tlcreate(struct l9p_request *req) argument 1047 l9p_dispatch_tsymlink(struct l9p_request *req) argument 1070 l9p_dispatch_tmknod(struct l9p_request *req) argument 1093 l9p_dispatch_trename(struct l9p_request *req) argument 1122 l9p_dispatch_treadlink(struct l9p_request *req) argument 1145 l9p_dispatch_tgetattr(struct l9p_request *req) argument 1163 l9p_dispatch_tsetattr(struct l9p_request *req) argument 1181 l9p_dispatch_txattrwalk(struct l9p_request *req) argument 1225 l9p_dispatch_txattrcreate(struct l9p_request *req) argument 1263 l9p_dispatch_treaddir(struct l9p_request *req) argument 1290 l9p_dispatch_tfsync(struct l9p_request *req) argument 1308 l9p_dispatch_tlock(struct l9p_request *req) argument 1330 l9p_dispatch_tgetlock(struct l9p_request *req) argument 1351 l9p_dispatch_tlink(struct l9p_request *req) argument 1379 l9p_dispatch_tmkdir(struct l9p_request *req) argument 1400 l9p_dispatch_trenameat(struct l9p_request *req) argument 1424 l9p_dispatch_tunlinkat(struct l9p_request *req) argument [all...] |
H A D | connection.c | 92 struct l9p_request *req; local 95 req = l9p_calloc(1, sizeof (struct l9p_request)); 96 req->lr_aux = aux; 97 req->lr_conn = conn; 99 req->lr_req_msg.lm_mode = L9P_UNPACK; 100 req->lr_req_msg.lm_niov = niov; 101 memcpy(req->lr_req_msg.lm_iov, iov, sizeof (struct iovec) * niov); 103 req->lr_resp_msg.lm_mode = L9P_PACK; 105 if (l9p_pufcall(&req->lr_req_msg, &req 145 struct l9p_request *req; local [all...] |
/freebsd-current/crypto/openssl/crypto/x509/ |
H A D | x509_req.c | 63 EVP_PKEY *X509_REQ_get_pubkey(X509_REQ *req) argument 65 if (req == NULL) 67 return X509_PUBKEY_get(req->req_info.pubkey); 70 EVP_PKEY *X509_REQ_get0_pubkey(X509_REQ *req) argument 72 if (req == NULL) 74 return X509_PUBKEY_get0(req->req_info.pubkey); 77 X509_PUBKEY *X509_REQ_get_X509_PUBKEY(X509_REQ *req) argument 79 return req->req_info.pubkey; 139 STACK_OF(X509_EXTENSION) *X509_REQ_get_extensions(X509_REQ *req) 146 if (req 170 X509_REQ_add_extensions_nid(X509_REQ *req, const STACK_OF(X509_EXTENSION) *exts, int nid) argument 188 X509_REQ_add_extensions(X509_REQ *req, const STACK_OF(X509_EXTENSION) *exts) argument 195 X509_REQ_get_attr_count(const X509_REQ *req) argument 200 X509_REQ_get_attr_by_NID(const X509_REQ *req, int nid, int lastpos) argument 205 X509_REQ_get_attr_by_OBJ(const X509_REQ *req, const ASN1_OBJECT *obj, int lastpos) argument 211 X509_REQ_get_attr(const X509_REQ *req, int loc) argument 216 X509_REQ_delete_attr(X509_REQ *req, int loc) argument 230 X509_REQ_add1_attr(X509_REQ *req, X509_ATTRIBUTE *attr) argument 242 X509_REQ_add1_attr_by_OBJ(X509_REQ *req, const ASN1_OBJECT *obj, int type, const unsigned char *bytes, int len) argument 257 X509_REQ_add1_attr_by_NID(X509_REQ *req, int nid, int type, const unsigned char *bytes, int len) argument 272 X509_REQ_add1_attr_by_txt(X509_REQ *req, const char *attrname, int type, const unsigned char *bytes, int len) argument 287 X509_REQ_get_version(const X509_REQ *req) argument 292 X509_REQ_get_subject_name(const X509_REQ *req) argument 297 X509_REQ_get0_signature(const X509_REQ *req, const ASN1_BIT_STRING **psig, const X509_ALGOR **palg) argument 306 X509_REQ_set0_signature(X509_REQ *req, ASN1_BIT_STRING *psig) argument 313 X509_REQ_set1_signature_algo(X509_REQ *req, X509_ALGOR *palg) argument 318 X509_REQ_get_signature_nid(const X509_REQ *req) argument 323 i2d_re_X509_REQ_tbs(X509_REQ *req, unsigned char **pp) argument [all...] |
/freebsd-current/lib/geom/cache/ |
H A D | geom_cache.c | 48 static void cache_main(struct gctl_req *req, unsigned flags); 49 static void cache_clear(struct gctl_req *req); 50 static void cache_dump(struct gctl_req *req); 51 static void cache_label(struct gctl_req *req); 107 cache_main(struct gctl_req *req, unsigned flags) argument 114 name = gctl_get_ascii(req, "verb"); 116 gctl_error(req, "No '%s' argument.", "verb"); 120 cache_label(req); 122 cache_clear(req); 124 cache_dump(req); 130 cache_label(struct gctl_req *req) argument 175 cache_clear(struct gctl_req *req) argument 213 cache_dump(struct gctl_req *req) argument [all...] |
/freebsd-current/usr.sbin/bluetooth/sdpd/ |
H A D | scr.c | 50 uint8_t const *req = srv->req + sizeof(sdp_pdu_t); local 51 uint8_t const *req_end = req + ((sdp_pdu_p)(srv->req))->len; 64 !srv->fdidx[fd].priv || req_end - req < 4) 68 SDP_GET32(handle, req); 76 if (req_end - req < provider->profile->dsize || 78 (provider->profile->valid)(req, req_end - req) == 0) 82 if (provider_update(provider, req, req_en [all...] |
/freebsd-current/sbin/geom/misc/ |
H A D | subr.h | 45 void gctl_error(struct gctl_req *req, const char *error, ...) __printflike(2, 3); 46 int gctl_get_int(struct gctl_req *req, const char *pfmt, ...) __printflike(2, 3); 47 intmax_t gctl_get_intmax(struct gctl_req *req, const char *pfmt, ...) __printflike(2, 3); 48 const char *gctl_get_ascii(struct gctl_req *req, const char *pfmt, ...) __printflike(2, 3); 49 int gctl_change_param(struct gctl_req *req, const char *name, int len, 51 int gctl_delete_param(struct gctl_req *req, const char *name); 52 int gctl_has_param(struct gctl_req *req, const char *name);
|
/freebsd-current/lib/geom/journal/ |
H A D | geom_journal.c | 49 static void journal_main(struct gctl_req *req, unsigned flags); 50 static void journal_clear(struct gctl_req *req); 51 static void journal_dump(struct gctl_req *req); 52 static void journal_label(struct gctl_req *req); 87 journal_main(struct gctl_req *req, unsigned flags) argument 94 name = gctl_get_ascii(req, "verb"); 96 gctl_error(req, "No '%s' argument.", "verb"); 100 journal_label(req); 102 journal_clear(req); 104 journal_dump(req); 136 journal_label(struct gctl_req *req) argument 290 journal_clear(struct gctl_req *req) argument 316 journal_dump(struct gctl_req *req) argument [all...] |
/freebsd-current/crypto/openssl/test/smime-certs/ |
H A D | mksmime-certs.sh | 17 CN="Test S/MIME RSA Root" $OPENSSL req -config ca.cnf -x509 -noenc \ 21 CN="Test S/MIME EE RSA #1" $OPENSSL req -config ca.cnf -noenc \ 22 -keyout smrsa1.pem -out req.pem -newkey rsa:2048 24 $OPENSSL x509 -req -in req.pem -CA smroot.pem -days 36500 \ 27 CN="Test S/MIME EE RSA #2" $OPENSSL req -config ca.cnf -noenc \ 28 -keyout smrsa2.pem -out req.pem -newkey rsa:2048 29 $OPENSSL x509 -req -in req.pem -CA smroot.pem -days 36500 \ 32 CN="Test S/MIME EE RSA #3" $OPENSSL req [all...] |
/freebsd-current/sbin/gvinum/ |
H A D | gvinum.c | 138 struct gctl_req *req; local 159 req = gctl_get_handle(); 160 gctl_ro_param(req, "class", -1, "VINUM"); 161 gctl_ro_param(req, "verb", -1, "attach"); 162 gctl_ro_param(req, "child", -1, argv[1]); 163 gctl_ro_param(req, "parent", -1, argv[2]); 164 gctl_ro_param(req, "offset", sizeof(off_t), &offset); 165 gctl_ro_param(req, "rename", sizeof(int), &rename); 166 errstr = gctl_issue(req); 169 gctl_free(req); 175 struct gctl_req *req; local 422 struct gctl_req *req; local 489 struct gctl_req *req; local 569 struct gctl_req *req; local 653 struct gctl_req *req; local 751 struct gctl_req *req; local 806 struct gctl_req *req; local 887 struct gctl_req *req; local 947 struct gctl_req *req; local 1010 struct gctl_req *req; local 1061 struct gctl_req *req; local 1107 struct gctl_req *req; local 1156 struct gctl_req *req; local 1171 struct gctl_req *req; local 1270 struct gctl_req *req; local 1419 struct gctl_req *req; local [all...] |
/freebsd-current/sys/dev/firmware/arm/ |
H A D | scmi.c | 218 struct scmi_req *req; local 224 req = malloc(sizeof(*req) + max_payld_sz, 227 mtx_init(&req->mtx, "req", "SCMI", MTX_SPIN); 228 LIST_INSERT_HEAD(&rp->head, req, next); 239 struct scmi_req *req; local 241 LIST_FOREACH(req, &rp->head, next) { 242 mtx_destroy(&req->mtx); 243 free(req, M_DEVBU 306 struct scmi_req *req = NULL; local 323 scmi_req_free_unlocked(struct scmi_softc *sc, enum scmi_chan ch_idx, struct scmi_req *req) argument 338 scmi_req_get(struct scmi_softc *sc, struct scmi_req *req) argument 353 scmi_req_put(struct scmi_softc *sc, struct scmi_req *req) argument 400 scmi_finalize_req(struct scmi_softc *sc, struct scmi_req *req) argument 420 scmi_req_track_inflight(struct scmi_softc *sc, struct scmi_req *req) argument 440 scmi_req_drop_inflight(struct scmi_softc *sc, struct scmi_req *req) argument 457 struct scmi_req *req = NULL; local 475 struct scmi_req *req; local 531 scmi_wait_for_response(struct scmi_softc *sc, struct scmi_req *req, void **out) argument 589 struct scmi_req *req; local 617 struct scmi_req *req; local 629 struct scmi_req *req; local [all...] |