ALLOC
if (ap->flag&ALLOC) {
ap->flag &= ~(ALLOC|ISSET);
if (ap->flag&ALLOC) {
ap->flag &= ~(ALLOC|ISSET);
if (ap->flag&ALLOC) {
ap->flag &= ~(ALLOC|ISSET);
ap->flag |= ALLOC|ISSET;
ap->flag |= DEFINED|ISSET|ALLOC;
if (tp->flag&ALLOC) {
tp->flag &= ~(ALLOC|ISSET);
if (tp->flag & ALLOC) {
tp->flag &= ~ALLOC;
if (tp->flag & ALLOC) {
tp->flag &= ~(ISSET|ALLOC);
tp->flag |= (ISSET|ALLOC);
if (tp->flag & ALLOC) {
tp->flag &= ~ALLOC;
tp->flag |= ISSET|ALLOC;
new->flag = vp->flag & ~(ALLOC|DEFINED|ISSET|SPECIAL);
if ((vq->flag&ALLOC)) {
vq->flag &= ~(ISSET|ALLOC);
vq->flag |= ALLOC;
if (!(vq->flag & INTEGER) && (vq->flag & ALLOC)) {
vq->flag &= ~ALLOC;
char *op = (vp->flag&ALLOC) ? vp->val.s : NULL;
vp->flag |= ALLOC;
free_me = (t->flag & ALLOC) ? t->val.s
t->flag &= ~ALLOC;
t->flag &= ~ALLOC;
if (t->flag & ALLOC)
t->flag &= ~(ISSET|ALLOC);
if (vp->flag & ALLOC)
if (tmp->flag & ALLOC)
ALLOC(Firstch, Num_pts);
ALLOC(Seekpts, Num_pts + 1);
uc = ALLOC(struct cl_cache, 1);
uc->uc_entries = ALLOC(cache_ptr, size * SPARSENESS);
uc->uc_fifo = ALLOC(cache_ptr, size);
victim = ALLOC(struct cache_node, 1);
victim->cache_addr.buf = ALLOC(char, xprt->xp_rtaddr.len);
p = ALLOC(path);
ALLOC(devicenode_t, devices.v, devices.size, devices.c, 10, 10, "add_dev", exit(EXIT_FAILURE));
ALLOC(char *, names.v, names.size, names.c,
ALLOC(char *, dirs.v, dirs.size, dirs.c, 10, 10,
ALLOC(virt_dirent_t, tp->v, tp->size, tp->c, 10, 10, "virtdir_add",
script = ALLOC(uint32_t, SIOP_SCRIPT_SIZE);
cmd = ALLOC(struct scsipi_generic, SIOP_SCSI_COMMAND_SIZE);
sense = ALLOC(struct scsi_request_sense, SIOP_SCSI_COMMAND_SIZE);
data = ALLOC(u_char, SIOP_SCSI_DATA_SIZE);
xfer = ALLOC(struct siop_xfer, sizeof(struct siop_xfer));
l = ALLOC(struct local, CACHELINESIZE);
d = (struct biosdisk *)ALLOC(sizeof(*d));
#define BI_ALLOC(max) (bootinfo = ALLOC(sizeof(struct btinfo) \
script = ALLOC(uint32_t, SIOP_SCRIPT_SIZE);
cmd = ALLOC(struct scsipi_generic, SIOP_SCSI_COMMAND_SIZE);
sense = ALLOC(struct scsi_request_sense, SIOP_SCSI_COMMAND_SIZE);
data = ALLOC(u_char, SIOP_SCSI_DATA_SIZE);
xfer = ALLOC(struct siop_xfer, sizeof(struct siop_xfer));
sc = ALLOC(struct local, sizeof(struct txdesc)); /* desc alignment */
l = ALLOC(struct local, 32); /* desc alignment */
l = ALLOC(struct local, 32); /* desc alignment */
l = ALLOC(struct local, 32); /* desc alignment */
l = ALLOC(struct local, 256); /* desc alignment */
l = ALLOC(struct local, 32); /* desc alignment */
l = ALLOC(struct local, 32); /* desc alignment */
l = ALLOC(struct local, 32); /* desc alignment */
l = ALLOC(struct local, 32); /* desc alignment */
l = ALLOC(struct local, 2 * sizeof(struct desc)); /* desc alignment */
l = ALLOC(struct local, 64); /* desc alignment */
l = ALLOC(struct local, 32); /* desc alignment */
syspte = (int *)ALLOC(SPTSIZ*4);
gvppqb = (struct ni_gvppqb *)ALLOC(sizeof(struct ni_gvppqb));
fqb = (struct ni_fqb *)ALLOC(sizeof(struct ni_fqb));
bbd = (struct ni_bbd *)ALLOC(sizeof(struct ni_bbd) * NBDESCS);
va = ALLOC(NMSGBUF * 512);
va = ALLOC(NTXBUF * 512);
va = ALLOC(NRXBUF * 512);
#define BI_ALLOC(max) (bootinfo = ALLOC(sizeof(struct btinfo) \
ALLOC(coda_open); /* sets inp & outp */
ALLOC(coda_ioctl); /* sets inp & outp */
ALLOC(coda_getattr); /* sets inp & outp */
ALLOC(coda_readlink); /* sets inp & outp */
ALLOC(coda_lookup); /* sets inp & outp */
ALLOC(coda_create); /* sets inp & outp */
ALLOC(coda_mkdir); /* sets inp & outp */
ALLOC(coda_readdir); /* sets inp & outp */
ALLOC(coda_statfs); /* sets inp & outp */
ALLOC(coda_vget); /* sets inp & outp */
DPRINTF(ALLOC, ("nilfs_gop_alloc called for %"PRIu64" bytes\n", len));
DPRINTF(ALLOC, ("udf_free_allocated_space: freeing virt lbnum %d "
DPRINTF(ALLOC,("adding allocation extent %d\n", extnr));
DPRINTF(ALLOC, ("udf_count_alloc_ext counted %d live extents\n",
DPRINTF(ALLOC, ("freeing alloc ext %d\n", extnr));
DPRINTF(ALLOC, ("udf_record_allocation_in_node\n"));
DPRINTF(ALLOC, ("record allocation from %"PRIu64" + %d\n", from, buf->b_bcount));
DPRINTF(ALLOC, ("\t1: vp %d, lb %d, len %d, flags %d "
DPRINTF(ALLOC, ("\tslot_offset = %d, flags = %d (%d)\n",
DPRINTF(ALLOC, ("\t2: vp %d, lb %d, len %d, flags %d "
DPRINTF(ALLOC, ("\t3: insert new mapping vp %d lb %d, len %d, "
DPRINTF(ALLOC, ("\t4i: got slot %d, slot_offset %d, "
DPRINTF(ALLOC, ("\t4s: skipping %d\n", slot_offset));
DPRINTF(ALLOC, ("\t4d: replacing %d\n", replace));
DPRINTF(ALLOC, ("\t4: vp %d, lb %d, len %d, flags %d "
DPRINTF(ALLOC, ("\t5: insert new mapping "
DPRINTF(ALLOC, ("\t7s: stack -> got mapping vp %d "
DPRINTF(ALLOC, ("\t7i: stack -> got mapping vp %d "
DPRINTF(ALLOC, ("\t7: appending vp %d lb %d, "
DPRINTF(ALLOC, ("\t8: last append vp %d lb %d, "
DPRINTF(ALLOC, ("udf_grow_node\n"));
DPRINTF(ALLOC, ("\tfrom %"PRIu64" to %"PRIu64"\n", old_size, new_size));
DPRINTF(ALLOC, ("\tCONVERT from internal\n"));
DPRINTF(ALLOC, ("udf_shrink_node\n"));
DPRINTF(ALLOC, ("\tfrom %"PRIu64" to %"PRIu64"\n", old_size, new_size));
DPRINTF(ALLOC, ("\t1: vp %d, lb %d, len %d, flags %d "
DPRINTF(ALLOC, ("\t2: vp %d, lb %d, len %d, flags %d "
DPRINTF(ALLOC, ("\t3: delete remainder "
DPRINTF(ALLOC, ("\t6: stack -> got mapping vp %d "
DPRINTF(ALLOC, ("\t6: appending vp %d lb %d, "
DPRINTF(ALLOC, ("\t7: last append vp %d lb %d, "
DPRINTF(ALLOC, ("udf_gop_alloc called for offset %"PRIu64" for %"PRIu64" bytes, %s\n",
DPRINTF(ALLOC, ("\tlb_start %"PRIu64", lb_end %"PRIu64", num_lb %d\n",
DPRINTF(ALLOC, ("udf_get_node: implementation limit, "
DPRINTF(ALLOC, ("udf_get_node: bad allocation "
shdr = ALLOC(shdrsz);
shp = ALLOC(sz);
shstr = ALLOC(shstrsz);
phdr = ALLOC(sz);
nc = ALLOC(cmd);
c = ALLOC(cmd);
nl = ALLOC(namelist);
sc = ALLOC(subcmd);
s = ALLOC(syment);
decls = ALLOC(decl_list);
vlist = ALLOC(version_list);
plist = ALLOC(proc_list);
decls = ALLOC(decl_list);
decls = ALLOC(decl_list);
elist = ALLOC(enumval_list);
cases = ALLOC(case_list);
cases = ALLOC(case_list);
defp->def.un.default_decl = ALLOC(declaration);
defp = ALLOC(definition);
lst = ALLOC(list);