Searched defs:data (Results 1 - 25 of 1832) sorted by last modified time

1234567891011>>

/illumos-gate/usr/src/test/os-tests/tests/sockfs/
H A Drights.c19 * on message truncation in terms of the represented size of the data in the
55 uint_t x_cmsg_datalen; /* Expected received cmsg data length */
121 /* Tests where there is no room allowed for data */
403 /* A dummy cmsg will be inserted at the head of the data */
548 /* A dummy cmsg will be found at the head of the data */
578 void *data, *end; local
595 data = CMSG_DATA(cm);
606 end = data + cm->cmsg_len - CMSG_LEN(0);
609 while (data <= end - sizeof (int)) {
610 int *a = (int *)data;
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Depoll.h40 epoll_data_t data; /* user-specified data */ member in struct:epoll_event
/illumos-gate/usr/src/uts/common/io/blkdev/
H A Dblkdev.c94 * o_read: Read data as described by bd_xfer_t argument.
96 * o_write: Write data as described by bd_xfer_t argument.
101 * Part of the drive_info data is a queue count. blkdev will create
388 bd_prop_update_inqstring(dev_info_t *dip, char *name, char *data, size_t len) argument
393 ilen = scsi_ascii_inquiry_len(data, len);
399 bcopy(data, data_string, ilen);
633 cmn_err(CE_WARN, "%s: missing parent data!", name);
1074 * bad partition data to opened by format and fdisk.)
/illumos-gate/usr/src/cmd/zfs/
H A Dzfs_main.c403 void *data; local
405 if ((data = calloc(1, size)) == NULL)
408 return (data);
412 safe_realloc(void *data, size_t size) argument
415 if ((newp = realloc(data, size)) == NULL) {
416 free(data);
1069 destroy_check_dependent(zfs_handle_t *zhp, void *data) argument
1071 destroy_cbdata_t *cbp = data;
1126 destroy_callback(zfs_handle_t *zhp, void *data) argument
1128 destroy_cbdata_t *cb = data;
1591 get_callback(zfs_handle_t *zhp, void *data) argument
1952 inherit_recurse_cb(zfs_handle_t *zhp, void *data) argument
1969 inherit_cb(zfs_handle_t *zhp, void *data) argument
2092 upgrade_list_callback(zfs_handle_t *zhp, void *data) argument
2128 upgrade_set_callback(zfs_handle_t *zhp, void *data) argument
3223 list_callback(zfs_handle_t *zhp, void *data) argument
3529 rollback_check_dependent(zfs_handle_t *zhp, void *data) argument
3557 rollback_check(zfs_handle_t *zhp, void *data) argument
3689 set_callback(zfs_handle_t *zhp, void *data) argument
5588 set_deleg_perms(zfs_handle_t *zhp, void *data) argument
5684 struct deleg_perms data = { un, update_perm_nvl }; local
5882 holds_callback(zfs_handle_t *zhp, void *data) argument
6024 get_one_dataset(zfs_handle_t *zhp, void *data) argument
7598 load_key_callback(zfs_handle_t *zhp, void *data) argument
[all...]
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_util.c239 return (dgettext(TEXT_DOMAIN, "invalid diff data"));
606 void *data; local
608 if ((data = calloc(1, size)) == NULL)
611 return (data);
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_onexit.c152 zfs_onexit_add_cb(minor_t minor, void (*func)(void *), void *data, argument
166 ap->za_data = data;
226 * Return the data associated with this callback. This allows consumers
227 * of the cleanup-on-exit interfaces to stash kernel data across system
231 zfs_onexit_cb_data(minor_t minor, uint64_t action_handle, void **data) argument
237 *data = NULL;
246 *data = ap->za_data;
/illumos-gate/usr/src/uts/common/fs/proc/
H A Dprvnops.c369 * Enable data collection for page data file;
514 * This is a page data file.
825 list_t data; local
842 pr_iol_initlist(&data, sizeof (prfdinfo_t) + MAXPATHLEN + 2, 1);
845 pr_iol_freelist(&data);
853 pr_iol_freelist(&data);
873 * end of the struct. We'll terminate the data with an empty pr_misc
877 fdinfo = pr_iol_newbuf(&data, offsetof(prfdinfo_t, pr_misc));
894 error = prgetfdinfo(p, vp, fdinfo, cr, file_cred, &data);
[all...]
/illumos-gate/usr/src/uts/common/fs/
H A Dfs_subr.c181 fs_ioctl(vnode_t *vp, int com, intptr_t data, int flag, cred_t *cred, argument
853 * Read the symlink data of a reparse point specified by the vnode
854 * and return the reparse data as name-value pair in the nvlist.
870 * Set up io vector to read sym link data
925 * the service-specific data requested. The caller specifies the size of
/illumos-gate/usr/src/lib/libctf/common/
H A Dctf_dwarf.c38 * DWARF data contains a series of compilation units. Each compilation unit
51 * that an overzealous compiler might add to the DWARF data but aren't used by
188 * data model where long and pointer are the same size. This is currently the
189 * case, as the two data models illumos supports are ILP32 and LP64.
197 * data in an endian-aware form, they only use that of the currently running
753 "unknown ELF data encoding: %hhu", ehdr.e_ident[EI_DATA]);
1070 * we have to grab the data location and use the following dance:
1192 * int as our supported data models and ABIs all agree on that. So what
1196 * data).
1495 * using as DW_FORM_data{1,2,4,8} (which DWARF treats as raw data an
3110 Elf_Data *data, *strdata; local
[all...]
/illumos-gate/usr/src/uts/common/io/iwn/
H A Dif_iwn.c437 kstat_t **ks, void **data)
443 *data = kmem_zalloc(size, KM_SLEEP);
445 *data = (*ks)->ks_data;
449 iwn_kstat_free(kstat_t *ks, void *data, size_t size) argument
453 else if (data != NULL)
454 kmem_free(data, size);
1542 iwn_prph_write(struct iwn_softc *sc, uint32_t addr, uint32_t data) argument
1546 IWN_WRITE(sc, IWN_PRPH_WDATA, data);
1563 const uint32_t *data, int count)
1565 for (; count > 0; count--, data
436 iwn_kstat_create(struct iwn_softc *sc, const char *name, size_t size, kstat_t **ks, void **data) argument
1562 iwn_prph_write_region_4(struct iwn_softc *sc, uint32_t addr, const uint32_t *data, int count) argument
1578 iwn_mem_write(struct iwn_softc *sc, uint32_t addr, uint32_t data) argument
1587 iwn_mem_write_2(struct iwn_softc *sc, uint32_t addr, uint16_t data) argument
1601 iwn_mem_read_region_4(struct iwn_softc *sc, uint32_t addr, uint32_t *data, int count) argument
1700 iwn_read_prom_data(struct iwn_softc *sc, uint32_t addr, void *data, int count) argument
1917 struct iwn_rx_data *data = &ring->data[i]; local
1969 struct iwn_rx_data *data = &ring->data[i]; local
2017 struct iwn_tx_data *data = &ring->data[i]; local
2045 struct iwn_tx_data *data = &ring->data[i]; local
2069 struct iwn_tx_data *data = &ring->data[i]; local
2627 iwn_rx_phy(struct iwn_softc *sc, struct iwn_rx_desc *desc, struct iwn_rx_data *data) argument
2647 iwn_rx_done(struct iwn_softc *sc, struct iwn_rx_desc *desc, struct iwn_rx_data *data) argument
2753 iwn_rx_compressed_ba(struct iwn_softc *sc, struct iwn_rx_desc *desc, struct iwn_rx_data *data) argument
2772 iwn5000_rx_calib_results(struct iwn_softc *sc, struct iwn_rx_desc *desc, struct iwn_rx_data *data) argument
2829 iwn_rx_statistics(struct iwn_softc *sc, struct iwn_rx_desc *desc, struct iwn_rx_data *data) argument
2891 iwn4965_tx_done(struct iwn_softc *sc, struct iwn_rx_desc *desc, struct iwn_rx_data *data) argument
2902 iwn5000_tx_done(struct iwn_softc *sc, struct iwn_rx_desc *desc, struct iwn_rx_data *data) argument
2925 struct iwn_tx_data *data = &ring->data[desc->idx]; local
2958 struct iwn_tx_data *data; local
2997 struct iwn_rx_data *data = &sc->rxq.data[sc->rxq.cur]; local
3668 struct iwn_tx_data *data; local
4406 struct iwn_tx_data *data; local
[all...]
/illumos-gate/usr/src/uts/common/io/nxge/npi/
H A Dnpi_fflp.c525 " tcam ascr write: location %x data %llx ctl value %llx \n",
676 /* write data to the data register */
770 /* read data from the data register */
851 * data: Data
858 uint32_t location, uint64_t data)
883 REG_PIO_WRITE64(handle, data_reg, data);
912 * data: ptr do write subarea contents to.
919 uint32_t location, uint64_t *data)
857 npi_fflp_fcram_subarea_write(npi_handle_t handle, part_id_t partid, uint32_t location, uint64_t data) argument
918 npi_fflp_fcram_subarea_read(npi_handle_t handle, part_id_t partid, uint32_t location, uint64_t *data) argument
1472 npi_fflp_fcram_err_data_test(npi_handle_t handle, fcram_err_data_t *data) argument
[all...]
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_hio_guest.c223 * In the guest domain, we can use any VR data structure
261 * This is redundant data, but useful nonetheless. It helps
298 * while we have the VR data structure.
331 * while we have the VR data structure.
364 * Find a free nxge_hio_dc_t data structure.
605 nxge_dma_common_t *data; local
625 * Initialize logical page 0 for data buffers.
630 data = nxge->tx_buf_pool_p->dma_buf_pool_p[channel];
631 ring->hv_tx_buf_base_ioaddr_pp = (uint64_t)data->orig_ioaddr_pp;
632 ring->hv_tx_buf_ioaddr_size = (uint64_t)data
724 nxge_dma_common_t *data; local
[all...]
H A Dnxge_mac.c511 * Try to read the phy type from the vpd data read off the
2879 uint16_t reg, uint8_t *data)
2907 *data = (phy_data >> 8);
2878 nxge_nlp2020_i2c_read(p_nxge_t nxgep, uint8_t ctrl_port, uint16_t address, uint16_t reg, uint8_t *data) argument
H A Dnxge_main.c130 /* Use kmem_alloc() to allocate data buffers. */
626 /* Create & initialize the per-Neptune data structure */
710 * Copy the vpd info from eeprom to a local data
1599 /* free data structures, based on HW type */
2273 * Allocate memory for the common DMA data structures.
2328 * memory allocation on data buffers to 4M (contig_mem_alloc)
2461 nxge_dma_common_t **data; local
2479 data = &nxgep->rx_buf_pool_p->dma_buf_pool_p[channel];
2483 nxgep, channel, data, rx_buf_alloc_size,
2489 "dma %d dma_buf_p %llx &dma_buf_p %llx", channel, *data, dat
2516 nxge_dma_common_t *data; local
2970 nxge_dma_common_t *data; local
[all...]
H A Dnxge_rxdma.c541 * Use configuration data composed at init time.
1051 * Initialize data structures required for rxdma
1718 * Free receive data buffers,
3171 "channel %d data buf base io $%lx ($%p) size 0x%lx (%ld 0x%lx)",
3218 nxge_dma_common_t **data; local
3248 data = &nxgep->rx_buf_pool_p->dma_buf_pool_p[channel];
3257 status = nxge_map_rxdma_channel(nxgep, channel, data, rbr_ring,
4053 * - data buffers
/illumos-gate/usr/src/uts/i86pc/io/vmm/
H A Dvmm_zsd.c29 * zone specific data
31 * Zone specific data is used to keep an association between zones and the vmm
147 vmm_zsd_shutdown(zoneid_t zid, void *data) argument
149 vmm_zsd_t *zsd = data;
172 vmm_zsd_destroy(zoneid_t zid, void *data) argument
174 vmm_zsd_t *zsd = data;
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsocksyscalls.c877 * when controllen is zero and there is control data to
907 * will not be included in the data returned to
922 * of associated data that will be returned. This only
1103 * that they can't move more than 2Gbytes of data in a single call.
1389 * that they can't move more than 2Gbytes of data in a single call.
1892 caddr_t data = (caddr_t)filprop.sfp_socktuple; local
1900 if (copyin(data, &tup32, sizeof (tup32)) != 0) {
1908 data += sizeof (tup32);
1993 * and queues it for network processing. In this scheme, the data
2005 * mblk holds sendfile_read_size worth of data (excep
[all...]
/illumos-gate/usr/src/uts/sparc/io/pciex/
H A Dpcieb_sparc.c173 * It relies on unused parent private data for PCI devices.
186 * XXX Clear parent private data used as a flag to disable
415 /* Create the new reg_spec data and update the property */
489 uint32_t addr_reg_off = 0x260, data_reg_off = 0x264, data = 0x6BE4; local
502 ddi_put32(h, (uint32_t *)((uchar_t *)mp + addr_reg_off), data);
510 data = ddi_get32(h, (uint32_t *)((uchar_t *)mp + 0x1DC));
511 ddi_put32(h, (uint32_t *)((uchar_t *)mp + 0x1DC), data | 0x80000);
514 ddi_driver_name(dip), ddi_get_instance(dip), data,
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpcisch.c2953 uint64_t data = tlb_data[i]; local
2960 pfn = (iopfn_t)(data & TLBDATA_MEMPA_BITS);
2982 (data & TLBDATA_VALID_BIT) ? "" : neg,
2983 (data & TLBDATA_CACHE_BIT) ? "" : neg, pfn);
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/
H A Dpcibus.c220 * make an ioctl to query the size of the report data so that we can
246 * Now, make the ioctl to retrieve the actual report data. The data
285 * At this time, we default to putting the UFM data always on the device
607 * hostbridge node's private data.
959 * PCI-Express; parent node's private data is a simple di_node_t
970 "Parent %s node missing private data.\n"
988 topo_instance_t max, void *data)
990 did_t *didp, *hbdid = (did_t *)data;
994 * XXTOPO: we should not be sharing private node data wit
987 pcibus_enum(topo_mod_t *mp, tnode_t *ptn, char *pnm, topo_instance_t min, topo_instance_t max, void *data) argument
1035 pci_enum(topo_mod_t *mod, tnode_t *ptn, const char *name, topo_instance_t min, topo_instance_t max, void *notused, void *data) argument
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dufm.c192 ufm_do_getcaps(intptr_t data, int mode) argument
201 if (ddi_copyin((void *)data, &ugc, sizeof (ufm_ioc_getcaps_t),
244 if (ddi_copyout(&ugc, (void *)data, sizeof (ufm_ioc_getcaps_t),
252 ufm_do_reportsz(intptr_t data, int mode) argument
270 if (ddi_copyin((void *)data, &ufbz32,
282 if (ddi_copyin((void *)data, &ufbz,
332 if (ddi_copyout(&ufbz32, (void *)data,
340 if (ddi_copyout(&ufbz, (void *)data,
348 ufm_do_report(intptr_t data, int mode) argument
367 if (ddi_copyin((void *)data,
462 ufm_do_readimg(intptr_t data, int mode) argument
557 ufm_ioctl(dev_t dev, int cmd, intptr_t data, int mode, cred_t *credp, int *rvalp) argument
[all...]
/illumos-gate/usr/src/cmd/bhyve/
H A Dgdb.c87 * An I/O buffer contains 'capacity' bytes of room at 'data'. For a
90 * the index of the next byte in 'data' to send, and 'len' contains
94 uint8_t *data; member in struct:io_buffer
307 /* Available room for adding data. */
319 return (io->data + io->start);
326 return (io->data + io->start + io->len);
352 memmove(io->data, io_buffer_head(io), io->len);
367 new_data = realloc(io->data, new_cap);
370 io->data = new_data;
380 if (cur_resp.start + cur_resp.len == 1 && cur_resp.data[
482 send_char(uint8_t data) argument
491 send_data(const uint8_t *data, size_t len) argument
495 memcpy(io_buffer_tail(&cur_resp), data, len); local
554 append_packet_data(const uint8_t *data, size_t len) argument
665 parse_threadid(const uint8_t *data, size_t len) argument
985 gdb_read_mem(const uint8_t *data, size_t len) argument
1097 gdb_write_mem(const uint8_t *data, size_t len) argument
1310 parse_breakpoint(const uint8_t *data, size_t len) argument
1374 command_equals(const uint8_t *data, size_t len, const char *cmd) argument
1383 check_features(const uint8_t *data, size_t len) argument
1455 gdb_query(const uint8_t *data, size_t len) argument
1527 handle_command(const uint8_t *data, size_t len) argument
[all...]
H A Dpci_e82545.c132 uint64_t buffer_addr; /* Address of the descriptor's data buffer */
133 uint16_t length; /* Length of data DMAed into data buffer */
148 uint64_t buffer_addr; /* Address of the descriptor's data buffer */
150 uint32_t data; member in union:e1000_tx_desc::__anon3
158 uint32_t data; member in union:e1000_tx_desc::__anon5
187 uint32_t data; member in union:e1000_context_desc::__anon11
200 uint32_t data; member in union:e1000_data_desc::__anon13
208 uint32_t data; member in union:e1000_data_desc::__anon15
355 /* EEPROM data */
412 e82545_write_mdi(struct e82545_softc *sc, uint8_t reg_addr, uint8_t phy_addr, uint32_t data) argument
[all...]
H A Dpci_hda.c74 * HDA data structures
178 static void hda_dma_st_dword(void *dma_vaddr, uint32_t data);
219 * HDA global data
905 hda_dma_st_dword(void *dma_vaddr, uint32_t data) argument
907 *(uint32_t*)dma_vaddr = data;
H A Dpci_nvme.c363 cd->mdts = 9; /* max data transfer size (2^mdts * CAP.MPSMIN) */
471 char *data = NULL; local
474 asprintf(&data, "%s%u%u%u", vmname, sc->nsc_pi->pi_bus,
477 if (data != NULL) {
478 eui64 = OUI_FREEBSD_NVME_LOW | crc16(0, data, strlen(data));
479 free(data);
485 /* LBA data-sz = 2^lbads */
810 case 0x00: /* return Identify Namespace data structure */
815 case 0x01: /* return Identify Controller data structur
[all...]

Completed in 153 milliseconds

1234567891011>>