Lines Matching defs:li
1847 log_item_t *li, *li_next;
1849 li = l->l_sentinel->li_next;
1850 while (li != l->l_sentinel) {
1851 li_next = li->li_next;
1852 if ((action(li)) != PO_SUCCESS)
1854 li = li_next;
1868 log_item_t *li, *li_prev;
1870 li = l->l_sentinel->li_prev;
1871 while (li != l->l_sentinel) {
1872 li_prev = li->li_prev;
1873 if ((action(li)) != PO_SUCCESS)
1875 li = li_prev;
1887 log_item_t *li;
1890 for (li = l->l_sentinel->li_next; li != l->l_sentinel; li = li->li_next)
1904 log_item_t *li;
1906 if ((li = log_item_alloc(l, op, details)) == NULL) {
1913 li->li_prev = l->l_sentinel->li_prev;
1914 li->li_next = l->l_sentinel;
1915 l->l_sentinel->li_prev->li_next = li;
1916 l->l_sentinel->li_prev = li;
1930 log_item_t *li;
1932 if ((li = malloc(sizeof (log_item_t))) == NULL) {
1937 (void) memset(li, 0, sizeof (log_item_t));
1938 li->li_log = l;
1939 li->li_op = op;
1940 li->li_details = details;
1941 li->li_state = LS_DO;
1943 return (li);
1950 log_item_free(log_item_t *li)
1952 li->li_prev->li_next = li->li_next;
1953 li->li_next->li_prev = li->li_prev;
1954 free(li);
2021 log_item_dprintf(log_item_t *li)
2023 dprintf("LOGDUMP: %d operation, %p\n", li->li_op, li->li_details);