/illumos-gate/usr/src/cmd/geniconvtbl/ |
H A D | itm_util.c | 1816 static long buf_len; local 1822 if (buf_len < (2 + (length * 2) + 1)) { 1824 buf_len = (2 + (length * 2) + 1) + 16; 1825 buf = malloc_vital(buf_len);
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/vf/channel_vf/ |
H A D | lm_vf.c | 2053 lm_status_t lm_vf_pf_set_q_filters(struct _lm_device_t * pdev, u8 vf_qid, void * cookie, q_filter_type filter_type, u8_t * pbuf, u32_t buf_len, argument 2081 is_clear = ((pbuf == NULL) || (buf_len == 0)); 2088 num_entries = min((u32_t)num_entries, buf_len/ETHERNET_ADDRESS_SIZE); 2115 num_entries = min((u32_t)num_entries, buf_len/ETHERNET_ADDRESS_SIZE); 2131 DbgBreakIf(is_clear || (buf_len != sizeof(lm_rx_mask_t))); 2170 is_clear = ((pbuf == NULL) || (buf_len == 0)); 2177 num_entries = min((u32_t)num_entries, buf_len/ETHERNET_ADDRESS_SIZE); 2204 num_entries = min((u32_t)num_entries, buf_len/ETHERNET_ADDRESS_SIZE); 2220 DbgBreakIf(is_clear || (buf_len != sizeof(lm_rx_mask_t)));
|
/illumos-gate/usr/src/uts/common/io/audio/drv/audio1575/ |
H A D | audio1575.h | 343 uint16_t buf_len; /* the number of samples */ member in struct:m1575_bd_entry
|
/illumos-gate/usr/src/uts/common/io/audio/drv/audioixp/ |
H A D | audioixp.h | 233 uint16_t buf_len; /* size of the buffer in DWORD */ member in struct:audioixp_bd_entry
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/ |
H A D | lm_sp.c | 2247 u32_t buf_len, 2250 u8 mc_count = buf_len / ETHERNET_ADDRESS_SIZE; 2261 while(buf_len && mc_addrs) 2268 buf_len -= ETHERNET_ADDRESS_SIZE; 2298 * @param buf_len - length of the buffer - 0 if unset is required 2308 u32_t buf_len, /* may be 0 (for unset) */ 2317 return lm_vf_pf_set_q_filters(pdev, lm_cli_idx, cookie, Q_FILTER_MC, mc_addrs, buf_len, LM_SET_CAM_NO_VLAN_FILTER, FALSE); 2332 _init_mcast_macs_list(pdev, mc_addrs, buf_len, &rparam); 2245 _init_mcast_macs_list(lm_device_t *pdev, u8_t* mc_addrs, u32_t buf_len, struct ecore_mcast_ramrod_params *p) argument 2306 lm_set_mc(struct _lm_device_t *pdev, u8_t* mc_addrs, u32_t buf_len, void * cookie, lm_cli_idx_t lm_cli_idx) argument
|
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/ |
H A D | smbns_dyndns.c | 557 * buf_len : buffer length 575 dyndns_build_header(char **ptr, int buf_len, uint16_t msg_id, int query_req, argument 581 if (buf_len < 12) { 612 * buf_len: buffer length 622 dyndns_build_quest_zone(char **ptr, int buf_len, char *name, int type, argument 627 if ((strlen(name) + 6) > buf_len) { 647 * buf_len : buffer length 664 dyndns_build_update(char **ptr, int buf_len, char *name, int type, int class, argument 691 if (rec_len + data_len > buf_len) { 737 * buf_len 748 dyndns_build_tkey(char **ptr, int buf_len, char *name, int key_expire, char *data, int data_size) argument 806 dyndns_build_tsig(char **ptr, int buf_len, int msg_id, char *name, int fudge_time, char *data, int data_size, int data_signed) argument [all...] |
/illumos-gate/usr/src/lib/storage/liba5k/common/ |
H A D | mon.c | 4276 int buf_len, int sp) 4280 while (buf_len) { 4281 sz = MIN(256, buf_len); 4282 buf_len -= sz; 4302 * buf_len - int for the length of the data 4310 dak_download_code_cmd(int fd, uchar_t *buf_ptr, int buf_len) argument 4316 while (buf_len > 0) { 4317 sz = MIN(256, buf_len); 4318 buf_len -= sz; 4275 ib_download_code_cmd(int fd, int promid, int off, uchar_t *buf_ptr, int buf_len, int sp) argument
|
/illumos-gate/usr/src/uts/common/io/usb/clients/video/usbvc/ |
H A D | usbvc.c | 2919 int buf_cnt, int buf_len) 2926 "usbvc_alloc_map_bufs: bufcnt=%d, buflen=%d", buf_cnt, buf_len); 2927 if (buf_len <= 0 || buf_cnt <= 0) { 2940 buf_len = ptob(btopr(buf_len)); 2943 bufs[0].data = ddi_umem_alloc(buf_len * buf_cnt, DDI_UMEM_SLEEP, 2948 bufs[i].len = buf_len; 2949 bufs[i].data = bufs[0].data + (buf_len * i); 2918 usbvc_alloc_map_bufs(usbvc_state_t *usbvcp, usbvc_stream_if_t *strm_if, int buf_cnt, int buf_len) argument
|
/illumos-gate/usr/src/uts/common/io/usb/hcd/ehci/ |
H A D | ehci_xfer.c | 2395 size_t buf_len = qtd_length; local 2419 ASSERT(buf_len == 0 || qtd_dma_offs >= tw->tw_dma_offs); 2427 Set_QTD(qtd->qtd_xfer_len, buf_len); 2429 while (buf_len) { 2469 if (buf_len <= EHCI_MAX_QTD_BUF_SIZE) { 2470 ASSERT(buf_len <= rem_len); 2474 buf_len -= EHCI_MAX_QTD_BUF_SIZE;
|
/illumos-gate/usr/src/boot/sys/boot/fdt/ |
H A D | fdt_loader_cmd.c | 987 int buf_len, i, l; local 994 buf_len = len; 1000 buf_len -= count - 1; 1003 buf_len += count * 2; 1007 buf_len += count * 2; 1009 /* Note that string being put in 'tmp' may be as big as 'buf_len'. */ 1010 b = (char *)malloc(buf_len); 1011 tmp = (char *)malloc(buf_len);
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip6.c | 4566 ip_build_hdrs_v6(uchar_t *buf, uint_t buf_len, const ip_pkt_t *ipp, argument 4692 ASSERT((int)(cp - buf) == buf_len);
|
H A D | ip.c | 13568 ip_build_hdrs_v4(uchar_t *buf, uint_t buf_len, const ip_pkt_t *ipp, argument 13605 (uint8_t)((IP_VERSION << 4) + buf_len / 4); 13607 ASSERT((int)(cp - buf) == buf_len);
|
/illumos-gate/usr/src/lib/storage/libg_fc/common/ |
H A D | map.c | 4027 g_scsi_inquiry_cmd80(int fd, uchar_t *buf_ptr, int buf_len) argument 4033 (void) memset(buf_ptr, 0, buf_len); 4035 cdb.count = (uchar_t)buf_len; 4039 ucmd.uscsi_buflen = buf_len;
|
/illumos-gate/usr/src/uts/common/io/sfe/ |
H A D | sfe_util.c | 612 size_t buf_len; local 719 &buf, &buf_len, 730 NULL, buf, buf_len,
|
/illumos-gate/usr/src/uts/common/io/ixgbe/core/ |
H A D | ixgbe_common.c | 4384 u16 buf_len; local 4450 buf_len = ((struct ixgbe_hic_hdr *)buffer)->buf_len; 4451 if (buf_len == 0) 4454 if (length < buf_len + hdr_size) { 4460 dword_len = (buf_len + 3) >> 2; 4500 fw_cmd.hdr.buf_len = FW_CEM_CMD_DRIVER_INFO_LEN; 4509 (FW_CEM_HDR_LEN + fw_cmd.hdr.buf_len));
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/wificonfig/ |
H A D | wificonfig.c | 1169 call_ioctl(int fd, int cmd, uint32_t params, uint32_t buf_len) argument 1174 fd, cmd, params, buf_len)); 1182 gbuf->wldp_length = buf_len + WIFI_BUF_OFFSET;
|
/illumos-gate/usr/src/uts/common/io/usb/hcd/openhci/ |
H A D | ohci.c | 6081 size_t buf_len = hctd_length; local 6089 ASSERT(buf_len == 0 || hctd_dma_offs >= tw->tw_dma_offs); 6092 Set_TD(td->hctd_xfer_len, buf_len); 6095 for (i = 0; (i < 2) && (buf_len > 0); i++) { 6133 if (buf_len <= OHCI_MAX_TD_BUF_SIZE) { 6134 ASSERT(buf_len <= rem_len); 6135 end_addr = page_addr + buf_len - 1; 6136 buf_len = 0; 6140 buf_len -= OHCI_MAX_TD_BUF_SIZE; 6145 ASSERT(buf_len 6167 size_t buf_len; local [all...] |
/illumos-gate/usr/src/lib/krb5/plugins/preauth/pkinit/ |
H A D | pkinit_crypto_openssl.c | 2519 unsigned char **buf, unsigned int *buf_len) 2548 *buf_len = r; 4760 int buf_len = 0; local 4772 buf_len = EVP_PKEY_size(pkey); 4773 buf = (unsigned char *)malloc((size_t) buf_len + 10); 2518 pkinit_encode_dh_params(BIGNUM *p, BIGNUM *g, BIGNUM *q, unsigned char **buf, unsigned int *buf_len) argument
|
/illumos-gate/usr/src/uts/common/io/i40e/core/ |
H A D | i40e_common.c | 312 * @buf_len: max length of buffer 317 void *buffer, u16 buf_len) 345 if (buf_len < len) 346 len = buf_len; 316 i40e_debug_aq(struct i40e_hw *hw, enum i40e_debug_mask mask, void *desc, void *buffer, u16 buf_len) argument
|
/illumos-gate/usr/src/uts/common/io/aac/ |
H A D | aac.c | 7296 int buf_len = AAC_SCSI_RPTLUNS_HEAD_SIZE + AAC_SCSI_RPTLUNS_ADDR_SIZE; local 7314 buf_len, B_READ, NULL_FUNC, NULL)) == NULL) 7328 data = buf_len; 7347 if (buf_len < list_len + AAC_SCSI_RPTLUNS_HEAD_SIZE) { 7350 buf_len = list_len + AAC_SCSI_RPTLUNS_HEAD_SIZE;
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/ |
H A D | iscsi.h | 485 int buf_len; member in struct:iscsi_cmd::__anon6492::__anon6500 1244 char *buf, uint32_t buf_len, uint32_t data_len, uint32_t *rx_data_len);
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/ |
H A D | fcp.c | 2304 int buf_len; local 2767 buf_len = fscsi->scsi_buflen; 2779 buf_len -= fscsi->scsi_bufresid; 2810 if (buf_len) { 2814 buf_len);
|
/illumos-gate/usr/src/uts/common/io/sata/impl/ |
H A D | sata.c | 16473 sata_check_modser(char *buf, int buf_len) argument 16483 for (i = 0; i < buf_len; i++) {
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/ |
H A D | mptsas.c | 14162 int buf_len = 128; local 14210 (struct buf *)NULL, buf_len, B_READ, NULL_FUNC, NULL); 14217 cdb[6] = (buf_len & 0xff000000) >> 24; 14218 cdb[7] = (buf_len & 0x00ff0000) >> 16; 14219 cdb[8] = (buf_len & 0x0000ff00) >> 8; 14220 cdb[9] = (buf_len & 0x000000ff); 14231 if (buf_len >= lun_list_len + 8) { 14236 buf_len = lun_list_len + 8;
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/qlge/ |
H A D | qlge_hw.h | 2021 uint32_t buf_len; member in struct:oal_entry
|