Home
last modified time | relevance | path

Searched refs:rnum (Results 1 – 12 of 12) sorted by relevance

/linux-2.4.37.9/arch/ia64/sn/io/sn2/
Dl1_command.c79 uint rnum, rack, bay, brick_type, t; in iobrick_module_get() local
84 if ((ret = iobrick_rack_bay_type_get(nasid, &rnum, &bay, &brick_type)) < 0) in iobrick_module_get()
93 t = rnum / 100; /* rack class (CPU/IO) */ in iobrick_module_get()
97 rnum %= 100; in iobrick_module_get()
99 t = rnum / 10; /* rack group */ in iobrick_module_get()
104 t = rnum % 10; /* rack number (one-based) */ in iobrick_module_get()
/linux-2.4.37.9/fs/reiserfs/
Ddo_balan.c172 if ( tb->rnum[0] == -1 ) /* R[0] must be also joined with S[0] */ in balance_leaf_when_delete()
201 RFALSE( tb->rnum[0] != 0, in balance_leaf_when_delete()
202 "PAP-12045: rnum must be 0 (%d)", tb->rnum[0]); in balance_leaf_when_delete()
212 RFALSE( ( tb->lnum[0] + tb->rnum[0] < n ) || in balance_leaf_when_delete()
213 ( tb->lnum[0] + tb->rnum[0] > n+1 ), in balance_leaf_when_delete()
215 tb->rnum[0], tb->lnum[0], n); in balance_leaf_when_delete()
216 RFALSE( ( tb->lnum[0] + tb->rnum[0] == n ) && in balance_leaf_when_delete()
220 RFALSE( ( tb->lnum[0] + tb->rnum[0] == n + 1 ) && in balance_leaf_when_delete()
226 leaf_shift_right(tb, tb->rnum[0], tb->rbytes); in balance_leaf_when_delete()
233 if ( tb->rnum[0] == -1 ) { in balance_leaf_when_delete()
[all …]
Dibalance.c610 if ( tb->lnum[h] == 0 && tb->rnum[h] == 0 ) { in balance_internal_when_delete()
646 RFALSE( tb->rnum[h] != 0, in balance_internal_when_delete()
648 h, tb->rnum[h]); in balance_internal_when_delete()
656 if ( tb->R[h] && tb->rnum[h] == -B_NR_ITEMS(tb->R[h]) - 1 ) { /* join S[h] with R[h] */ in balance_internal_when_delete()
668 RFALSE( tb->rnum[h] != 0, in balance_internal_when_delete()
669 "wrong tb->rnum[%d]==%d when borrow from L[h]", h, tb->rnum[h]); in balance_internal_when_delete()
675 if ( tb->rnum[h] < 0 ) { /* borrow from right neighbor R[h] */ in balance_internal_when_delete()
679 …internal_shift_left (INTERNAL_SHIFT_FROM_R_TO_S, tb, h, -tb->rnum[h]);/*tb->S[h], tb->CFR[h], tb->… in balance_internal_when_delete()
684 RFALSE( tb->rnum[h] == 0 || tb->lnum[h] + tb->rnum[h] != n + 1, in balance_internal_when_delete()
686 h, tb->lnum[h], h, tb->rnum[h], n); in balance_internal_when_delete()
[all …]
Dfix_node.c285 tb->rnum[h] = cur_free / (DC_SIZE + KEY_SIZE); in check_right()
293 tb->rnum[h] = 0; in check_right()
308 tb->rnum[h] = vn->vn_nr_item; in check_right()
319 tb->rnum[0] = 0; in check_right()
325 tb->rnum[0] ++; in check_right()
341 tb->rnum[0] ++; in check_right()
558 int rnum, int blk_num, short * s012, int lb, int rb) in set_parameters() argument
562 tb->rnum[h] = rnum; in set_parameters()
579 PROC_INFO_ADD( tb -> tb_sb, rnum[ h ], rnum ); in set_parameters()
599 to_right = tb->rnum[0] - ((tb->rbytes != -1) ? 1 : 0); in is_leaf_removable()
[all …]
Dprints.c635 tb->insert_size[0], tb->lnum[0], tb->lbytes, tb->rnum[0],tb->rbytes, tb->blknum[0], in store_print_tb()
644 h, tb->insert_size[h], tb->lnum[h], tb->rnum[h], tb->blknum[h]); in store_print_tb()
Dprocfs.c290 SFPL( rnum ), in reiserfs_per_level_in_proc()
/linux-2.4.37.9/fs/ntfs/
Dinode.c670 int rnum, s_vcn, error, clustersizebits; in ntfs_readwrite_attr() local
745 for (rnum = 0; rnum < attr->d.r.len && in ntfs_readwrite_attr()
746 vcn + attr->d.r.runlist[rnum].len <= s_vcn; rnum++) in ntfs_readwrite_attr()
747 vcn += attr->d.r.runlist[rnum].len; in ntfs_readwrite_attr()
748 if (rnum == attr->d.r.len) { in ntfs_readwrite_attr()
751 "s_vcn = 0x%x.\n", __FUNCTION__, ino->i_number, rnum, in ntfs_readwrite_attr()
760 cluster = attr->d.r.runlist[rnum].lcn; in ntfs_readwrite_attr()
761 len = attr->d.r.runlist[rnum].len; in ntfs_readwrite_attr()
778 rnum++; in ntfs_readwrite_attr()
780 cluster = attr->d.r.runlist[rnum].lcn; in ntfs_readwrite_attr()
[all …]
Dattr.c732 int s_vcn, rnum, vcn, got, l1; in ntfs_read_compressed() local
751 for (rnum = vcn = 0; rnum < attr->d.r.len && vcn + rl->len <= s_vcn; in ntfs_read_compressed()
752 rnum++, rl++) in ntfs_read_compressed()
754 if (rnum == attr->d.r.len) { in ntfs_read_compressed()
809 rnum++; in ntfs_read_compressed()
851 rnum++; in ntfs_read_compressed()
/linux-2.4.37.9/arch/ia64/kernel/
Dperfmon.c2235 unsigned int rnum; in pfm_write_ibr_dbr() local
2314 rnum = tmp.dbreg_num; in pfm_write_ibr_dbr()
2319 if ((mode == 0 && !IBR_IS_IMPL(rnum)) || ((mode == 1) && !DBR_IS_IMPL(rnum))) { in pfm_write_ibr_dbr()
2321 rnum, dbreg.val, mode, i, count)); in pfm_write_ibr_dbr()
2329 if (rnum & 0x1) { in pfm_write_ibr_dbr()
2358 CTX_USED_IBR(ctx, rnum); in pfm_write_ibr_dbr()
2360 ia64_set_ibr(rnum, dbreg.val); in pfm_write_ibr_dbr()
2363 thread->ibr[rnum] = dbreg.val; in pfm_write_ibr_dbr()
2365 DBprintk(("write ibr%u=0x%lx used_ibrs=0x%lx\n", rnum, dbreg.val, ctx->ctx_used_ibrs[0])); in pfm_write_ibr_dbr()
2367 CTX_USED_DBR(ctx, rnum); in pfm_write_ibr_dbr()
[all …]
/linux-2.4.37.9/arch/sparc64/kernel/
Debus.c124 int rnum = regs[i]; in fill_ebus_child() local
125 if (rnum >= dev->parent->num_addrs) { in fill_ebus_child()
/linux-2.4.37.9/include/linux/
Dreiserfs_fs_sb.h319 long int rnum[ 5 ]; /* XXX */ member
Dreiserfs_fs.h1436 int rnum[MAX_HEIGHT]; /* substitute right for left in comment above */ member