Home
last modified time | relevance | path

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

/linux-4.4.14/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-4.4.14/fs/hpfs/
Ddnode.c155 le32_add_cpu(&d->first_free, 4); in set_last_pointer()
156 if (le32_to_cpu(d->first_free) > 2048) { in set_last_pointer()
158 le32_add_cpu(&d->first_free, -4); in set_last_pointer()
194 le32_add_cpu(&d->first_free, d_size); in hpfs_add_de()
207 d->first_free = cpu_to_le32(le32_to_cpu(d->first_free) - le16_to_cpu(de->length)); in hpfs_delete_de()
208 memmove(de, de_next_de(de), le32_to_cpu(d->first_free) + (char *)d - (char *)de); in hpfs_delete_de()
272 if (le32_to_cpu(d->first_free) + de_size(namelen, down_ptr) <= 2048) { in hpfs_add_to_dnode()
296 memcpy(nd, d, le32_to_cpu(d->first_free)); in hpfs_add_to_dnode()
323 memmove((char *)nd + 20, de, le32_to_cpu(nd->first_free) + (char *)nd - (char *)de); in hpfs_add_to_dnode()
324 le32_add_cpu(&nd->first_free, -((char *)de - (char *)nd - 20)); in hpfs_add_to_dnode()
[all …]
Dmap.c186 if (le16_to_cpu(fnode->btree.first_free) != in hpfs_map_fnode()
239 if (le16_to_cpu(anode->btree.first_free) != in hpfs_map_anode()
279 if (le32_to_cpu(dnode->first_free) > 2048) { in hpfs_map_dnode()
280 hpfs_error(s, "dnode %08x has first_free == %08x", secno, le32_to_cpu(dnode->first_free)); in hpfs_map_dnode()
283 for (p = 20; p < le32_to_cpu(dnode->first_free); p += d[p] + (d[p+1] << 8)) { in hpfs_map_dnode()
303 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 le16_add_cpu(&btree->first_free, 12); in hpfs_add_sector_to_btree()
177 le16_add_cpu(&btree->first_free, 8); in hpfs_add_sector_to_btree()
207 anode->btree.first_free = cpu_to_le16(16); in hpfs_add_sector_to_btree()
240 memcpy(&ranode->btree, btree, le16_to_cpu(btree->first_free)); in hpfs_add_sector_to_btree()
256 btree->first_free = cpu_to_le16((char *)&btree->u.internal[2] - (char *)btree); in hpfs_add_sector_to_btree()
419 btree->first_free = cpu_to_le16(8); in hpfs_truncate_btree()
438 btree->first_free = cpu_to_le16(8 + 8 * btree->n_used_nodes); in hpfs_truncate_btree()
472 btree->first_free = cpu_to_le16(8 + 12 * btree->n_used_nodes); in hpfs_truncate_btree()
Dhpfs_fn.h123 …e->first_free)>=0x14 && le32_to_cpu(dnode->first_free)<=0xa00,("HPFS: dnode_end_de: dnode->first_f… in dnode_end_de()
124 return (void *) dnode + le32_to_cpu(dnode->first_free); in dnode_end_de()
Dhpfs.h282 __le32 first_free; /* offset from start of dnode to member
407 __le16 first_free; /* offset from start of header to member
Dalloc.c444 d->first_free = cpu_to_le32(52); in hpfs_alloc_dnode()
466 f->btree.first_free = cpu_to_le16(8); in hpfs_alloc_fnode()
484 a->btree.first_free = cpu_to_le16(8); in hpfs_alloc_anode()
Dnamei.c87 fnode->btree.first_free = cpu_to_le16(0x14); in hpfs_mkdir()
/linux-4.4.14/net/tipc/
Dname_table.c105 u32 first_free; member
186 int high = nseq->first_free - 1; in nameseq_find_subseq()
214 int high = nseq->first_free - 1; in nameseq_locate_subseq()
269 if ((inspos < nseq->first_free) && in tipc_nameseq_insert_publ()
275 if (nseq->first_free == nseq->alloc) { in tipc_nameseq_insert_publ()
303 freesseq = &nseq->sseqs[nseq->first_free]; in tipc_nameseq_insert_publ()
306 nseq->first_free++; in tipc_nameseq_insert_publ()
396 free = &nseq->sseqs[nseq->first_free--]; in tipc_nameseq_remove_publ()
426 while (sseq != &nseq->sseqs[nseq->first_free]) { in tipc_nameseq_subscribe()
500 if (!seq->first_free && list_empty(&seq->subscriptions)) { in tipc_nametbl_remove_publ()
[all …]
/linux-4.4.14/drivers/infiniband/hw/mthca/
Dmthca_srq.c286 srq->first_free = 0; in mthca_alloc_srq()
492 first_ind = srq->first_free; in mthca_tavor_post_srq_recv()
495 ind = srq->first_free; in mthca_tavor_post_srq_recv()
533 srq->first_free = next_ind; in mthca_tavor_post_srq_recv()
549 first_ind = srq->first_free; in mthca_tavor_post_srq_recv()
591 ind = srq->first_free; in mthca_arbel_post_srq_recv()
622 srq->first_free = next_ind; in mthca_arbel_post_srq_recv()
Dmthca_provider.h230 int first_free; member
/linux-4.4.14/arch/sparc/include/asm/
Dbitext.h19 int first_free; member
/linux-4.4.14/mm/
Dpercpu.c116 int first_free; /* no free below this */ member
565 for (i = chunk->first_free, p = chunk->map + i; i < chunk->map_used; i++, p++) { in pcpu_alloc_area()
579 chunk->first_free = i; in pcpu_alloc_area()
620 chunk->first_free = i; in pcpu_alloc_area()
634 chunk->first_free = i + 1; in pcpu_alloc_area()
696 if (i < chunk->first_free) in pcpu_free_area()
697 chunk->first_free = i; in pcpu_free_area()
/linux-4.4.14/drivers/tty/vt/
Dkeyboard.c1986 char *first_free, *fj, *fnw; in vt_do_kdgkb_ioctl() local
2032 first_free = funcbufptr + (funcbufsize - funcbufleft); in vt_do_kdgkb_ioctl()
2038 fj = first_free; in vt_do_kdgkb_ioctl()
2043 memmove(fj + delta, fj, first_free - fj); in vt_do_kdgkb_ioctl()
2069 if (first_free > fj) { in vt_do_kdgkb_ioctl()
2070 memmove(fnw + (fj - funcbufptr) + delta, fj, first_free - fj); in vt_do_kdgkb_ioctl()
/linux-4.4.14/fs/btrfs/
Dscrub.c175 int first_free; member
491 sctx->first_free = 0; in scrub_setup_ctx()
2061 sctx->curr = sctx->first_free; in scrub_add_page_to_rd_bio()
2063 sctx->first_free = sctx->bios[sctx->curr]->next_free; in scrub_add_page_to_rd_bio()
2069 wait_event(sctx->list_wait, sctx->first_free != -1); in scrub_add_page_to_rd_bio()
2368 sbio->next_free = sctx->first_free; in scrub_bio_end_io_worker()
2369 sctx->first_free = sbio->index; in scrub_bio_end_io_worker()