Home
last modified time | relevance | path

Searched refs:first_free (Results 1 – 14 of 14) sorted by relevance

/linux-2.6.39/net/tipc/
Dref.c68 u32 first_free; member
121 tipc_ref_table.first_free = 0; in tipc_ref_table_init()
174 if (tipc_ref_table.first_free) { in tipc_ref_acquire()
175 index = tipc_ref_table.first_free; in tipc_ref_acquire()
179 tipc_ref_table.first_free = next_plus_upper & index_mask; in tipc_ref_acquire()
252 if (tipc_ref_table.first_free == 0) in tipc_ref_discard()
253 tipc_ref_table.first_free = index; in tipc_ref_discard()
Dname_table.c89 u32 first_free; member
193 int high = nseq->first_free - 1; in nameseq_find_subseq()
222 int high = nseq->first_free - 1; in nameseq_locate_subseq()
271 if ((inspos < nseq->first_free) && in tipc_nameseq_insert_publ()
280 if (nseq->first_free == nseq->alloc) { in tipc_nameseq_insert_publ()
298 freesseq = &nseq->sseqs[nseq->first_free]; in tipc_nameseq_insert_publ()
301 nseq->first_free++; in tipc_nameseq_insert_publ()
473 free = &nseq->sseqs[nseq->first_free--]; in tipc_nameseq_remove_publ()
508 while (sseq != &nseq->sseqs[nseq->first_free]) { in tipc_nameseq_subscribe()
576 if (!seq->first_free && list_empty(&seq->subscriptions)) { in tipc_nametbl_remove_publ()
[all …]
/linux-2.6.39/arch/sparc/lib/
Dbitext.c54 offset = t->first_free; in bit_map_string_get()
84 if (offset == t->first_free) in bit_map_string_get()
85 t->first_free = find_next_zero_bit in bit_map_string_get()
87 t->first_free + len); in bit_map_string_get()
114 if (offset < t->first_free) in bit_map_clear()
115 t->first_free = offset; in bit_map_clear()
/linux-2.6.39/fs/hpfs/
Ddnode.c148 d->first_free = cpu_to_le32(le32_to_cpu(d->first_free) + 4); in set_last_pointer()
149 if (le32_to_cpu(d->first_free) > 2048) { in set_last_pointer()
151 d->first_free = cpu_to_le32(le32_to_cpu(d->first_free) - 4); in set_last_pointer()
187 d->first_free = cpu_to_le32(le32_to_cpu(d->first_free) + d_size); in hpfs_add_de()
200 d->first_free = cpu_to_le32(le32_to_cpu(d->first_free) - le16_to_cpu(de->length)); in hpfs_delete_de()
201 memmove(de, de_next_de(de), le32_to_cpu(d->first_free) + (char *)d - (char *)de); in hpfs_delete_de()
265 if (le32_to_cpu(d->first_free) + de_size(namelen, down_ptr) <= 2048) { in hpfs_add_to_dnode()
289 memcpy(nd, d, le32_to_cpu(d->first_free)); in hpfs_add_to_dnode()
316 memmove((char *)nd + 20, de, le32_to_cpu(nd->first_free) + (char *)nd - (char *)de); in hpfs_add_to_dnode()
317 nd->first_free = cpu_to_le32(le32_to_cpu(nd->first_free) - ((char *)de - (char *)nd - 20)); in hpfs_add_to_dnode()
[all …]
Dmap.c141 if (le16_to_cpu(fnode->btree.first_free) != in hpfs_map_fnode()
194 if (le16_to_cpu(anode->btree.first_free) != in hpfs_map_anode()
234 if (le32_to_cpu(dnode->first_free) > 2048) { in hpfs_map_dnode()
235 hpfs_error(s, "dnode %08x has first_free == %08x", secno, le32_to_cpu(dnode->first_free)); in hpfs_map_dnode()
238 for (p = 20; p < le32_to_cpu(dnode->first_free); p += d[p] + (d[p+1] << 8)) { in hpfs_map_dnode()
258 if (p != le32_to_cpu(dnode->first_free)) { in hpfs_map_dnode()
Danode.c134 anode->btree.first_free = btree->first_free; in hpfs_add_sector_to_btree()
140 btree->first_free = cpu_to_le16((char *)&(btree->u.internal[1]) - (char *)btree); in hpfs_add_sector_to_btree()
156 btree->first_free = cpu_to_le16(le16_to_cpu(btree->first_free) + 12); in hpfs_add_sector_to_btree()
177 btree->first_free = cpu_to_le16(le16_to_cpu(btree->first_free) + 8); in hpfs_add_sector_to_btree()
204 anode->btree.first_free = cpu_to_le16(16); in hpfs_add_sector_to_btree()
236 memcpy(&ranode->btree, btree, le16_to_cpu(btree->first_free)); in hpfs_add_sector_to_btree()
251 btree->first_free = cpu_to_le16((char *)&btree->u.internal[2] - (char *)btree); in hpfs_add_sector_to_btree()
414 btree->first_free = cpu_to_le16(8); in hpfs_truncate_btree()
433 btree->first_free = cpu_to_le16(8 + 8 * btree->n_used_nodes); in hpfs_truncate_btree()
467 btree->first_free = cpu_to_le16(8 + 12 * btree->n_used_nodes); in hpfs_truncate_btree()
Dhpfs_fn.h117 …e->first_free)>=0x14 && le32_to_cpu(dnode->first_free)<=0xa00,("HPFS: dnode_end_de: dnode->first_f… in dnode_end_de()
118 return (void *) dnode + le32_to_cpu(dnode->first_free); in dnode_end_de()
Dalloc.c382 d->first_free = cpu_to_le32(52); in hpfs_alloc_dnode()
404 f->btree.first_free = cpu_to_le16(8); in hpfs_alloc_fnode()
422 a->btree.first_free = cpu_to_le16(8); in hpfs_alloc_anode()
Dhpfs.h282 u32 first_free; /* offset from start of dnode to member
421 u16 first_free; /* offset from start of header to member
Dnamei.c76 fnode->btree.first_free = cpu_to_le16(0x14); in hpfs_mkdir()
/linux-2.6.39/drivers/infiniband/hw/mthca/
Dmthca_srq.c293 srq->first_free = 0; in mthca_alloc_srq()
511 first_ind = srq->first_free; in mthca_tavor_post_srq_recv()
514 ind = srq->first_free; in mthca_tavor_post_srq_recv()
552 srq->first_free = next_ind; in mthca_tavor_post_srq_recv()
568 first_ind = srq->first_free; in mthca_tavor_post_srq_recv()
610 ind = srq->first_free; in mthca_arbel_post_srq_recv()
641 srq->first_free = next_ind; in mthca_arbel_post_srq_recv()
Dmthca_provider.h230 int first_free; member
/linux-2.6.39/arch/sparc/include/asm/
Dbitext.h19 int first_free; member
/linux-2.6.39/drivers/tty/vt/
Dvt_ioctl.c323 char *first_free, *fj, *fnw; in do_kdgkb_ioctl() local
369 first_free = funcbufptr + (funcbufsize - funcbufleft); in do_kdgkb_ioctl()
375 fj = first_free; in do_kdgkb_ioctl()
380 memmove(fj + delta, fj, first_free - fj); in do_kdgkb_ioctl()
406 if (first_free > fj) { in do_kdgkb_ioctl()
407 memmove(fnw + (fj - funcbufptr) + delta, fj, first_free - fj); in do_kdgkb_ioctl()