Lines Matching refs:PWU_SUCCESS
43 return (PWU_SUCCESS); in __incr_failed_count()
48 (ret = ops->lock()) != PWU_SUCCESS) { in __incr_failed_count()
54 if ((ret = ops->getpwnam(username, items, NULL, &buf)) != PWU_SUCCESS) { in __incr_failed_count()
59 if ((ret = ops->update(items, NULL, buf)) != PWU_SUCCESS) { in __incr_failed_count()
70 if ((ret = ops->update(items, NULL, buf)) != PWU_SUCCESS) in __incr_failed_count()
74 PWU_SUCCESS) && in __incr_failed_count()
102 return (PWU_SUCCESS); in __rst_failed_count()
107 (ret = ops->lock()) != PWU_SUCCESS) { in __rst_failed_count()
113 if ((ret = ops->getpwnam(username, items, NULL, &buf)) != PWU_SUCCESS) in __rst_failed_count()
115 if ((ret = ops->update(items, NULL, buf)) != PWU_SUCCESS) in __rst_failed_count()
123 return (ret != PWU_SUCCESS ? ret : items[0].data.val_i); in __rst_failed_count()