bs 424 source3/lib/util_str.c char fs[2], bs[2]; bs 429 source3/lib/util_str.c bs[0] = cback; bs 430 source3/lib/util_str.c bs[1] = '\0'; bs 431 source3/lib/util_str.c return trim_string(s, cfront ? fs : NULL, bs); bs 52 source3/modules/onefs_cbrl.c struct onefs_cbrl_blr_state *bs; bs 56 source3/modules/onefs_cbrl.c bs = (struct onefs_cbrl_blr_state *)blr->blr_private; bs 58 source3/modules/onefs_cbrl.c if (bs == NULL) { bs 63 source3/modules/onefs_cbrl.c switch (bs->state) { bs 65 source3/modules/onefs_cbrl.c fstr_sprintf(result, "CBRL BLR id=%llu: state=NONE", bs->id); bs 68 source3/modules/onefs_cbrl.c fstr_sprintf(result, "CBRL BLR id=%llu: state=ASYNC", bs->id); bs 71 source3/modules/onefs_cbrl.c fstr_sprintf(result, "CBRL BLR id=%llu: state=DONE", bs->id); bs 74 source3/modules/onefs_cbrl.c fstr_sprintf(result, "CBRL BLR id=%llu: state=ERROR", bs->id); bs 78 source3/modules/onefs_cbrl.c bs->id, bs->state); bs 101 source3/modules/onefs_cbrl.c struct onefs_cbrl_blr_state *bs; bs 106 source3/modules/onefs_cbrl.c bs = (struct onefs_cbrl_blr_state *)blr->blr_private; bs 109 source3/modules/onefs_cbrl.c if (bs == NULL) bs 112 source3/modules/onefs_cbrl.c if (bs->id == id) { bs 130 source3/modules/onefs_cbrl.c struct onefs_cbrl_blr_state *bs; bs 140 source3/modules/onefs_cbrl.c bs = (struct onefs_cbrl_blr_state *)blr->blr_private; bs 141 source3/modules/onefs_cbrl.c SMB_ASSERT(bs); bs 142 source3/modules/onefs_cbrl.c SMB_ASSERT(bs->state == ONEFS_CBRL_ASYNC); bs 149 source3/modules/onefs_cbrl.c bs->state = ONEFS_CBRL_DONE; bs 151 source3/modules/onefs_cbrl.c bs->state = ONEFS_CBRL_NONE; bs 165 source3/modules/onefs_cbrl.c struct onefs_cbrl_blr_state *bs; bs 174 source3/modules/onefs_cbrl.c bs = (struct onefs_cbrl_blr_state *)blr->blr_private; bs 175 source3/modules/onefs_cbrl.c SMB_ASSERT(bs); bs 177 source3/modules/onefs_cbrl.c SMB_ASSERT(bs->state == ONEFS_CBRL_ASYNC); bs 178 source3/modules/onefs_cbrl.c bs->state = ONEFS_CBRL_ERROR; bs 261 source3/modules/onefs_cbrl.c struct onefs_cbrl_blr_state *bs; bs 308 source3/modules/onefs_cbrl.c bs = (struct onefs_cbrl_blr_state *)blr->blr_private; bs 309 source3/modules/onefs_cbrl.c SMB_ASSERT(bs); bs 314 source3/modules/onefs_cbrl.c if (bs->state == ONEFS_CBRL_ASYNC) { bs 317 source3/modules/onefs_cbrl.c else if (bs->state == ONEFS_CBRL_ERROR) { bs 322 source3/modules/onefs_cbrl.c SMB_ASSERT(bs->state == ONEFS_CBRL_NONE); bs 350 source3/modules/onefs_cbrl.c bs = (struct onefs_cbrl_blr_state *)blr->blr_private; bs 351 source3/modules/onefs_cbrl.c bs->id = id; bs 352 source3/modules/onefs_cbrl.c bs->state = ONEFS_CBRL_ASYNC; bs 435 source3/modules/onefs_cbrl.c struct onefs_cbrl_blr_state *bs; bs 445 source3/modules/onefs_cbrl.c bs = ((struct onefs_cbrl_blr_state *)blr->blr_private); bs 446 source3/modules/onefs_cbrl.c SMB_ASSERT(bs); bs 448 source3/modules/onefs_cbrl.c if (bs->state == ONEFS_CBRL_DONE || bs->state == ONEFS_CBRL_ERROR) { bs 450 source3/modules/onefs_cbrl.c DEBUG(10, ("State=%d, returning true\n", bs->state)); bs 455 source3/modules/onefs_cbrl.c SMB_ASSERT(bs->state == ONEFS_CBRL_NONE || bs 456 source3/modules/onefs_cbrl.c bs->state == ONEFS_CBRL_ASYNC); bs 461 source3/modules/onefs_cbrl.c plock->size, false, bs->id, plock->context.smbpid, bs 468 source3/modules/onefs_cbrl.c bs->state = ONEFS_CBRL_ERROR; bs 472 source3/modules/onefs_cbrl.c bs->state = ONEFS_CBRL_DONE; bs 158 source3/passdb/pdb_tdb.c struct tdbsam_backup_state *bs = (struct tdbsam_backup_state *)state; bs 162 source3/passdb/pdb_tdb.c new_rec = bs->new_db->fetch_locked(bs->new_db, talloc_tos(), orig_rec->key); bs 164 source3/passdb/pdb_tdb.c bs->success = false; bs 173 source3/passdb/pdb_tdb.c bs->success = false; bs 193 source3/passdb/pdb_tdb.c struct tdbsam_backup_state bs; bs 232 source3/passdb/pdb_tdb.c bs.new_db = tmp_db; bs 233 source3/passdb/pdb_tdb.c bs.success = true; bs 235 source3/passdb/pdb_tdb.c ret = orig_db->traverse(orig_db, backup_copy_fn, (void *)&bs); bs 241 source3/passdb/pdb_tdb.c if (!bs.success) { bs 490 source3/utils/smbget.c char bs[100]; bs 491 source3/utils/smbget.c human_readable(total_bytes, bs, sizeof(bs)); bs 492 source3/utils/smbget.c if(!quiet)fprintf(stderr, "Downloaded %s in %lu seconds\n", bs, bs 597 source4/client/cifsdd.c uint64_t bs = check_arg_numeric("bs"); bs 598 source4/client/cifsdd.c set_arg_val("ibs", bs); bs 599 source4/client/cifsdd.c set_arg_val("obs", bs);