Searched refs:first_free (Results 1 - 24 of 24) sorted by relevance

/linux-master/arch/sparc/include/asm/
H A Dbitext.h20 int first_free; member in struct:bit_map
/linux-master/arch/sparc/lib/
H A Dbitext.c55 offset = t->first_free;
85 if (offset == t->first_free)
86 t->first_free = find_next_zero_bit
88 t->first_free + len);
115 if (offset < t->first_free)
116 t->first_free = offset;
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dsmt.c67 struct smt_entry *first_free = NULL; local
72 if (!first_free)
73 first_free = e;
85 if (first_free) {
86 e = first_free;
H A Dl2t.c302 struct l2t_entry *first_free = NULL; local
306 if (!first_free)
307 first_free = e;
317 if (first_free) {
318 e = first_free;
/linux-master/fs/hpfs/
H A Ddnode.c159 le32_add_cpu(&d->first_free, 4);
160 if (le32_to_cpu(d->first_free) > 2048) {
162 le32_add_cpu(&d->first_free, -4);
198 le32_add_cpu(&d->first_free, d_size);
211 d->first_free = cpu_to_le32(le32_to_cpu(d->first_free) - le16_to_cpu(de->length));
212 memmove(de, de_next_de(de), le32_to_cpu(d->first_free) + (char *)d - (char *)de);
276 if (le32_to_cpu(d->first_free) + de_size(namelen, down_ptr) <= 2048) {
300 memcpy(nd, d, le32_to_cpu(d->first_free));
327 memmove((char *)nd + 20, de, le32_to_cpu(nd->first_free)
[all...]
H A Dmap.c187 if (le16_to_cpu(fnode->btree.first_free) !=
190 "bad first_free pointer in fnode %08lx",
240 if (le16_to_cpu(anode->btree.first_free) !=
242 hpfs_error(s, "bad first_free pointer in anode %08x", ano);
280 if (le32_to_cpu(dnode->first_free) > 2048) {
281 hpfs_error(s, "dnode %08x has first_free == %08x", secno, le32_to_cpu(dnode->first_free));
284 for (p = 20; p < le32_to_cpu(dnode->first_free); p += d[p] + (d[p+1] << 8)) {
304 if (p != le32_to_cpu(dnode->first_free)) {
305 hpfs_error(s, "size on last dirent does not match first_free; dnod
[all...]
H A Dhpfs_fn.h123 CHKCOND(le32_to_cpu(dnode->first_free)>=0x14 && le32_to_cpu(dnode->first_free)<=0xa00,("HPFS: dnode_end_de: dnode->first_free = %x\n",(unsigned)le32_to_cpu(dnode->first_free)));
124 return (void *) dnode + le32_to_cpu(dnode->first_free);
H A Danode.c135 anode->btree.first_free = btree->first_free;
141 btree->first_free = cpu_to_le16((char *)&(btree->u.internal[1]) - (char *)btree);
157 le16_add_cpu(&btree->first_free, 12);
178 le16_add_cpu(&btree->first_free, 8);
208 anode->btree.first_free = cpu_to_le16(16);
241 memcpy(&ranode->btree, btree, le16_to_cpu(btree->first_free));
257 btree->first_free = cpu_to_le16((char *)&btree->u.internal[2] - (char *)btree);
420 btree->first_free = cpu_to_le16(8);
439 btree->first_free
[all...]
H A Dhpfs.h283 __le32 first_free; /* offset from start of dnode to member in struct:dnode
409 __le16 first_free; /* offset from start of header to member in struct:bplus_header
H A Dalloc.c445 d->first_free = cpu_to_le32(52);
467 f->btree.first_free = cpu_to_le16(8);
485 a->btree.first_free = cpu_to_le16(8);
H A Dnamei.c86 fnode->btree.first_free = cpu_to_le16(0x14);
/linux-master/drivers/infiniband/hw/mthca/
H A Dmthca_srq.c294 srq->first_free = 0;
500 first_ind = srq->first_free;
503 ind = srq->first_free;
541 srq->first_free = next_ind;
557 first_ind = srq->first_free;
593 ind = srq->first_free;
624 srq->first_free = next_ind;
H A Dmthca_provider.h212 int first_free; member in struct:mthca_srq
/linux-master/mm/
H A Dpercpu-internal.h31 int first_free; /* block position of first free */ member in struct:pcpu_block_md
H A Dpercpu-stats.c124 P("first_bit", chunk_md->first_free);
H A Dpercpu.c331 * This determines if we should scan based on the scan_hint or first_free.
332 * In general, we want to scan from first_free to fulfill allocations by
351 return block->first_free;
416 * allocation. block->first_free is returned if the allocation request fits
634 block->first_free = min(block->first_free, start);
757 bit_off = chunk_md->first_free;
771 * Scans over the block beginning at first_free and updates the block
787 start = block->first_free;
838 * block->first_free mus
[all...]
/linux-master/tools/testing/selftests/powerpc/nx-gzip/
H A Dgunz_test.c283 int first_free, last_free, first_used, last_used; local
437 first_free = fifo_free_first_bytes(cur_in, used_in, fifo_in_len);
445 read_sz = NX_MIN(free_space, first_free);
618 first_free = fifo_free_first_bytes(cur_out, used_out, fifo_out_len);
628 first_free = NX_MIN(target_max, first_free);
629 if (first_free > 0) {
631 nx_append_dde(ddl_out, fifo_out + first_offset, first_free);
635 last_free = NX_MIN(target_max - first_free, last_free);
/linux-master/drivers/md/dm-vdo/
H A Dencodings.c829 block_count_t free_blocks = layout->last_free - layout->first_free;
843 offset = beginning ? layout->first_free : (layout->last_free - size);
851 layout->first_free += size;
884 .first_free = offset,
989 encode_u64_le(buffer, offset, layout->first_free);
1015 physical_block_number_t first_free, last_free; local
1027 decode_u64_le(buffer, offset, &first_free);
1031 .first_free = first_free,
1043 layout->first_free
[all...]
H A Dencodings.h574 physical_block_number_t first_free; member in struct:layout
588 physical_block_number_t first_free; member in struct:layout_3_0
/linux-master/drivers/net/ethernet/qlogic/qed/
H A Dqed_cxt.h305 u64 first_free; member in struct:qed_src_t2
H A Dqed_cxt.c865 p_t2->first_free = (u64)p_t2->dma_mem[0].phys_addr;
1637 p_hwfn->p_cxt_mngr->src_t2.first_free);
/linux-master/fs/ntfs3/
H A Dfslog.c99 __le32 first_free; // 0x10: member in struct:RESTART_TABLE
720 u32 ff = le32_to_cpu(rt->first_free);
774 *e = rt->first_free;
775 rt->first_free = off_le;
782 rt->first_free = off_le;
805 t->first_free = cpu_to_le32(sizeof(struct RESTART_TABLE));
837 if (tbl->first_free) {
838 rt->first_free = tbl->first_free;
841 rt->first_free
[all...]
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_flex_pipe.c2788 s8 first_free = ICE_FD_FV_NOT_FOUND; local
2807 if (first_free == ICE_FD_FV_NOT_FOUND && es[i].prot_id !=
2809 first_free = i - 1;
2819 orig_free = first_free;
2836 if (first_free + 1 < (s8)ice_fd_pairs[index].count)
2841 es[first_free - k].prot_id =
2843 es[first_free - k].off =
2846 if (k > first_free)
2850 mask_sel |= BIT(first_free - k);
2853 pair_start[index] = first_free;
[all...]
/linux-master/fs/btrfs/
H A Dscrub.c191 int first_free; member in struct:scrub_ctx
369 sctx->first_free = 0;

Completed in 280 milliseconds