/freebsd-11-stable/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-11-stable/sys/dev/io/ |
H A D | iodev.c | 51 static int iopio_read(struct iodev_pio_req *req); 52 static int iopio_write(struct iodev_pio_req *req); 122 iopio_read(struct iodev_pio_req *req) argument 125 switch (req->width) { 127 req->val = iodev_read_1(req->port); 130 if (req->port & 1) { 131 req->val = iodev_read_1(req->port); 132 req 155 iopio_write(struct iodev_pio_req *req) argument [all...] |
/freebsd-11-stable/tools/tools/ath/common/ |
H A D | ctrl.h | 46 extern int ath_driver_req_init(struct ath_driver_req *req); 47 extern int ath_driver_req_open(struct ath_driver_req *req, const char *ifname); 48 extern int ath_driver_req_close(struct ath_driver_req *req); 49 extern int ath_driver_req_fetch_diag(struct ath_driver_req *req, 51 extern int ath_driver_req_zero_stats(struct ath_driver_req *req); 52 extern int ath_driver_req_fetch_stats(struct ath_driver_req *req, 54 extern int ath_drive_req_fetch_aggr_stats(struct ath_driver_req *req, 56 extern int ath_drive_req_fetch_ratectrl_stats(struct ath_driver_req *req,
|
H A D | ctrl.c | 72 ath_driver_req_init(struct ath_driver_req *req) argument 75 bzero(req, sizeof(*req)); 76 req->s = -1; 88 ath_driver_req_open(struct ath_driver_req *req, const char *ifname) argument 93 ath_driver_req_close(req); 101 req->ifname = strdup(ifname); 102 req->s = s; 111 ath_driver_req_close(struct ath_driver_req *req) argument 113 if (req 126 ath_driver_req_fetch_diag(struct ath_driver_req *req, unsigned long cmd, struct ath_diag *ad) argument 141 ath_driver_req_zero_stats(struct ath_driver_req *req) argument 162 ath_driver_req_fetch_stats(struct ath_driver_req *req, struct ath_stats *st) argument 183 ath_drive_req_fetch_aggr_stats(struct ath_driver_req *req, struct ath_tx_aggr_stats *tx) argument 208 ath_drive_req_fetch_ratectrl_stats(struct ath_driver_req *req, struct ath_rateioctl *r) argument [all...] |
/freebsd-11-stable/sys/geom/ |
H A D | geom_ctl.c | 91 gctl_error(struct gctl_req *req, const char *fmt, ...) argument 95 if (req == NULL) 99 if (sbuf_done(req->serror)) { 100 if (!req->nerror) 101 req->nerror = EEXIST; 102 return (req->nerror); 104 if (!req->nerror) 105 req->nerror = EINVAL; 108 sbuf_vprintf(req->serror, fmt, ap); 110 sbuf_finish(req 121 geom_alloc_copyin(struct gctl_req *req, void *uaddr, size_t len) argument 134 gctl_copyin(struct gctl_req *req) argument 197 gctl_copyout(struct gctl_req *req) argument 219 gctl_free(struct gctl_req *req) argument 237 gctl_dump(struct gctl_req *req) argument 276 gctl_set_param(struct gctl_req *req, const char *param, void const *ptr, int len) argument 300 gctl_set_param_err(struct gctl_req *req, const char *param, void const *ptr, int len) argument 318 gctl_get_param(struct gctl_req *req, const char *param, int *len) argument 339 gctl_get_asciiparam(struct gctl_req *req, const char *param) argument 366 gctl_get_paraml(struct gctl_req *req, const char *param, int len) argument 382 gctl_get_class(struct gctl_req *req, char const *arg) argument 398 gctl_get_geom(struct gctl_req *req, struct g_class *mpr, char const *arg) argument 420 gctl_get_provider(struct gctl_req *req, char const *arg) argument 439 struct gctl_req *req; local 466 struct gctl_req *req; local [all...] |
/freebsd-11-stable/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_param_add(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-11-stable/usr.sbin/ctld/ |
H A D | isns.c | 52 struct isns_req *req; local 54 req = calloc(sizeof(struct isns_req), 1); 55 if (req == NULL) { 59 req->ir_buflen = sizeof(struct isns_hdr); 60 req->ir_usedlen = 0; 61 req->ir_buf = calloc(req->ir_buflen, 1); 62 if (req->ir_buf == NULL) { 63 free(req); 67 return (req); 73 struct isns_req *req; local 86 isns_req_free(struct isns_req *req) argument 94 isns_req_getspace(struct isns_req *req, uint32_t len) argument 113 isns_req_add(struct isns_req *req, uint32_t tag, uint32_t len, const void *value) argument 131 isns_req_add_delim(struct isns_req *req) argument 138 isns_req_add_str(struct isns_req *req, uint32_t tag, const char *value) argument 145 isns_req_add_32(struct isns_req *req, uint32_t tag, uint32_t value) argument 154 isns_req_add_addr(struct isns_req *req, uint32_t tag, struct addrinfo *ai) argument 180 isns_req_add_port(struct isns_req *req, uint32_t tag, struct addrinfo *ai) argument 204 isns_req_send(int s, struct isns_req *req) argument 221 isns_req_receive(int s, struct isns_req *req) argument 248 isns_req_get_status(struct isns_req *req) argument [all...] |
/freebsd-11-stable/lib/libdevctl/ |
H A D | devctl.c | 37 devctl_request(u_long cmd, struct devreq *req) argument 46 return (ioctl(devctl2_fd, cmd, req)); 52 struct devreq req; local 54 memset(&req, 0, sizeof(req)); 55 if (strlcpy(req.dr_name, name, sizeof(req.dr_name)) >= 56 sizeof(req.dr_name)) { 60 req.dr_flags = flags; 61 return (devctl_request(cmd, &req)); 111 struct devreq req; local [all...] |
/freebsd-11-stable/sys/dev/netmap/ |
H A D | netmap_legacy.c | 60 struct nmreq_register *req) 62 req->nr_offset = nmr->nr_offset; 63 req->nr_memsize = nmr->nr_memsize; 64 req->nr_tx_slots = nmr->nr_tx_slots; 65 req->nr_rx_slots = nmr->nr_rx_slots; 66 req->nr_tx_rings = nmr->nr_tx_rings; 67 req->nr_rx_rings = nmr->nr_rx_rings; 68 req->nr_mem_id = nmr->nr_arg2; 69 req->nr_ringid = nmr->nr_ringid & NETMAP_RING_MASK; 81 req 59 nmreq_register_from_legacy(struct nmreq *nmr, struct nmreq_header *hdr, struct nmreq_register *req) argument 142 struct nmreq_register *req = nm_os_malloc(sizeof(*req)); local 152 struct nmreq_vale_attach *req = nm_os_malloc(sizeof(*req)); local 174 struct nmreq_port_hdr *req = nm_os_malloc(sizeof(*req)); local 183 struct nmreq_vale_newif *req = nm_os_malloc(sizeof(*req)); local 200 struct nmreq_vale_polling *req = nm_os_malloc(sizeof(*req)); local 232 struct nmreq_vale_list *req = nm_os_malloc(sizeof(*req)); local 240 struct nmreq_port_info_get *req = nm_os_malloc(sizeof(*req)); local 269 nmreq_register_to_legacy(const struct nmreq_register *req, struct nmreq *nmr) argument 293 struct nmreq_register *req = local 299 struct nmreq_port_info_get *req = local 310 struct nmreq_vale_attach *req = local 319 struct nmreq_vale_list *req = local 328 struct nmreq_port_hdr *req = local 334 struct nmreq_vale_newif *req = local [all...] |
/freebsd-11-stable/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-11-stable/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-11-stable/sys/nfsserver/ |
H A D | nfs_fha_old.h | 35 SVCTHREAD *fhaold_assign(SVCTHREAD *this_thread, struct svc_req *req);
|
/freebsd-11-stable/sys/fs/nfsserver/ |
H A D | nfs_fha_new.h | 36 SVCTHREAD *fhanew_assign(SVCTHREAD *this_thread, struct svc_req *req);
|
/freebsd-11-stable/sbin/geom/class/eli/ |
H A D | geom_eli.c | 66 static void eli_main(struct gctl_req *req, unsigned flags); 67 static void eli_init(struct gctl_req *req); 68 static void eli_attach(struct gctl_req *req); 69 static void eli_configure(struct gctl_req *req); 70 static void eli_setkey(struct gctl_req *req); 71 static void eli_delkey(struct gctl_req *req); 72 static void eli_resume(struct gctl_req *req); 73 static void eli_kill(struct gctl_req *req); 74 static void eli_backup(struct gctl_req *req); 75 static void eli_restore(struct gctl_req *req); 281 eli_protect(struct gctl_req *req) argument 302 eli_main(struct gctl_req *req, unsigned int flags) argument 362 eli_genkey_files(struct gctl_req *req, bool new, const char *type, struct hmac_ctx *ctxp, char *passbuf, size_t passbufsize) argument 435 eli_genkey_passphrase_prompt(struct gctl_req *req, bool new, char *passbuf, size_t passbufsize) argument 478 eli_genkey_passphrase(struct gctl_req *req, struct g_eli_metadata *md, bool new, struct hmac_ctx *ctxp) argument 548 eli_genkey(struct gctl_req *req, struct g_eli_metadata *md, unsigned char *key, bool new) argument 577 eli_metadata_read(struct gctl_req *req, const char *prov, struct g_eli_metadata *md) argument 633 eli_metadata_store(struct gctl_req *req, const char *prov, struct g_eli_metadata *md) argument 674 eli_init(struct gctl_req *req) argument 902 eli_attach(struct gctl_req *req) argument 940 eli_configure_detached(struct gctl_req *req, const char *prov, int boot, int geliboot, int displaypass, int trim) argument 1012 eli_configure(struct gctl_req *req) argument 1094 eli_setkey_attached(struct gctl_req *req, struct g_eli_metadata *md) argument 1128 eli_setkey_detached(struct gctl_req *req, const char *prov, struct g_eli_metadata *md) argument 1223 eli_setkey(struct gctl_req *req) argument 1252 eli_delkey_attached(struct gctl_req *req, const char *prov __unused) argument 1259 eli_delkey_detached(struct gctl_req *req, const char *prov) argument 1304 eli_delkey(struct gctl_req *req) argument 1323 eli_resume(struct gctl_req *req) argument 1361 eli_trash_metadata(struct gctl_req *req, const char *prov, int fd, off_t offset) argument 1405 eli_kill_detached(struct gctl_req *req, const char *prov) argument 1444 eli_kill(struct gctl_req *req) argument 1477 eli_backup_create(struct gctl_req *req, const char *prov, const char *file) argument 1534 eli_backup(struct gctl_req *req) argument 1551 eli_restore(struct gctl_req *req) argument 1591 eli_resize(struct gctl_req *req) argument 1697 eli_version(struct gctl_req *req) argument 1737 eli_clear(struct gctl_req *req) argument 1763 eli_dump(struct gctl_req *req) argument [all...] |
/freebsd-11-stable/sys/dev/bnxt/ |
H A D | bnxt_hwrm.c | 43 struct hwrm_port_phy_cfg_input *req); 45 struct hwrm_port_phy_cfg_input *req); 47 struct hwrm_port_phy_cfg_input *req); 107 struct input *req = request; local 109 req->req_type = htole16(req_type); 110 req->cmpl_ring = 0xffff; 111 req->target_id = 0xffff; 112 req->resp_addr = htole64(softc->hwrm_cmd_resp.idi_paddr); 118 struct input *req = msg; local 129 req 233 struct hwrm_queue_qportcfg_input req = {0}; local 270 struct hwrm_ver_get_input req = {0}; local 365 struct hwrm_func_drv_rgtr_input req = {0}; local 384 struct hwrm_func_drv_unrgtr_input req = {0}; local 420 struct hwrm_func_qcaps_input req = {0}; local 475 struct hwrm_func_qcfg_input req = {0}; local 500 struct hwrm_func_reset_input req = {0}; local 509 bnxt_hwrm_set_link_common(struct bnxt_softc *softc, struct hwrm_port_phy_cfg_input *req) argument 534 bnxt_hwrm_set_pause_common(struct bnxt_softc *softc, struct hwrm_port_phy_cfg_input *req) argument 565 bnxt_hwrm_set_eee(struct bnxt_softc *softc, struct hwrm_port_phy_cfg_input *req) argument 594 struct hwrm_port_phy_cfg_input req = {0}; local 635 struct hwrm_vnic_cfg_input req = {0}; local 663 struct hwrm_vnic_alloc_input req = {0}; local 694 struct hwrm_vnic_rss_cos_lb_ctx_alloc_input req = {0}; local 722 struct hwrm_ring_grp_alloc_input req = {0}; local 759 struct hwrm_ring_alloc_input req = {0}; local 810 struct hwrm_stat_ctx_alloc_input req = {0}; local 843 struct hwrm_port_qstats_input req = {0}; local 863 struct hwrm_cfa_l2_set_rx_mask_input req = {0}; local 914 struct hwrm_cfa_l2_filter_alloc_input req = {0}; local 955 struct hwrm_vnic_rss_cfg_input req = {0}; local 975 struct hwrm_func_cfg_input req = {0}; local 986 struct hwrm_func_vf_cfg_input req = {0}; local 1017 struct hwrm_vnic_tpa_cfg_input req = {0}; local 1059 struct hwrm_nvm_find_dir_entry_input req = {0}; local 1105 struct hwrm_nvm_read_input req = {0}; local 1138 struct hwrm_nvm_modify_input req = {0}; local 1180 struct hwrm_fw_reset_input req = {0}; local 1205 struct hwrm_fw_qstatus_input req = {0}; local 1232 struct hwrm_nvm_write_input req = {0}; local 1296 struct hwrm_nvm_erase_dir_entry_input req = {0}; local 1315 struct hwrm_nvm_get_dir_info_input req = {0}; local 1345 struct hwrm_nvm_get_dir_entries_input req = {0}; local 1391 struct hwrm_nvm_get_dev_info_input req = {0}; local 1430 struct hwrm_nvm_install_update_input req = {0}; local 1465 struct hwrm_nvm_verify_update_input req = {0}; local 1489 struct hwrm_fw_get_time_input req = {0}; local 1528 struct hwrm_fw_set_time_input req = {0}; local 1547 struct hwrm_port_phy_qcfg_input req = {0}; local 1632 struct hwrm_wol_filter_qcfg_input req = {0}; local 1658 struct hwrm_wol_filter_alloc_input req = {0}; local 1679 struct hwrm_wol_filter_free_input req = {0}; local 1689 bnxt_hwrm_set_coal_params(struct bnxt_softc *softc, uint32_t max_frames, uint32_t buf_tmrs, uint16_t flags, struct hwrm_ring_cmpl_ring_cfg_aggint_params_input *req) argument 1709 req_tx = {0}, *req; local 1780 struct hwrm_func_drv_rgtr_input req = {0}; local [all...] |
/freebsd-11-stable/sbin/geom/class/cache/ |
H A D | geom_cache.c | 50 static void cache_main(struct gctl_req *req, unsigned flags); 51 static void cache_clear(struct gctl_req *req); 52 static void cache_dump(struct gctl_req *req); 53 static void cache_label(struct gctl_req *req); 109 cache_main(struct gctl_req *req, unsigned flags) argument 116 name = gctl_get_ascii(req, "verb"); 118 gctl_error(req, "No '%s' argument.", "verb"); 122 cache_label(req); 124 cache_clear(req); 126 cache_dump(req); 132 cache_label(struct gctl_req *req) argument 177 cache_clear(struct gctl_req *req) argument 215 cache_dump(struct gctl_req *req) argument [all...] |
/freebsd-11-stable/usr.sbin/mpsutil/ |
H A D | mps_cmd.c | 290 MPI2_CONFIG_REQUEST req; local 293 bzero(&req, sizeof(req)); 294 req.Function = MPI2_FUNCTION_CONFIG; 295 req.Action = MPI2_CONFIG_ACTION_PAGE_HEADER; 296 req.Header.PageType = PageType; 297 req.Header.PageNumber = PageNumber; 298 req.PageAddress = PageAddress; 300 if (mps_pass_command(fd, &req, sizeof(req), 318 MPI2_CONFIG_REQUEST req; local 349 MPI2_CONFIG_REQUEST req; local 398 MPI2_CONFIG_REQUEST req; local 450 MPI2_FW_DOWNLOAD_REQUEST req; local 470 MPI2_FW_UPLOAD_REQUEST req; local 509 struct mps_cfg_page_req req; local 534 struct mps_cfg_page_req req; local 574 struct mps_ext_cfg_page_req req; local 630 mps_user_command(int fd, void *req, uint32_t req_len, void *reply, uint32_t reply_len, void *buffer, int len, uint32_t flags) argument 650 mps_pass_command(int fd, void *req, uint32_t req_len, void *reply, uint32_t reply_len, void *data_in, uint32_t datain_len, void *data_out, uint32_t dataout_len, uint32_t timeout) argument 700 MPI2_IOC_FACTS_REQUEST req; local [all...] |
/freebsd-11-stable/contrib/mdocml/ |
H A D | cgi.c | 57 struct req { struct 72 static void parse_manpath_conf(struct req *); 73 static void parse_path_info(struct req *req, const char *path); 74 static void parse_query_string(struct req *, const char *); 77 static void pg_index(const struct req *); 78 static void pg_noresult(const struct req *, const char *); 79 static void pg_redirect(const struct req *, const char *); 80 static void pg_search(const struct req *); 81 static void pg_searchres(const struct req *, 197 parse_query_string(struct req *req, const char *qs) argument 390 resp_searchform(const struct req *req, enum focus focus) argument 481 validate_manpath(const struct req *req, const char* manpath) argument 504 pg_index(const struct req *req) argument 522 pg_noresult(const struct req *req, const char *msg) argument 555 pg_redirect(const struct req *req, const char *name) argument 572 pg_searchres(const struct req *req, struct manpage *r, size_t sz) argument 682 resp_catman(const struct req *req, const char *file) argument 819 resp_format(const struct req *req, const char *file) argument 874 resp_show(const struct req *req, const char *file) argument 887 pg_show(struct req *req, const char *fullpath) argument 934 pg_search(const struct req *req) argument 1017 struct req req; local 1121 parse_path_info(struct req *req, const char *path) argument 1198 parse_manpath_conf(struct req *req) argument [all...] |
/freebsd-11-stable/usr.sbin/bluetooth/sdpd/ |
H A D | scr.c | 51 uint8_t const *req = srv->req + sizeof(sdp_pdu_t); local 52 uint8_t const *req_end = req + ((sdp_pdu_p)(srv->req))->len; 65 !srv->fdidx[fd].priv || req_end - req < 4) 69 SDP_GET32(handle, req); 77 if (req_end - req < provider->profile->dsize || 79 (provider->profile->valid)(req, req_end - req) == 0) 83 if (provider_update(provider, req, req_en [all...] |
/freebsd-11-stable/sbin/geom/misc/ |
H A D | subr.h | 47 void gctl_error(struct gctl_req *req, const char *error, ...) __printflike(2, 3); 48 int gctl_get_int(struct gctl_req *req, const char *pfmt, ...) __printflike(2, 3); 49 intmax_t gctl_get_intmax(struct gctl_req *req, const char *pfmt, ...) __printflike(2, 3); 50 const char *gctl_get_ascii(struct gctl_req *req, const char *pfmt, ...) __printflike(2, 3); 51 int gctl_change_param(struct gctl_req *req, const char *name, int len, 53 int gctl_delete_param(struct gctl_req *req, const char *name); 54 int gctl_has_param(struct gctl_req *req, const char *name);
|
/freebsd-11-stable/sbin/ifconfig/ |
H A D | ifbridge.c | 130 struct ifbreq req; local 132 strlcpy(req.ifbr_ifsname, ifs, sizeof(req.ifbr_ifsname)); 134 if (do_cmd(sock, BRDGGIFFLGS, &req, sizeof(req), 0) < 0) 138 req.ifbr_ifsflags |= flag; 140 req.ifbr_ifsflags &= ~flag; 142 if (do_cmd(sock, BRDGSIFFLGS, &req, sizeof(req), 1) < 0) 150 struct ifbreq *req; local 295 struct ifbreq req; local 306 struct ifbreq req; local 359 struct ifbreq req; local 370 struct ifbreq req; local 443 struct ifbreq req; local 454 struct ifbreq req; local 466 struct ifbareq req; local 487 struct ifbareq req; local 620 struct ifbreq req; local 639 struct ifbreq req; local 658 struct ifbreq req; local [all...] |
/freebsd-11-stable/sbin/geom/class/journal/ |
H A D | geom_journal.c | 52 static void journal_main(struct gctl_req *req, unsigned flags); 53 static void journal_clear(struct gctl_req *req); 54 static void journal_dump(struct gctl_req *req); 55 static void journal_label(struct gctl_req *req); 90 journal_main(struct gctl_req *req, unsigned flags) argument 97 name = gctl_get_ascii(req, "verb"); 99 gctl_error(req, "No '%s' argument.", "verb"); 103 journal_label(req); 105 journal_clear(req); 107 journal_dump(req); 139 journal_label(struct gctl_req *req) argument 293 journal_clear(struct gctl_req *req) argument 319 journal_dump(struct gctl_req *req) argument [all...] |
/freebsd-11-stable/sbin/gvinum/ |
H A D | gvinum.c | 141 struct gctl_req *req; local 162 req = gctl_get_handle(); 163 gctl_ro_param(req, "class", -1, "VINUM"); 164 gctl_ro_param(req, "verb", -1, "attach"); 165 gctl_ro_param(req, "child", -1, argv[1]); 166 gctl_ro_param(req, "parent", -1, argv[2]); 167 gctl_ro_param(req, "offset", sizeof(off_t), &offset); 168 gctl_ro_param(req, "rename", sizeof(int), &rename); 169 errstr = gctl_issue(req); 172 gctl_free(req); 178 struct gctl_req *req; local 424 struct gctl_req *req; local 491 struct gctl_req *req; local 571 struct gctl_req *req; local 653 struct gctl_req *req; local 751 struct gctl_req *req; local 806 struct gctl_req *req; local 883 struct gctl_req *req; local 943 struct gctl_req *req; local 1006 struct gctl_req *req; local 1057 struct gctl_req *req; local 1103 struct gctl_req *req; local 1152 struct gctl_req *req; local 1167 struct gctl_req *req; local 1266 struct gctl_req *req; local 1415 struct gctl_req *req; local [all...] |
/freebsd-11-stable/sbin/geom/class/raid3/ |
H A D | geom_raid3.c | 50 static void raid3_main(struct gctl_req *req, unsigned f); 51 static void raid3_clear(struct gctl_req *req); 52 static void raid3_dump(struct gctl_req *req); 53 static void raid3_label(struct gctl_req *req); 121 raid3_main(struct gctl_req *req, unsigned flags) argument 128 name = gctl_get_ascii(req, "verb"); 130 gctl_error(req, "No '%s' argument.", "verb"); 134 raid3_label(req); 136 raid3_clear(req); 138 raid3_dump(req); 144 raid3_label(struct gctl_req *req) argument 280 raid3_clear(struct gctl_req *req) argument 306 raid3_dump(struct gctl_req *req) argument [all...] |