Lines Matching refs:ops
37 repops_t *ops; in __incr_failed_count() local
45 ops = rops[repnum]; in __incr_failed_count()
46 if ((ops->lock != NULL) && in __incr_failed_count()
47 (ret = ops->lock()) != PWU_SUCCESS) { in __incr_failed_count()
53 if ((ret = ops->getpwnam(username, items, NULL, &buf)) != PWU_SUCCESS) { in __incr_failed_count()
58 if ((ret = ops->update(items, NULL, buf)) != PWU_SUCCESS) { in __incr_failed_count()
69 if ((ret = ops->update(items, NULL, buf)) != PWU_SUCCESS) in __incr_failed_count()
72 if (((ret = ops->putpwnam(username, NULL, NULL, buf)) == in __incr_failed_count()
78 if (ops->unlock != NULL) { in __incr_failed_count()
79 ops->unlock(); in __incr_failed_count()
96 repops_t *ops; in __rst_failed_count() local
104 ops = rops[repnum]; in __rst_failed_count()
105 if ((ops->lock != NULL) && in __rst_failed_count()
106 (ret = ops->lock()) != PWU_SUCCESS) { in __rst_failed_count()
112 if ((ret = ops->getpwnam(username, items, NULL, &buf)) != PWU_SUCCESS) in __rst_failed_count()
114 if ((ret = ops->update(items, NULL, buf)) != PWU_SUCCESS) in __rst_failed_count()
116 ret = ops->putpwnam(username, NULL, NULL, buf); in __rst_failed_count()
118 if (ops->unlock != NULL) { in __rst_failed_count()
119 ops->unlock(); in __rst_failed_count()