cbs
(void) _enum_auths(username, add_auth, NULL, &cbs);
if (cbs.auth_cnt == 0)
simplify(&cbs);
for (i = 0; i < cbs.auth_cnt - 1; i++)
(void) printf("%s,", cbs.auths[i]);
(void) printf("%s\n", cbs.auths[cbs.auth_cnt - 1]);
free_auths(&cbs);
cbs_t *cbs = res;
if (cbs->auth_cnt >= cbs->auth_max) {
cbs->auth_max += INCRAUTHS;
cbs->auths = realloc(cbs->auths,
cbs->auth_max * sizeof (char *));
if (cbs->auths == NULL) {
cbs->auths[cbs->auth_cnt] = strdup(authname);
cbs->auth_cnt++;
free_auths(cbs_t *cbs)
for (i = 0; i < cbs->auth_cnt; i++)
free(cbs->auths[i]);
free(cbs->auths);
simplify(cbs_t *cbs)
qsort(cbs->auths, cbs->auth_cnt, sizeof (cbs->auths[0]), mstrptr);
for (i = 0, rem = 0; i < cbs->auth_cnt - rem - 1; ) {
if (strcmp(cbs->auths[i], cbs->auths[i + rem + 1]) == 0 ||
strchr(cbs->auths[i], KV_WILDCHAR) != NULL &&
auth_match(cbs->auths[i], cbs->auths[i + rem + 1])) {
free(cbs->auths[i + rem + 1]);
cbs->auths[i] = cbs->auths[i + rem];
cbs->auth_cnt -= rem;
cbs_t cbs = { 0, 0, NULL };
obc += c = cbs - cbc;
static unsigned cbs; /* conversion buffer size, used for block conversions */
if (c > (cbs - cbc)) {
c = cbs - cbc;
if (cbc == cbs) {
c = cbs; /* `do - while' is usually */
obc -= cbs - c - 1;
if (c > (cbs - cbc + 1)) {
c = cbs - cbc + 1;
obc += cbs - cbc;
c += cbs - cbc;
else if (cbc > cbs) {
cbs = (unsigned)number(BIG);
if (cbs == 0) {
obuf = (unsigned char *)valloc(obs + cbs + 10);
etscfg->cbs = 0;
etscfg->cbs = (u8)((buf[offset] & I40E_IEEE_ETS_CBS_MASK) >>
u8 cbs;
struct ecore_ll2_cbs cbs;
const struct ecore_ll2_cbs *cbs;
uint32_t rate, cbs, pbs;
if (nvlist_lookup_uint32(nvlp, TOKENMT_COMMITTED_BURST, &cbs) == 0) {
cfg_parms->committed_burst = cbs;