Searched defs:segments (Results 1 - 4 of 4) sorted by relevance

/illumos-gate/usr/src/lib/libsocket/inet/
H A Dinet6_rthdr.c49 * Return amount of space needed to hold N segments for the specified
53 inet6_rth_space(int type, int segments) argument
55 if (type != IPV6_RTHDR_TYPE_0 || segments < 0 ||
56 segments > MAX_RTHDR0_SEGMENTS)
60 segments * sizeof (struct in6_addr));
64 * Initializes rthdr structure. Verifies the segments against the length of
66 * Note that a routing header can only hold 127 segments since the length field
70 inet6_rth_init(void *bp, socklen_t bp_len, int type, int segments) argument
74 if (type != IPV6_RTHDR_TYPE_0 || segments < 0 ||
75 segments > MAX_RTHDR0_SEGMENT
118 int i, segments; local
[all...]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw8/fruaccess/
H A Dlibfruaccess.c210 segments_t segments; local
216 segments.fru_hdl = section;
217 segments.fru_cnt = max_segments;
218 segments.frus = segment;
219 if (ioctl(fd, SGFRU_GETSEGMENTS, &segments) != 0) {
222 return (segments.fru_cnt);
/illumos-gate/usr/src/uts/common/io/drm/
H A Ddrm_pci.c217 size_t align, dma_addr_t maxaddr, int segments)
230 hw_dma_attr.dma_attr_sgllen = segments;
256 if (count > segments) {
216 drm_pci_alloc(drm_device_t *dev, size_t size, size_t align, dma_addr_t maxaddr, int segments) argument
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dmetaslab.c1500 * equates to most of the free space being comprised of small segments.
1502 * large segments. A 10% change in fragmentation equates to approximately
1503 * double the number of segments.
1505 * This table defines 0% fragmented space using 16MB segments. Testing has
1506 * shown that segments that are greater than or equal to 16MB do not suffer
1683 uint32_t segments = 0; local
1692 segments <<= 1;
1693 segments += msp->ms_tree->rt_histogram[i];
1705 if (segments != 0) {
1706 WEIGHT_SET_COUNT(weight, segments);
[all...]

Completed in 98 milliseconds