Print this page
8627 want ddi_ffsll, ddi_flsll
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/sunddi.h
          +++ new/usr/src/uts/common/sys/sunddi.h
↓ open down ↓ 1577 lines elided ↑ open up ↑
1578 1578  int
1579 1579  ddi_streams_driver(dev_info_t *dip);
1580 1580  
1581 1581  /*
1582 1582   * DDI wrappers for ffs and fls
1583 1583   */
1584 1584  int
1585 1585  ddi_ffs(long mask);
1586 1586  
1587 1587  int
     1588 +ddi_ffsll(long long mask);
     1589 +
     1590 +int
1588 1591  ddi_fls(long mask);
1589 1592  
     1593 +int
     1594 +ddi_flsll(long long mask);
     1595 +
1590 1596  /*
1591 1597   * The ddi_soft_state* routines comprise generic storage management utilities
1592 1598   * for driver soft state structures.  Two types of soft_state indexes are
1593 1599   * supported: 'integer index', and 'string index'.
1594 1600   */
1595 1601  typedef struct __ddi_soft_state_bystr   ddi_soft_state_bystr;
1596 1602  
1597 1603  /*
1598 1604   * Initialize a soft_state set, establishing the 'size' of soft state objects
1599 1605   * in the set.
↓ open down ↓ 695 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX