HomeSort by: relevance | last modified time | path
    Searched refs:ndm (Results 1 - 4 of 4) sorted by relevancy

  /src/sys/nfs/
nfs_bootparam.c 93 struct nfs_dlmount *ndm, struct lwp *l);
401 struct nfs_dlmount *ndm, struct lwp *l)
436 serv_name = &ndm->ndm_host[0];
437 sn_len = sizeof(ndm->ndm_host) - 1;
457 sin = (struct sockaddr_in *) &ndm->ndm_saddr;
462 if ((sn_len + 1 + path_len + 1) > sizeof(ndm->ndm_host)) {
467 ndm->ndm_host[sn_len] = ':';
468 memcpy(ndm->ndm_host + sn_len + 1, pathname, path_len + 1);
nfs_boot.c 106 static int nfs_boot_getfh(struct nfs_dlmount *ndm, struct lwp *);
583 * ndm output
586 nfs_boot_getfh(struct nfs_dlmount *ndm, struct lwp *l)
594 args = &ndm->ndm_args;
598 args->addr = &ndm->ndm_saddr;
605 args->fh = ndm->ndm_fh;
606 args->hostname = ndm->ndm_host;
628 * string left in ndm->ndm_host by nfs_boot_init.
630 pathname = strchr(ndm->ndm_host, ':');
640 sin = (struct sockaddr_in *)&ndm->ndm_saddr
    [all...]
nfs_bootdhcp.c 858 struct nfs_dlmount *ndm = &nd->nd_root; local in function:bootp_extract
863 sin = (struct sockaddr_in *) &ndm->ndm_saddr;
878 strncpy(ndm->ndm_host, bootp->bp_sname,
883 strncpy(ndm->ndm_host, inet_ntoa(rootserver),
890 len = strlen(ndm->ndm_host);
892 len + 1 + rootpathlen + 1 <= sizeof(ndm->ndm_host))
894 ndm->ndm_host[len++] = ':';
895 strncpy(ndm->ndm_host + len,
897 ndm->ndm_host[len + rootpathlen] = '\0';
  /src/sys/dev/ic/
nvme.c 2101 struct nvme_dmamem *ndm; local in function:nvme_dmamem_alloc
2104 ndm = kmem_zalloc(sizeof(*ndm), KM_SLEEP);
2105 if (ndm == NULL)
2108 ndm->ndm_size = size;
2111 BUS_DMA_WAITOK | BUS_DMA_ALLOCNOW, &ndm->ndm_map) != 0)
2114 if (bus_dmamem_alloc(sc->sc_dmat, size, sc->sc_mps, 0, &ndm->ndm_seg,
2118 if (bus_dmamem_map(sc->sc_dmat, &ndm->ndm_seg, nsegs, size,
2119 &ndm->ndm_kva, BUS_DMA_WAITOK) != 0)
2122 if (bus_dmamap_load(sc->sc_dmat, ndm->ndm_map, ndm->ndm_kva, size
    [all...]

Completed in 15 milliseconds