tag | line | file | source code |
u | 125 | arch/i386/boot/compressed/inflate.c | struct huft *u[BMAX]; /* table stack */ |
u | 201 | arch/i386/boot/compressed/inflate.c | u[0] = (struct huft *)NULL; /* just to keep compilers happy */ |
u | 245 | arch/i386/boot/compressed/inflate.c | u[h] = ++q; /* table starts after link */ |
u | 256 | arch/i386/boot/compressed/inflate.c | u[h-1][j] = r; /* connect to last table */ |
u | 1537 | drivers/block/aztcd.c | { int u, t; |
u | 1539 | drivers/block/aztcd.c | u = *p % 10; |
u | 1541 | drivers/block/aztcd.c | *p = u | (t << 4); |
u | 1106 | drivers/block/gscd.c | int u, t; |
u | 1108 | drivers/block/gscd.c | u = *p % 10; |
u | 1110 | drivers/block/gscd.c | *p = u | (t << 4); |
u | 1247 | drivers/block/mcd.c | int u, t; |
u | 1249 | drivers/block/mcd.c | u = *p % 10; |
u | 1251 | drivers/block/mcd.c | *p = u | (t << 4); |
u | 219 | drivers/block/sjcd.c | int u, v; |
u | 221 | drivers/block/sjcd.c | u = bin % 10; v = bin / 10; |
u | 222 | drivers/block/sjcd.c | return( u | ( v << 4 ) ); |
u | 328 | drivers/char/consolemap.c | ushort u, hu; |
u | 334 | drivers/char/consolemap.c | u = get_user(&list->unicode); |
u | 335 | drivers/char/consolemap.c | i = u % hashsize; |
u | 337 | drivers/char/consolemap.c | while ((hu = hashtable[i].unicode) != 0xffff && hu != u) { |
u | 346 | drivers/char/consolemap.c | hashtable[i].unicode = u; |
u | 105 | drivers/char/selection.c | static inline unsigned short limit(const unsigned short v, const unsigned short u) |
u | 108 | drivers/char/selection.c | if (v > u) |
u | 109 | drivers/char/selection.c | return u; |
u | 340 | drivers/net/ni65.c | tmdp->u.buffer = (unsigned long) p->tmdbufs[i]; |
u | 342 | drivers/net/ni65.c | tmdp->u.s.status = XMIT_START | XMIT_END; |
u | 349 | drivers/net/ni65.c | rmdp->u.buffer = (unsigned long) p->recv_skb[i]->data; |
u | 350 | drivers/net/ni65.c | rmdp->u.s.status = RCV_OWN; |
u | 458 | drivers/net/ni65.c | tmdstat = tmdp->u.s.status; |
u | 504 | drivers/net/ni65.c | while(!( (rmdstat = rmdp->u.s.status) & RCV_OWN)) |
u | 514 | drivers/net/ni65.c | rmdp->u.s.status = RCV_OWN; /* change owner */ |
u | 523 | drivers/net/ni65.c | rmdp->u.s.status = RCV_OWN; |
u | 539 | drivers/net/ni65.c | rmdp->u.buffer = (unsigned long) skb_put(skb1,len); |
u | 541 | drivers/net/ni65.c | rmdp->u.s.status = RCV_OWN; |
u | 550 | drivers/net/ni65.c | rmdp->u.s.status = RCV_OWN; |
u | 607 | drivers/net/ni65.c | tmdp->u.buffer = (unsigned long) (skb->data); |
u | 610 | drivers/net/ni65.c | memcpy((char *) (tmdp->u.buffer & 0x00ffffff),(char *)skb->data,skb->len); |
u | 614 | drivers/net/ni65.c | tmdp->u.s.status = XMIT_OWN | XMIT_START | XMIT_END; |
u | 621 | drivers/net/ni65.c | if( !((p->tmdhead + p->tmdnum)->u.s.status & XMIT_OWN) ) |
u | 110 | drivers/net/ni65.h | } u; |
u | 125 | drivers/net/ni65.h | } u; |
u | 1048 | drivers/net/sk_g16.c | tmdp->u.buffer = (unsigned long) p->tmdbufs[i]; /* assign buffer */ |
u | 1051 | drivers/net/sk_g16.c | tmdp->u.s.status = TX_STP | TX_ENP; |
u | 1064 | drivers/net/sk_g16.c | rmdp->u.buffer = (unsigned long) p->rmdbufs[i]; /* assign buffer */ |
u | 1071 | drivers/net/sk_g16.c | rmdp->u.s.status = RX_OWN; |
u | 1258 | drivers/net/sk_g16.c | memcpy((char *) (tmdp->u.buffer & 0x00ffffff), (char *)skb->data, |
u | 1269 | drivers/net/sk_g16.c | tmdp->u.s.status = TX_OWN | TX_STP | TX_ENP; |
u | 1281 | drivers/net/sk_g16.c | if (! ((p->tmdhead + p->tmdnum)->u.s.status & TX_OWN) ) |
u | 1403 | drivers/net/sk_g16.c | tmdstat = tmdp->u.s.status & 0xff00; /* filter out status bits 15:08 */ |
u | 1522 | drivers/net/sk_g16.c | while (!( (rmdstat = rmdp->u.s.status) & RX_OWN)) |
u | 1552 | drivers/net/sk_g16.c | rmdp->u.s.status = RX_OWN; /* Relinquish ownership to LANCE */ |
u | 1564 | drivers/net/sk_g16.c | rmdp->u.s.status = RX_OWN; /* Relinquish ownership to LANCE */ |
u | 1583 | drivers/net/sk_g16.c | rmdp->u.s.status = RX_OWN; /* Relinquish ownership to LANCE */ |
u | 1603 | drivers/net/sk_g16.c | memcpy(skb_put(skb,len), (unsigned char *) (rmdp->u.buffer & 0x00ffffff), |
u | 1622 | drivers/net/sk_g16.c | rmdp->u.s.status = RX_OWN; |
u | 142 | drivers/net/sk_g16.h | } u; |
u | 160 | drivers/net/sk_g16.h | } u; |
u | 495 | drivers/scsi/wd7000.c | unchar u[sizeof(int)]; /* the sizeof(int) makes it more portable */ |
u | 501 | drivers/scsi/wd7000.c | *scsi++ = ((i_u) any).u[2]; |
u | 502 | drivers/scsi/wd7000.c | *scsi++ = ((i_u) any).u[1]; |
u | 503 | drivers/scsi/wd7000.c | *scsi++ = ((i_u) any).u[0]; |
u | 512 | drivers/scsi/wd7000.c | *(result.u+2) = *scsi++; |
u | 513 | drivers/scsi/wd7000.c | *(result.u+1) = *scsi++; |
u | 514 | drivers/scsi/wd7000.c | *(result.u) = *scsi++; |
u | 50 | fs/ext/freelists.c | if (block < sb->u.ext_sb.s_firstdatazone || |
u | 51 | fs/ext/freelists.c | block >= sb->u.ext_sb.s_nzones) { |
u | 59 | fs/ext/freelists.c | if (sb->u.ext_sb.s_firstfreeblock) |
u | 60 | fs/ext/freelists.c | efb = (struct ext_free_block *) sb->u.ext_sb.s_firstfreeblock->b_data; |
u | 61 | fs/ext/freelists.c | if (!sb->u.ext_sb.s_firstfreeblock || efb->count == 254) { |
u | 65 | fs/ext/freelists.c | if (sb->u.ext_sb.s_firstfreeblock) |
u | 66 | fs/ext/freelists.c | brelse (sb->u.ext_sb.s_firstfreeblock); |
u | 67 | fs/ext/freelists.c | if (!(sb->u.ext_sb.s_firstfreeblock = bread (sb->s_dev, |
u | 70 | fs/ext/freelists.c | efb = (struct ext_free_block *) sb->u.ext_sb.s_firstfreeblock->b_data; |
u | 71 | fs/ext/freelists.c | efb->next = sb->u.ext_sb.s_firstfreeblocknumber; |
u | 73 | fs/ext/freelists.c | sb->u.ext_sb.s_firstfreeblocknumber = block; |
u | 77 | fs/ext/freelists.c | sb->u.ext_sb.s_freeblockscount ++; |
u | 79 | fs/ext/freelists.c | mark_buffer_dirty(sb->u.ext_sb.s_firstfreeblock, 1); |
u | 94 | fs/ext/freelists.c | if (!sb->u.ext_sb.s_firstfreeblock) |
u | 97 | fs/ext/freelists.c | efb = (struct ext_free_block *) sb->u.ext_sb.s_firstfreeblock->b_data; |
u | 100 | fs/ext/freelists.c | mark_buffer_dirty(sb->u.ext_sb.s_firstfreeblock, 1); |
u | 105 | fs/ext/freelists.c | j = sb->u.ext_sb.s_firstfreeblocknumber; |
u | 106 | fs/ext/freelists.c | sb->u.ext_sb.s_firstfreeblocknumber = efb->next; |
u | 107 | fs/ext/freelists.c | brelse (sb->u.ext_sb.s_firstfreeblock); |
u | 108 | fs/ext/freelists.c | if (!sb->u.ext_sb.s_firstfreeblocknumber) { |
u | 109 | fs/ext/freelists.c | sb->u.ext_sb.s_firstfreeblock = NULL; |
u | 111 | fs/ext/freelists.c | if (!(sb->u.ext_sb.s_firstfreeblock = bread (sb->s_dev, |
u | 112 | fs/ext/freelists.c | sb->u.ext_sb.s_firstfreeblocknumber, |
u | 117 | fs/ext/freelists.c | if (j < sb->u.ext_sb.s_firstdatazone || j > sb->u.ext_sb.s_nzones) { |
u | 122 | fs/ext/freelists.c | sb->u.ext_sb.s_freeblockscount --; |
u | 148 | fs/ext/freelists.c | if (!sb->u.ext_sb.s_firstfreeblock) |
u | 151 | fs/ext/freelists.c | efb = (struct ext_free_block *) sb->u.ext_sb.s_firstfreeblock->b_data; |
u | 167 | fs/ext/freelists.c | sb->u.ext_sb.s_freeblockscount, count); |
u | 171 | fs/ext/freelists.c | return sb->u.ext_sb.s_freeblockscount; |
u | 207 | fs/ext/freelists.c | if (ino < 1 || ino > sb->u.ext_sb.s_ninodes) { |
u | 212 | fs/ext/freelists.c | if (sb->u.ext_sb.s_firstfreeinodeblock) |
u | 213 | fs/ext/freelists.c | efi = ((struct ext_free_inode *) sb->u.ext_sb.s_firstfreeinodeblock->b_data) + |
u | 214 | fs/ext/freelists.c | (sb->u.ext_sb.s_firstfreeinodenumber-1)%EXT_INODES_PER_BLOCK; |
u | 215 | fs/ext/freelists.c | if (!sb->u.ext_sb.s_firstfreeinodeblock || efi->count == 14) { |
u | 219 | fs/ext/freelists.c | if (sb->u.ext_sb.s_firstfreeinodeblock) |
u | 220 | fs/ext/freelists.c | brelse (sb->u.ext_sb.s_firstfreeinodeblock); |
u | 226 | fs/ext/freelists.c | efi->next = sb->u.ext_sb.s_firstfreeinodenumber; |
u | 228 | fs/ext/freelists.c | sb->u.ext_sb.s_firstfreeinodenumber = ino; |
u | 229 | fs/ext/freelists.c | sb->u.ext_sb.s_firstfreeinodeblock = bh; |
u | 233 | fs/ext/freelists.c | sb->u.ext_sb.s_freeinodescount ++; |
u | 235 | fs/ext/freelists.c | mark_buffer_dirty(sb->u.ext_sb.s_firstfreeinodeblock, 1); |
u | 252 | fs/ext/freelists.c | if (!sb->u.ext_sb.s_firstfreeinodeblock) |
u | 255 | fs/ext/freelists.c | efi = ((struct ext_free_inode *) sb->u.ext_sb.s_firstfreeinodeblock->b_data) + |
u | 256 | fs/ext/freelists.c | (sb->u.ext_sb.s_firstfreeinodenumber-1)%EXT_INODES_PER_BLOCK; |
u | 259 | fs/ext/freelists.c | mark_buffer_dirty(sb->u.ext_sb.s_firstfreeinodeblock, 1); |
u | 264 | fs/ext/freelists.c | j = sb->u.ext_sb.s_firstfreeinodenumber; |
u | 265 | fs/ext/freelists.c | if (efi->next > sb->u.ext_sb.s_ninodes) { |
u | 269 | fs/ext/freelists.c | sb->u.ext_sb.s_firstfreeinodenumber = efi->next; |
u | 271 | fs/ext/freelists.c | brelse (sb->u.ext_sb.s_firstfreeinodeblock); |
u | 272 | fs/ext/freelists.c | if (!sb->u.ext_sb.s_firstfreeinodenumber) { |
u | 273 | fs/ext/freelists.c | sb->u.ext_sb.s_firstfreeinodeblock = NULL; |
u | 275 | fs/ext/freelists.c | if (!(sb->u.ext_sb.s_firstfreeinodeblock = |
u | 280 | fs/ext/freelists.c | sb->u.ext_sb.s_freeinodescount --; |
u | 308 | fs/ext/freelists.c | if (!sb->u.ext_sb.s_firstfreeinodeblock) |
u | 311 | fs/ext/freelists.c | efi = ((struct ext_free_inode *) sb->u.ext_sb.s_firstfreeinodeblock->b_data) + |
u | 312 | fs/ext/freelists.c | ((sb->u.ext_sb.s_firstfreeinodenumber-1)%EXT_INODES_PER_BLOCK); |
u | 316 | fs/ext/freelists.c | if (ino < 1 || ino > sb->u.ext_sb.s_ninodes) { |
u | 318 | fs/ext/freelists.c | (int) sb->u.ext_sb.s_firstfreeinodenumber,ino); |
u | 335 | fs/ext/freelists.c | sb->u.ext_sb.s_freeinodescount, count); |
u | 339 | fs/ext/freelists.c | return sb->u.ext_sb.s_freeinodescount; |
u | 89 | fs/ext/fsync.c | rc = sync_block (inode, inode->u.ext_i.i_data + i, wait); |
u | 179 | fs/ext/fsync.c | err |= sync_indirect(inode, inode->u.ext_i.i_data+9, wait); |
u | 180 | fs/ext/fsync.c | err |= sync_dindirect(inode, inode->u.ext_i.i_data+10, wait); |
u | 181 | fs/ext/fsync.c | err |= sync_tindirect(inode, inode->u.ext_i.i_data+11, wait); |
u | 38 | fs/ext/inode.c | if (sb->u.ext_sb.s_firstfreeinodeblock) |
u | 39 | fs/ext/inode.c | brelse (sb->u.ext_sb.s_firstfreeinodeblock); |
u | 40 | fs/ext/inode.c | if (sb->u.ext_sb.s_firstfreeblock) |
u | 41 | fs/ext/inode.c | brelse (sb->u.ext_sb.s_firstfreeblock); |
u | 75 | fs/ext/inode.c | s->u.ext_sb.s_ninodes = es->s_ninodes; |
u | 76 | fs/ext/inode.c | s->u.ext_sb.s_nzones = es->s_nzones; |
u | 77 | fs/ext/inode.c | s->u.ext_sb.s_firstdatazone = es->s_firstdatazone; |
u | 78 | fs/ext/inode.c | s->u.ext_sb.s_log_zone_size = es->s_log_zone_size; |
u | 79 | fs/ext/inode.c | s->u.ext_sb.s_max_size = es->s_max_size; |
u | 81 | fs/ext/inode.c | s->u.ext_sb.s_firstfreeblocknumber = es->s_firstfreeblock; |
u | 82 | fs/ext/inode.c | s->u.ext_sb.s_freeblockscount = es->s_freeblockscount; |
u | 83 | fs/ext/inode.c | s->u.ext_sb.s_firstfreeinodenumber = es->s_firstfreeinode; |
u | 84 | fs/ext/inode.c | s->u.ext_sb.s_freeinodescount = es->s_freeinodescount; |
u | 94 | fs/ext/inode.c | if (!s->u.ext_sb.s_firstfreeblocknumber) |
u | 95 | fs/ext/inode.c | s->u.ext_sb.s_firstfreeblock = NULL; |
u | 97 | fs/ext/inode.c | if (!(s->u.ext_sb.s_firstfreeblock = bread(dev, |
u | 98 | fs/ext/inode.c | s->u.ext_sb.s_firstfreeblocknumber, BLOCK_SIZE))) { |
u | 104 | fs/ext/inode.c | if (!s->u.ext_sb.s_firstfreeinodenumber) |
u | 105 | fs/ext/inode.c | s->u.ext_sb.s_firstfreeinodeblock = NULL; |
u | 107 | fs/ext/inode.c | block = 2 + (s->u.ext_sb.s_firstfreeinodenumber - 1) / EXT_INODES_PER_BLOCK; |
u | 108 | fs/ext/inode.c | if (!(s->u.ext_sb.s_firstfreeinodeblock = bread(dev, block, BLOCK_SIZE))) { |
u | 110 | fs/ext/inode.c | brelse(s->u.ext_sb.s_firstfreeblock); |
u | 138 | fs/ext/inode.c | es->s_firstfreeblock = sb->u.ext_sb.s_firstfreeblocknumber; |
u | 139 | fs/ext/inode.c | es->s_freeblockscount = sb->u.ext_sb.s_freeblockscount; |
u | 140 | fs/ext/inode.c | es->s_firstfreeinode = sb->u.ext_sb.s_firstfreeinodenumber; |
u | 141 | fs/ext/inode.c | es->s_freeinodescount = sb->u.ext_sb.s_freeinodescount; |
u | 153 | fs/ext/inode.c | tmp.f_blocks = sb->u.ext_sb.s_nzones << sb->u.ext_sb.s_log_zone_size; |
u | 156 | fs/ext/inode.c | tmp.f_files = sb->u.ext_sb.s_ninodes; |
u | 162 | fs/ext/inode.c | #define inode_bmap(inode,nr) ((inode)->u.ext_i.i_data[(nr)]) |
u | 225 | fs/ext/inode.c | p = inode->u.ext_i.i_data + nr; |
u | 370 | fs/ext/inode.c | inode->u.ext_i.i_data[block] = raw_inode->i_zone[block]; |
u | 407 | fs/ext/inode.c | raw_inode->i_zone[block] = inode->u.ext_i.i_data[block]; |
u | 42 | fs/ext/truncate.c | p = inode->u.ext_i.i_data+i; |
u | 184 | fs/ext/truncate.c | p = inode->u.ext_i.i_data+11; |
u | 232 | fs/ext/truncate.c | retry |= trunc_indirect(inode,9,inode->u.ext_i.i_data+9); |
u | 233 | fs/ext/truncate.c | retry |= trunc_dindirect(inode,9+256,inode->u.ext_i.i_data+10); |
u | 46 | fs/ext2/balloc.c | if (block_group >= sb->u.ext2_sb.s_groups_count) |
u | 50 | fs/ext2/balloc.c | block_group, sb->u.ext2_sb.s_groups_count); |
u | 54 | fs/ext2/balloc.c | if (!sb->u.ext2_sb.s_group_desc[group_desc]) |
u | 60 | fs/ext2/balloc.c | sb->u.ext2_sb.s_group_desc[group_desc]->b_data; |
u | 62 | fs/ext2/balloc.c | *bh = sb->u.ext2_sb.s_group_desc[group_desc]; |
u | 80 | fs/ext2/balloc.c | sb->u.ext2_sb.s_block_bitmap_number[bitmap_nr] = block_group; |
u | 81 | fs/ext2/balloc.c | sb->u.ext2_sb.s_block_bitmap[bitmap_nr] = bh; |
u | 102 | fs/ext2/balloc.c | if (block_group >= sb->u.ext2_sb.s_groups_count) |
u | 106 | fs/ext2/balloc.c | block_group, sb->u.ext2_sb.s_groups_count); |
u | 108 | fs/ext2/balloc.c | if (sb->u.ext2_sb.s_groups_count <= EXT2_MAX_GROUP_LOADED) { |
u | 109 | fs/ext2/balloc.c | if (sb->u.ext2_sb.s_block_bitmap[block_group]) { |
u | 110 | fs/ext2/balloc.c | if (sb->u.ext2_sb.s_block_bitmap_number[block_group] != |
u | 122 | fs/ext2/balloc.c | for (i = 0; i < sb->u.ext2_sb.s_loaded_block_bitmaps && |
u | 123 | fs/ext2/balloc.c | sb->u.ext2_sb.s_block_bitmap_number[i] != block_group; i++) |
u | 125 | fs/ext2/balloc.c | if (i < sb->u.ext2_sb.s_loaded_block_bitmaps && |
u | 126 | fs/ext2/balloc.c | sb->u.ext2_sb.s_block_bitmap_number[i] == block_group) { |
u | 127 | fs/ext2/balloc.c | block_bitmap_number = sb->u.ext2_sb.s_block_bitmap_number[i]; |
u | 128 | fs/ext2/balloc.c | block_bitmap = sb->u.ext2_sb.s_block_bitmap[i]; |
u | 130 | fs/ext2/balloc.c | sb->u.ext2_sb.s_block_bitmap_number[j] = |
u | 131 | fs/ext2/balloc.c | sb->u.ext2_sb.s_block_bitmap_number[j - 1]; |
u | 132 | fs/ext2/balloc.c | sb->u.ext2_sb.s_block_bitmap[j] = |
u | 133 | fs/ext2/balloc.c | sb->u.ext2_sb.s_block_bitmap[j - 1]; |
u | 135 | fs/ext2/balloc.c | sb->u.ext2_sb.s_block_bitmap_number[0] = block_bitmap_number; |
u | 136 | fs/ext2/balloc.c | sb->u.ext2_sb.s_block_bitmap[0] = block_bitmap; |
u | 138 | fs/ext2/balloc.c | if (sb->u.ext2_sb.s_loaded_block_bitmaps < EXT2_MAX_GROUP_LOADED) |
u | 139 | fs/ext2/balloc.c | sb->u.ext2_sb.s_loaded_block_bitmaps++; |
u | 141 | fs/ext2/balloc.c | brelse (sb->u.ext2_sb.s_block_bitmap[EXT2_MAX_GROUP_LOADED - 1]); |
u | 142 | fs/ext2/balloc.c | for (j = sb->u.ext2_sb.s_loaded_block_bitmaps - 1; j > 0; j--) { |
u | 143 | fs/ext2/balloc.c | sb->u.ext2_sb.s_block_bitmap_number[j] = |
u | 144 | fs/ext2/balloc.c | sb->u.ext2_sb.s_block_bitmap_number[j - 1]; |
u | 145 | fs/ext2/balloc.c | sb->u.ext2_sb.s_block_bitmap[j] = |
u | 146 | fs/ext2/balloc.c | sb->u.ext2_sb.s_block_bitmap[j - 1]; |
u | 156 | fs/ext2/balloc.c | if (sb->u.ext2_sb.s_loaded_block_bitmaps > 0 && |
u | 157 | fs/ext2/balloc.c | sb->u.ext2_sb.s_block_bitmap_number[0] == block_group) |
u | 160 | fs/ext2/balloc.c | if (sb->u.ext2_sb.s_groups_count <= EXT2_MAX_GROUP_LOADED && |
u | 161 | fs/ext2/balloc.c | sb->u.ext2_sb.s_block_bitmap_number[block_group] == block_group && |
u | 162 | fs/ext2/balloc.c | sb->u.ext2_sb.s_block_bitmap[block_group]) |
u | 185 | fs/ext2/balloc.c | es = sb->u.ext2_sb.s_es; |
u | 206 | fs/ext2/balloc.c | bh = sb->u.ext2_sb.s_block_bitmap[bitmap_nr]; |
u | 213 | fs/ext2/balloc.c | sb->u.ext2_sb.s_itb_per_group) || |
u | 215 | fs/ext2/balloc.c | sb->u.ext2_sb.s_itb_per_group))) |
u | 233 | fs/ext2/balloc.c | mark_buffer_dirty(sb->u.ext2_sb.s_sbh, 1); |
u | 272 | fs/ext2/balloc.c | es = sb->u.ext2_sb.s_es; |
u | 274 | fs/ext2/balloc.c | (!fsuser() && (sb->u.ext2_sb.s_resuid != current->fsuid) && |
u | 275 | fs/ext2/balloc.c | (sb->u.ext2_sb.s_resgid == 0 || |
u | 276 | fs/ext2/balloc.c | !in_group_p (sb->u.ext2_sb.s_resgid)))) { |
u | 298 | fs/ext2/balloc.c | bh = sb->u.ext2_sb.s_block_bitmap[bitmap_nr]; |
u | 357 | fs/ext2/balloc.c | for (k = 0; k < sb->u.ext2_sb.s_groups_count; k++) { |
u | 359 | fs/ext2/balloc.c | if (i >= sb->u.ext2_sb.s_groups_count) |
u | 365 | fs/ext2/balloc.c | if (k >= sb->u.ext2_sb.s_groups_count) { |
u | 370 | fs/ext2/balloc.c | bh = sb->u.ext2_sb.s_block_bitmap[bitmap_nr]; |
u | 402 | fs/ext2/balloc.c | in_range (tmp, gdp->bg_inode_table, sb->u.ext2_sb.s_itb_per_group))) |
u | 466 | fs/ext2/balloc.c | mark_buffer_dirty(sb->u.ext2_sb.s_sbh, 1); |
u | 482 | fs/ext2/balloc.c | es = sb->u.ext2_sb.s_es; |
u | 486 | fs/ext2/balloc.c | for (i = 0; i < sb->u.ext2_sb.s_groups_count; i++) { |
u | 490 | fs/ext2/balloc.c | x = ext2_count_free (sb->u.ext2_sb.s_block_bitmap[bitmap_nr], |
u | 501 | fs/ext2/balloc.c | return sb->u.ext2_sb.s_es->s_free_blocks_count; |
u | 509 | fs/ext2/balloc.c | return test_bit ((block - sb->u.ext2_sb.s_es->s_first_data_block) % |
u | 524 | fs/ext2/balloc.c | es = sb->u.ext2_sb.s_es; |
u | 528 | fs/ext2/balloc.c | desc_blocks = (sb->u.ext2_sb.s_groups_count + EXT2_DESC_PER_BLOCK(sb) - 1) / |
u | 530 | fs/ext2/balloc.c | for (i = 0; i < sb->u.ext2_sb.s_groups_count; i++) { |
u | 534 | fs/ext2/balloc.c | bh = sb->u.ext2_sb.s_block_bitmap[bitmap_nr]; |
u | 556 | fs/ext2/balloc.c | for (j = 0; j < sb->u.ext2_sb.s_itb_per_group; j++) |
u | 87 | fs/ext2/dir.c | else if (dir && de->inode > dir->i_sb->u.ext2_sb.s_es->s_inodes_count) |
u | 275 | fs/ext2/file.c | inode->u.ext2_i.i_osync++; |
u | 344 | fs/ext2/file.c | inode->u.ext2_i.i_osync--; |
u | 88 | fs/ext2/fsync.c | rc = sync_block (inode, inode->u.ext2_i.i_data + i, wait); |
u | 183 | fs/ext2/fsync.c | inode->u.ext2_i.i_data+EXT2_IND_BLOCK, |
u | 186 | fs/ext2/fsync.c | inode->u.ext2_i.i_data+EXT2_DIND_BLOCK, |
u | 189 | fs/ext2/fsync.c | inode->u.ext2_i.i_data+EXT2_TIND_BLOCK, |
u | 45 | fs/ext2/ialloc.c | if (block_group >= sb->u.ext2_sb.s_groups_count) |
u | 49 | fs/ext2/ialloc.c | block_group, sb->u.ext2_sb.s_groups_count); |
u | 53 | fs/ext2/ialloc.c | if (!sb->u.ext2_sb.s_group_desc[group_desc]) |
u | 59 | fs/ext2/ialloc.c | sb->u.ext2_sb.s_group_desc[group_desc]->b_data; |
u | 61 | fs/ext2/ialloc.c | *bh = sb->u.ext2_sb.s_group_desc[group_desc]; |
u | 79 | fs/ext2/ialloc.c | sb->u.ext2_sb.s_inode_bitmap_number[bitmap_nr] = block_group; |
u | 80 | fs/ext2/ialloc.c | sb->u.ext2_sb.s_inode_bitmap[bitmap_nr] = bh; |
u | 101 | fs/ext2/ialloc.c | if (block_group >= sb->u.ext2_sb.s_groups_count) |
u | 105 | fs/ext2/ialloc.c | block_group, sb->u.ext2_sb.s_groups_count); |
u | 106 | fs/ext2/ialloc.c | if (sb->u.ext2_sb.s_loaded_inode_bitmaps > 0 && |
u | 107 | fs/ext2/ialloc.c | sb->u.ext2_sb.s_inode_bitmap_number[0] == block_group) |
u | 109 | fs/ext2/ialloc.c | if (sb->u.ext2_sb.s_groups_count <= EXT2_MAX_GROUP_LOADED) { |
u | 110 | fs/ext2/ialloc.c | if (sb->u.ext2_sb.s_inode_bitmap[block_group]) { |
u | 111 | fs/ext2/ialloc.c | if (sb->u.ext2_sb.s_inode_bitmap_number[block_group] != block_group) |
u | 122 | fs/ext2/ialloc.c | for (i = 0; i < sb->u.ext2_sb.s_loaded_inode_bitmaps && |
u | 123 | fs/ext2/ialloc.c | sb->u.ext2_sb.s_inode_bitmap_number[i] != block_group; |
u | 126 | fs/ext2/ialloc.c | if (i < sb->u.ext2_sb.s_loaded_inode_bitmaps && |
u | 127 | fs/ext2/ialloc.c | sb->u.ext2_sb.s_inode_bitmap_number[i] == block_group) { |
u | 128 | fs/ext2/ialloc.c | inode_bitmap_number = sb->u.ext2_sb.s_inode_bitmap_number[i]; |
u | 129 | fs/ext2/ialloc.c | inode_bitmap = sb->u.ext2_sb.s_inode_bitmap[i]; |
u | 131 | fs/ext2/ialloc.c | sb->u.ext2_sb.s_inode_bitmap_number[j] = |
u | 132 | fs/ext2/ialloc.c | sb->u.ext2_sb.s_inode_bitmap_number[j - 1]; |
u | 133 | fs/ext2/ialloc.c | sb->u.ext2_sb.s_inode_bitmap[j] = |
u | 134 | fs/ext2/ialloc.c | sb->u.ext2_sb.s_inode_bitmap[j - 1]; |
u | 136 | fs/ext2/ialloc.c | sb->u.ext2_sb.s_inode_bitmap_number[0] = inode_bitmap_number; |
u | 137 | fs/ext2/ialloc.c | sb->u.ext2_sb.s_inode_bitmap[0] = inode_bitmap; |
u | 139 | fs/ext2/ialloc.c | if (sb->u.ext2_sb.s_loaded_inode_bitmaps < EXT2_MAX_GROUP_LOADED) |
u | 140 | fs/ext2/ialloc.c | sb->u.ext2_sb.s_loaded_inode_bitmaps++; |
u | 142 | fs/ext2/ialloc.c | brelse (sb->u.ext2_sb.s_inode_bitmap[EXT2_MAX_GROUP_LOADED - 1]); |
u | 143 | fs/ext2/ialloc.c | for (j = sb->u.ext2_sb.s_loaded_inode_bitmaps - 1; j > 0; j--) { |
u | 144 | fs/ext2/ialloc.c | sb->u.ext2_sb.s_inode_bitmap_number[j] = |
u | 145 | fs/ext2/ialloc.c | sb->u.ext2_sb.s_inode_bitmap_number[j - 1]; |
u | 146 | fs/ext2/ialloc.c | sb->u.ext2_sb.s_inode_bitmap[j] = |
u | 147 | fs/ext2/ialloc.c | sb->u.ext2_sb.s_inode_bitmap[j - 1]; |
u | 226 | fs/ext2/ialloc.c | inode->i_ino > sb->u.ext2_sb.s_es->s_inodes_count) { |
u | 232 | fs/ext2/ialloc.c | es = sb->u.ext2_sb.s_es; |
u | 236 | fs/ext2/ialloc.c | bh = sb->u.ext2_sb.s_inode_bitmap[bitmap_nr]; |
u | 247 | fs/ext2/ialloc.c | mark_buffer_dirty(sb->u.ext2_sb.s_sbh, 1); |
u | 283 | fs/ext2/ialloc.c | inode->u.ext2_i.i_version = 1; |
u | 291 | fs/ext2/ialloc.c | inode->u.ext2_i.i_version = raw_inode->i_version; |
u | 324 | fs/ext2/ialloc.c | es = sb->u.ext2_sb.s_es; |
u | 330 | fs/ext2/ialloc.c | sb->u.ext2_sb.s_groups_count; |
u | 345 | fs/ext2/ialloc.c | for (j = 0; j < sb->u.ext2_sb.s_groups_count; j++) { |
u | 364 | fs/ext2/ialloc.c | i = dir->u.ext2_i.i_block_group; |
u | 374 | fs/ext2/ialloc.c | for (j = 1; j < sb->u.ext2_sb.s_groups_count; j <<= 1) { |
u | 376 | fs/ext2/ialloc.c | if (i >= sb->u.ext2_sb.s_groups_count) |
u | 377 | fs/ext2/ialloc.c | i -= sb->u.ext2_sb.s_groups_count; |
u | 389 | fs/ext2/ialloc.c | i = dir->u.ext2_i.i_block_group + 1; |
u | 390 | fs/ext2/ialloc.c | for (j = 2; j < sb->u.ext2_sb.s_groups_count; j++) { |
u | 391 | fs/ext2/ialloc.c | if (++i >= sb->u.ext2_sb.s_groups_count) |
u | 408 | fs/ext2/ialloc.c | bh = sb->u.ext2_sb.s_inode_bitmap[bitmap_nr]; |
u | 447 | fs/ext2/ialloc.c | mark_buffer_dirty(sb->u.ext2_sb.s_sbh, 1); |
u | 468 | fs/ext2/ialloc.c | inode->u.ext2_i.i_flags = dir->u.ext2_i.i_flags; |
u | 470 | fs/ext2/ialloc.c | inode->u.ext2_i.i_flags &= ~(EXT2_IMMUTABLE_FL | EXT2_APPEND_FL); |
u | 471 | fs/ext2/ialloc.c | inode->u.ext2_i.i_faddr = 0; |
u | 472 | fs/ext2/ialloc.c | inode->u.ext2_i.i_frag_no = 0; |
u | 473 | fs/ext2/ialloc.c | inode->u.ext2_i.i_frag_size = 0; |
u | 474 | fs/ext2/ialloc.c | inode->u.ext2_i.i_file_acl = 0; |
u | 475 | fs/ext2/ialloc.c | inode->u.ext2_i.i_dir_acl = 0; |
u | 476 | fs/ext2/ialloc.c | inode->u.ext2_i.i_dtime = 0; |
u | 477 | fs/ext2/ialloc.c | inode->u.ext2_i.i_block_group = i; |
u | 479 | fs/ext2/ialloc.c | if (inode->u.ext2_i.i_flags & EXT2_SYNC_FL) |
u | 500 | fs/ext2/ialloc.c | es = sb->u.ext2_sb.s_es; |
u | 504 | fs/ext2/ialloc.c | for (i = 0; i < sb->u.ext2_sb.s_groups_count; i++) { |
u | 508 | fs/ext2/ialloc.c | x = ext2_count_free (sb->u.ext2_sb.s_inode_bitmap[bitmap_nr], |
u | 519 | fs/ext2/ialloc.c | return sb->u.ext2_sb.s_es->s_free_inodes_count; |
u | 532 | fs/ext2/ialloc.c | es = sb->u.ext2_sb.s_es; |
u | 536 | fs/ext2/ialloc.c | for (i = 0; i < sb->u.ext2_sb.s_groups_count; i++) { |
u | 540 | fs/ext2/ialloc.c | x = ext2_count_free (sb->u.ext2_sb.s_inode_bitmap[bitmap_nr], |
u | 42 | fs/ext2/inode.c | #define inode_bmap(inode, nr) ((inode)->u.ext2_i.i_data[(nr)]) |
u | 65 | fs/ext2/inode.c | if (inode->u.ext2_i.i_prealloc_count) { |
u | 66 | fs/ext2/inode.c | int i = inode->u.ext2_i.i_prealloc_count; |
u | 67 | fs/ext2/inode.c | inode->u.ext2_i.i_prealloc_count = 0; |
u | 69 | fs/ext2/inode.c | inode->u.ext2_i.i_prealloc_block, |
u | 86 | fs/ext2/inode.c | if (inode->u.ext2_i.i_prealloc_count && |
u | 87 | fs/ext2/inode.c | (goal == inode->u.ext2_i.i_prealloc_block || |
u | 88 | fs/ext2/inode.c | goal + 1 == inode->u.ext2_i.i_prealloc_block)) |
u | 90 | fs/ext2/inode.c | result = inode->u.ext2_i.i_prealloc_block++; |
u | 91 | fs/ext2/inode.c | inode->u.ext2_i.i_prealloc_count--; |
u | 115 | fs/ext2/inode.c | &inode->u.ext2_i.i_prealloc_count, |
u | 116 | fs/ext2/inode.c | &inode->u.ext2_i.i_prealloc_block); |
u | 192 | fs/ext2/inode.c | p = inode->u.ext2_i.i_data + nr; |
u | 208 | fs/ext2/inode.c | if (inode->u.ext2_i.i_next_alloc_block == new_block) |
u | 209 | fs/ext2/inode.c | goal = inode->u.ext2_i.i_next_alloc_goal; |
u | 215 | fs/ext2/inode.c | if (inode->u.ext2_i.i_data[tmp]) { |
u | 216 | fs/ext2/inode.c | goal = inode->u.ext2_i.i_data[tmp]; |
u | 221 | fs/ext2/inode.c | goal = (inode->u.ext2_i.i_block_group * |
u | 223 | fs/ext2/inode.c | inode->i_sb->u.ext2_sb.s_es->s_first_data_block; |
u | 238 | fs/ext2/inode.c | inode->u.ext2_i.i_next_alloc_block = new_block; |
u | 239 | fs/ext2/inode.c | inode->u.ext2_i.i_next_alloc_goal = tmp; |
u | 242 | fs/ext2/inode.c | if (IS_SYNC(inode) || inode->u.ext2_i.i_osync) |
u | 288 | fs/ext2/inode.c | if (inode->u.ext2_i.i_next_alloc_block == new_block) |
u | 289 | fs/ext2/inode.c | goal = inode->u.ext2_i.i_next_alloc_goal; |
u | 313 | fs/ext2/inode.c | if (IS_SYNC(inode) || inode->u.ext2_i.i_osync) { |
u | 320 | fs/ext2/inode.c | inode->u.ext2_i.i_next_alloc_block = new_block; |
u | 321 | fs/ext2/inode.c | inode->u.ext2_i.i_next_alloc_goal = tmp; |
u | 388 | fs/ext2/inode.c | inode->u.ext2_i.i_next_alloc_block, |
u | 389 | fs/ext2/inode.c | inode->u.ext2_i.i_next_alloc_goal); |
u | 391 | fs/ext2/inode.c | if (block == inode->u.ext2_i.i_next_alloc_block + 1) { |
u | 392 | fs/ext2/inode.c | inode->u.ext2_i.i_next_alloc_block++; |
u | 393 | fs/ext2/inode.c | inode->u.ext2_i.i_next_alloc_goal++; |
u | 503 | fs/ext2/inode.c | inode->i_ino > inode->i_sb->u.ext2_sb.s_es->s_inodes_count) { |
u | 509 | fs/ext2/inode.c | if (block_group >= inode->i_sb->u.ext2_sb.s_groups_count) |
u | 514 | fs/ext2/inode.c | bh = inode->i_sb->u.ext2_sb.s_group_desc[group_desc]; |
u | 536 | fs/ext2/inode.c | inode->u.ext2_i.i_dtime = raw_inode->i_dtime; |
u | 540 | fs/ext2/inode.c | inode->u.ext2_i.i_flags = raw_inode->i_flags; |
u | 541 | fs/ext2/inode.c | inode->u.ext2_i.i_faddr = raw_inode->i_faddr; |
u | 542 | fs/ext2/inode.c | inode->u.ext2_i.i_frag_no = raw_inode->i_frag; |
u | 543 | fs/ext2/inode.c | inode->u.ext2_i.i_frag_size = raw_inode->i_fsize; |
u | 544 | fs/ext2/inode.c | inode->u.ext2_i.i_osync = 0; |
u | 545 | fs/ext2/inode.c | inode->u.ext2_i.i_file_acl = raw_inode->i_file_acl; |
u | 546 | fs/ext2/inode.c | inode->u.ext2_i.i_dir_acl = raw_inode->i_dir_acl; |
u | 547 | fs/ext2/inode.c | inode->u.ext2_i.i_version = raw_inode->i_version; |
u | 548 | fs/ext2/inode.c | inode->u.ext2_i.i_block_group = block_group; |
u | 549 | fs/ext2/inode.c | inode->u.ext2_i.i_next_alloc_block = 0; |
u | 550 | fs/ext2/inode.c | inode->u.ext2_i.i_next_alloc_goal = 0; |
u | 551 | fs/ext2/inode.c | if (inode->u.ext2_i.i_prealloc_count) |
u | 557 | fs/ext2/inode.c | inode->u.ext2_i.i_data[block] = raw_inode->i_block[block]; |
u | 575 | fs/ext2/inode.c | if (inode->u.ext2_i.i_flags & EXT2_SYNC_FL) |
u | 577 | fs/ext2/inode.c | if (inode->u.ext2_i.i_flags & EXT2_APPEND_FL) |
u | 579 | fs/ext2/inode.c | if (inode->u.ext2_i.i_flags & EXT2_IMMUTABLE_FL) |
u | 594 | fs/ext2/inode.c | inode->i_ino > inode->i_sb->u.ext2_sb.s_es->s_inodes_count) { |
u | 600 | fs/ext2/inode.c | if (block_group >= inode->i_sb->u.ext2_sb.s_groups_count) |
u | 605 | fs/ext2/inode.c | bh = inode->i_sb->u.ext2_sb.s_group_desc[group_desc]; |
u | 628 | fs/ext2/inode.c | raw_inode->i_dtime = inode->u.ext2_i.i_dtime; |
u | 629 | fs/ext2/inode.c | raw_inode->i_flags = inode->u.ext2_i.i_flags; |
u | 630 | fs/ext2/inode.c | raw_inode->i_faddr = inode->u.ext2_i.i_faddr; |
u | 631 | fs/ext2/inode.c | raw_inode->i_frag = inode->u.ext2_i.i_frag_no; |
u | 632 | fs/ext2/inode.c | raw_inode->i_fsize = inode->u.ext2_i.i_frag_size; |
u | 633 | fs/ext2/inode.c | raw_inode->i_file_acl = inode->u.ext2_i.i_file_acl; |
u | 634 | fs/ext2/inode.c | raw_inode->i_dir_acl = inode->u.ext2_i.i_dir_acl; |
u | 635 | fs/ext2/inode.c | raw_inode->i_version = inode->u.ext2_i.i_version; |
u | 639 | fs/ext2/inode.c | raw_inode->i_block[block] = inode->u.ext2_i.i_data[block]; |
u | 31 | fs/ext2/ioctl.c | put_fs_long (inode->u.ext2_i.i_flags, (long *) arg); |
u | 39 | fs/ext2/ioctl.c | (inode->u.ext2_i.i_flags & EXT2_IMMUTABLE_FL)) { |
u | 48 | fs/ext2/ioctl.c | inode->u.ext2_i.i_flags = flags; |
u | 63 | fs/ext2/ioctl.c | put_fs_long (inode->u.ext2_i.i_version, (long *) arg); |
u | 70 | fs/ext2/ioctl.c | inode->u.ext2_i.i_version = get_fs_long ((long *) arg); |
u | 769 | fs/ext2/namei.c | if (l >= sizeof (inode->u.ext2_i.i_data)) { |
u | 783 | fs/ext2/namei.c | link = (char *) inode->u.ext2_i.i_data; |
u | 1098 | fs/ext2/namei.c | while (old_dir->i_sb->u.ext2_sb.s_rename_lock) |
u | 1099 | fs/ext2/namei.c | sleep_on (&old_dir->i_sb->u.ext2_sb.s_rename_wait); |
u | 1100 | fs/ext2/namei.c | old_dir->i_sb->u.ext2_sb.s_rename_lock = 1; |
u | 1103 | fs/ext2/namei.c | old_dir->i_sb->u.ext2_sb.s_rename_lock = 0; |
u | 1104 | fs/ext2/namei.c | wake_up (&old_dir->i_sb->u.ext2_sb.s_rename_wait); |
u | 39 | fs/ext2/super.c | sb->u.ext2_sb.s_mount_state |= EXT2_ERROR_FS; |
u | 40 | fs/ext2/super.c | sb->u.ext2_sb.s_es->s_state |= EXT2_ERROR_FS; |
u | 41 | fs/ext2/super.c | mark_buffer_dirty(sb->u.ext2_sb.s_sbh, 1); |
u | 48 | fs/ext2/super.c | (sb->u.ext2_sb.s_es->s_errors == EXT2_ERRORS_PANIC && |
u | 55 | fs/ext2/super.c | (sb->u.ext2_sb.s_es->s_errors == EXT2_ERRORS_RO && |
u | 68 | fs/ext2/super.c | sb->u.ext2_sb.s_mount_state |= EXT2_ERROR_FS; |
u | 69 | fs/ext2/super.c | sb->u.ext2_sb.s_es->s_state |= EXT2_ERROR_FS; |
u | 70 | fs/ext2/super.c | mark_buffer_dirty(sb->u.ext2_sb.s_sbh, 1); |
u | 99 | fs/ext2/super.c | sb->u.ext2_sb.s_es->s_state = sb->u.ext2_sb.s_mount_state; |
u | 100 | fs/ext2/super.c | mark_buffer_dirty(sb->u.ext2_sb.s_sbh, 1); |
u | 103 | fs/ext2/super.c | db_count = sb->u.ext2_sb.s_db_per_group; |
u | 105 | fs/ext2/super.c | if (sb->u.ext2_sb.s_group_desc[i]) |
u | 106 | fs/ext2/super.c | brelse (sb->u.ext2_sb.s_group_desc[i]); |
u | 107 | fs/ext2/super.c | kfree_s (sb->u.ext2_sb.s_group_desc, |
u | 110 | fs/ext2/super.c | if (sb->u.ext2_sb.s_inode_bitmap[i]) |
u | 111 | fs/ext2/super.c | brelse (sb->u.ext2_sb.s_inode_bitmap[i]); |
u | 113 | fs/ext2/super.c | if (sb->u.ext2_sb.s_block_bitmap[i]) |
u | 114 | fs/ext2/super.c | brelse (sb->u.ext2_sb.s_block_bitmap[i]); |
u | 115 | fs/ext2/super.c | brelse (sb->u.ext2_sb.s_sbh); |
u | 150 | fs/ext2/super.c | groups_count = (sb->u.ext2_sb.s_blocks_count - |
u | 151 | fs/ext2/super.c | sb->u.ext2_sb.s_first_data_block + |
u | 308 | fs/ext2/super.c | if (!(sb->u.ext2_sb.s_mount_state & EXT2_VALID_FS)) |
u | 311 | fs/ext2/super.c | else if ((sb->u.ext2_sb.s_mount_state & EXT2_ERROR_FS)) |
u | 327 | fs/ext2/super.c | mark_buffer_dirty(sb->u.ext2_sb.s_sbh, 1); |
u | 333 | fs/ext2/super.c | sb->u.ext2_sb.s_frag_size, |
u | 334 | fs/ext2/super.c | sb->u.ext2_sb.s_groups_count, |
u | 337 | fs/ext2/super.c | sb->u.ext2_sb.s_mount_opt); |
u | 349 | fs/ext2/super.c | unsigned long block = sb->u.ext2_sb.s_es->s_first_data_block; |
u | 354 | fs/ext2/super.c | for (i = 0; i < sb->u.ext2_sb.s_groups_count; i++) |
u | 357 | fs/ext2/super.c | gdp = (struct ext2_group_desc *) sb->u.ext2_sb.s_group_desc[desc_block++]->b_data; |
u | 377 | fs/ext2/super.c | gdp->bg_inode_table + sb->u.ext2_sb.s_itb_per_group >= |
u | 410 | fs/ext2/super.c | set_opt (sb->u.ext2_sb.s_mount_opt, CHECK_NORMAL); |
u | 412 | fs/ext2/super.c | &sb->u.ext2_sb.s_mount_opt)) { |
u | 430 | fs/ext2/super.c | sb->u.ext2_sb.s_es = es; |
u | 445 | fs/ext2/super.c | sb->s_blocksize_bits = sb->u.ext2_sb.s_es->s_log_block_size + 10; |
u | 460 | fs/ext2/super.c | sb->u.ext2_sb.s_es = es; |
u | 469 | fs/ext2/super.c | sb->u.ext2_sb.s_frag_size = EXT2_MIN_FRAG_SIZE << |
u | 471 | fs/ext2/super.c | if (sb->u.ext2_sb.s_frag_size) |
u | 472 | fs/ext2/super.c | sb->u.ext2_sb.s_frags_per_block = sb->s_blocksize / |
u | 473 | fs/ext2/super.c | sb->u.ext2_sb.s_frag_size; |
u | 476 | fs/ext2/super.c | sb->u.ext2_sb.s_blocks_per_group = es->s_blocks_per_group; |
u | 477 | fs/ext2/super.c | sb->u.ext2_sb.s_frags_per_group = es->s_frags_per_group; |
u | 478 | fs/ext2/super.c | sb->u.ext2_sb.s_inodes_per_group = es->s_inodes_per_group; |
u | 479 | fs/ext2/super.c | sb->u.ext2_sb.s_inodes_per_block = sb->s_blocksize / |
u | 481 | fs/ext2/super.c | sb->u.ext2_sb.s_itb_per_group = sb->u.ext2_sb.s_inodes_per_group / |
u | 482 | fs/ext2/super.c | sb->u.ext2_sb.s_inodes_per_block; |
u | 483 | fs/ext2/super.c | sb->u.ext2_sb.s_desc_per_block = sb->s_blocksize / |
u | 485 | fs/ext2/super.c | sb->u.ext2_sb.s_sbh = bh; |
u | 487 | fs/ext2/super.c | sb->u.ext2_sb.s_resuid = resuid; |
u | 489 | fs/ext2/super.c | sb->u.ext2_sb.s_resuid = es->s_def_resuid; |
u | 491 | fs/ext2/super.c | sb->u.ext2_sb.s_resgid = resgid; |
u | 493 | fs/ext2/super.c | sb->u.ext2_sb.s_resgid = es->s_def_resgid; |
u | 494 | fs/ext2/super.c | sb->u.ext2_sb.s_mount_state = es->s_state; |
u | 495 | fs/ext2/super.c | sb->u.ext2_sb.s_rename_lock = 0; |
u | 496 | fs/ext2/super.c | sb->u.ext2_sb.s_rename_wait = NULL; |
u | 497 | fs/ext2/super.c | sb->u.ext2_sb.s_addr_per_block_bits = |
u | 499 | fs/ext2/super.c | sb->u.ext2_sb.s_inodes_per_block_bits = |
u | 501 | fs/ext2/super.c | sb->u.ext2_sb.s_desc_per_block_bits = |
u | 555 | fs/ext2/super.c | if (sb->s_blocksize != sb->u.ext2_sb.s_frag_size) { |
u | 560 | fs/ext2/super.c | sb->u.ext2_sb.s_frag_size, sb->s_blocksize); |
u | 564 | fs/ext2/super.c | if (sb->u.ext2_sb.s_blocks_per_group > sb->s_blocksize * 8) { |
u | 569 | fs/ext2/super.c | sb->u.ext2_sb.s_blocks_per_group); |
u | 572 | fs/ext2/super.c | if (sb->u.ext2_sb.s_frags_per_group > sb->s_blocksize * 8) { |
u | 577 | fs/ext2/super.c | sb->u.ext2_sb.s_frags_per_group); |
u | 580 | fs/ext2/super.c | if (sb->u.ext2_sb.s_inodes_per_group > sb->s_blocksize * 8) { |
u | 585 | fs/ext2/super.c | sb->u.ext2_sb.s_inodes_per_group); |
u | 589 | fs/ext2/super.c | sb->u.ext2_sb.s_groups_count = (es->s_blocks_count - |
u | 593 | fs/ext2/super.c | db_count = (sb->u.ext2_sb.s_groups_count + EXT2_DESC_PER_BLOCK(sb) - 1) / |
u | 595 | fs/ext2/super.c | sb->u.ext2_sb.s_group_desc = kmalloc (db_count * sizeof (struct buffer_head *), GFP_KERNEL); |
u | 596 | fs/ext2/super.c | if (sb->u.ext2_sb.s_group_desc == NULL) { |
u | 604 | fs/ext2/super.c | sb->u.ext2_sb.s_group_desc[i] = bread (dev, logic_sb_block + i + 1, |
u | 606 | fs/ext2/super.c | if (!sb->u.ext2_sb.s_group_desc[i]) { |
u | 610 | fs/ext2/super.c | brelse (sb->u.ext2_sb.s_group_desc[j]); |
u | 611 | fs/ext2/super.c | kfree_s (sb->u.ext2_sb.s_group_desc, |
u | 622 | fs/ext2/super.c | brelse (sb->u.ext2_sb.s_group_desc[j]); |
u | 623 | fs/ext2/super.c | kfree_s (sb->u.ext2_sb.s_group_desc, |
u | 630 | fs/ext2/super.c | sb->u.ext2_sb.s_inode_bitmap_number[i] = 0; |
u | 631 | fs/ext2/super.c | sb->u.ext2_sb.s_inode_bitmap[i] = NULL; |
u | 632 | fs/ext2/super.c | sb->u.ext2_sb.s_block_bitmap_number[i] = 0; |
u | 633 | fs/ext2/super.c | sb->u.ext2_sb.s_block_bitmap[i] = NULL; |
u | 635 | fs/ext2/super.c | sb->u.ext2_sb.s_loaded_inode_bitmaps = 0; |
u | 636 | fs/ext2/super.c | sb->u.ext2_sb.s_loaded_block_bitmaps = 0; |
u | 637 | fs/ext2/super.c | sb->u.ext2_sb.s_db_per_group = db_count; |
u | 647 | fs/ext2/super.c | if (sb->u.ext2_sb.s_group_desc[i]) |
u | 648 | fs/ext2/super.c | brelse (sb->u.ext2_sb.s_group_desc[i]); |
u | 649 | fs/ext2/super.c | kfree_s (sb->u.ext2_sb.s_group_desc, |
u | 658 | fs/ext2/super.c | mark_buffer_dirty(sb->u.ext2_sb.s_group_desc[i], 1); |
u | 670 | fs/ext2/super.c | mark_buffer_dirty(sb->u.ext2_sb.s_sbh, 1); |
u | 690 | fs/ext2/super.c | es = sb->u.ext2_sb.s_es; |
u | 706 | fs/ext2/super.c | unsigned short resuid = sb->u.ext2_sb.s_resuid; |
u | 707 | fs/ext2/super.c | unsigned short resgid = sb->u.ext2_sb.s_resgid; |
u | 714 | fs/ext2/super.c | set_opt (sb->u.ext2_sb.s_mount_opt, CHECK_NORMAL); |
u | 719 | fs/ext2/super.c | sb->u.ext2_sb.s_mount_opt = new_mount_opt; |
u | 720 | fs/ext2/super.c | sb->u.ext2_sb.s_resuid = resuid; |
u | 721 | fs/ext2/super.c | sb->u.ext2_sb.s_resgid = resgid; |
u | 722 | fs/ext2/super.c | es = sb->u.ext2_sb.s_es; |
u | 727 | fs/ext2/super.c | !(sb->u.ext2_sb.s_mount_state & EXT2_VALID_FS)) |
u | 733 | fs/ext2/super.c | es->s_state = sb->u.ext2_sb.s_mount_state; |
u | 735 | fs/ext2/super.c | mark_buffer_dirty(sb->u.ext2_sb.s_sbh, 1); |
u | 745 | fs/ext2/super.c | sb->u.ext2_sb.s_mount_state = es->s_state; |
u | 765 | fs/ext2/super.c | sb->u.ext2_sb.s_db_per_group /* descriptors */ + |
u | 768 | fs/ext2/super.c | sb->u.ext2_sb.s_itb_per_group /* inode table */; |
u | 769 | fs/ext2/super.c | overhead = sb->u.ext2_sb.s_es->s_first_data_block + |
u | 770 | fs/ext2/super.c | sb->u.ext2_sb.s_groups_count * overhead_per_group; |
u | 775 | fs/ext2/super.c | tmp.f_blocks = sb->u.ext2_sb.s_es->s_blocks_count - overhead; |
u | 777 | fs/ext2/super.c | tmp.f_bavail = tmp.f_bfree - sb->u.ext2_sb.s_es->s_r_blocks_count; |
u | 778 | fs/ext2/super.c | if (tmp.f_bfree < sb->u.ext2_sb.s_es->s_r_blocks_count) |
u | 780 | fs/ext2/super.c | tmp.f_files = sb->u.ext2_sb.s_es->s_inodes_count; |
u | 86 | fs/ext2/symlink.c | link = (char *) inode->u.ext2_i.i_data; |
u | 118 | fs/ext2/symlink.c | link = (char *) inode->u.ext2_i.i_data; |
u | 62 | fs/ext2/truncate.c | p = inode->u.ext2_i.i_data + i; |
u | 66 | fs/ext2/truncate.c | if (inode->u.ext2_i.i_flags & EXT2_SECRM_FL) |
u | 84 | fs/ext2/truncate.c | if (inode->u.ext2_i.i_flags & EXT2_SECRM_FL) { |
u | 142 | fs/ext2/truncate.c | if (inode->u.ext2_i.i_flags & EXT2_SECRM_FL) |
u | 159 | fs/ext2/truncate.c | if (inode->u.ext2_i.i_flags & EXT2_SECRM_FL) { |
u | 275 | fs/ext2/truncate.c | p = inode->u.ext2_i.i_data + EXT2_TIND_BLOCK; |
u | 338 | fs/ext2/truncate.c | (u32 *) &inode->u.ext2_i.i_data[EXT2_IND_BLOCK]); |
u | 341 | fs/ext2/truncate.c | (u32 *) &inode->u.ext2_i.i_data[EXT2_DIND_BLOCK]); |
u | 348 | fs/hpfs/hpfs.h | } u; |
u | 392 | fs/hpfs/hpfs.h | } u; |
u | 421 | fs/hpfs/hpfs.h | } u; |
u | 694 | fs/hpfs/hpfs_fs.c | inode->i_hpfs_dno = fnode->u.external[0].disk_secno; |
u | 1043 | fs/hpfs/hpfs_fs.c | struct bplus_leaf_node *n = b->u.external; |
u | 1061 | fs/hpfs/hpfs_fs.c | struct bplus_internal_node *n = b->u.internal; |
u | 1582 | fs/hpfs/hpfs_fs.c | dno = fnode->u.external[0].disk_secno; |
u | 70 | fs/isofs/dir.c | if ((inode->i_sb->u.isofs_sb.s_firstdatazone) != inode->i_ino) |
u | 71 | fs/isofs/dir.c | inode_number = inode->u.isofs_i.i_backlink; |
u | 217 | fs/isofs/dir.c | if (inode->i_sb->u.isofs_sb.s_unhide == 'n') { |
u | 219 | fs/isofs/dir.c | high_sierra = inode->i_sb->u.isofs_sb.s_high_sierra; |
u | 243 | fs/isofs/dir.c | if (inode->i_sb->u.isofs_sb.s_mapping == 'n') { |
u | 119 | fs/isofs/file.c | inode->u.isofs_i.i_file_format = result; |
u | 141 | fs/isofs/file.c | if (inode->u.isofs_i.i_file_format == ISOFS_FILE_UNKNOWN) |
u | 153 | fs/isofs/file.c | offset = (inode->u.isofs_i.i_first_extent + filp->f_pos) |
u | 233 | fs/isofs/file.c | if (inode->u.isofs_i.i_file_format == ISOFS_FILE_TEXT || |
u | 234 | fs/isofs/file.c | inode->u.isofs_i.i_file_format == ISOFS_FILE_TEXT_M) |
u | 236 | fs/isofs/file.c | inode->u.isofs_i.i_file_format); |
u | 243 | fs/isofs/inode.c | s->u.isofs_sb.s_high_sierra = high_sierra = 0; /* default is iso9660 */ |
u | 270 | fs/isofs/inode.c | s->u.isofs_sb.s_high_sierra = 1; |
u | 305 | fs/isofs/inode.c | s->u.isofs_sb.s_nzones = isonum_733 (h_pri->volume_space_size); |
u | 306 | fs/isofs/inode.c | s->u.isofs_sb.s_log_zone_size = isonum_723 (h_pri->logical_block_size); |
u | 307 | fs/isofs/inode.c | s->u.isofs_sb.s_max_size = isonum_733(h_pri->volume_space_size); |
u | 314 | fs/isofs/inode.c | s->u.isofs_sb.s_nzones = isonum_733 (pri->volume_space_size); |
u | 315 | fs/isofs/inode.c | s->u.isofs_sb.s_log_zone_size = isonum_723 (pri->logical_block_size); |
u | 316 | fs/isofs/inode.c | s->u.isofs_sb.s_max_size = isonum_733(pri->volume_space_size); |
u | 319 | fs/isofs/inode.c | s->u.isofs_sb.s_ninodes = 0; /* No way to figure this out easily */ |
u | 323 | fs/isofs/inode.c | switch (s -> u.isofs_sb.s_log_zone_size) |
u | 324 | fs/isofs/inode.c | { case 512: s -> u.isofs_sb.s_log_zone_size = 9; break; |
u | 325 | fs/isofs/inode.c | case 1024: s -> u.isofs_sb.s_log_zone_size = 10; break; |
u | 326 | fs/isofs/inode.c | case 2048: s -> u.isofs_sb.s_log_zone_size = 11; break; |
u | 329 | fs/isofs/inode.c | printk("Bad logical zone size %ld\n", s -> u.isofs_sb.s_log_zone_size); |
u | 335 | fs/isofs/inode.c | s->u.isofs_sb.s_firstdatazone = (isonum_733( rootp->extent) |
u | 336 | fs/isofs/inode.c | << s -> u.isofs_sb.s_log_zone_size); |
u | 349 | fs/isofs/inode.c | s->u.isofs_sb.s_max_size, |
u | 350 | fs/isofs/inode.c | 1UL << s->u.isofs_sb.s_log_zone_size); |
u | 352 | fs/isofs/inode.c | s->u.isofs_sb.s_firstdatazone >> s -> u.isofs_sb.s_log_zone_size, |
u | 353 | fs/isofs/inode.c | isonum_733 (rootp->extent) << s -> u.isofs_sb.s_log_zone_size); |
u | 360 | fs/isofs/inode.c | s->u.isofs_sb.s_mapping = opt.map; |
u | 361 | fs/isofs/inode.c | s->u.isofs_sb.s_rock = (opt.rock == 'y' ? 1 : 0); |
u | 362 | fs/isofs/inode.c | s->u.isofs_sb.s_conversion = opt.conversion; |
u | 363 | fs/isofs/inode.c | s->u.isofs_sb.s_cruft = opt.cruft; |
u | 364 | fs/isofs/inode.c | s->u.isofs_sb.s_unhide = opt.unhide; |
u | 365 | fs/isofs/inode.c | s->u.isofs_sb.s_uid = opt.uid; |
u | 366 | fs/isofs/inode.c | s->u.isofs_sb.s_gid = opt.gid; |
u | 371 | fs/isofs/inode.c | s->u.isofs_sb.s_mode = opt.mode & 0777; |
u | 374 | fs/isofs/inode.c | s->s_mounted = iget(s, isonum_733 (rootp->extent) << s -> u.isofs_sb.s_log_zone_size); |
u | 401 | fs/isofs/inode.c | tmp.f_blocks = sb->u.isofs_sb.s_nzones; |
u | 404 | fs/isofs/inode.c | tmp.f_files = sb->u.isofs_sb.s_ninodes; |
u | 417 | fs/isofs/inode.c | return (inode->u.isofs_i.i_first_extent >> ISOFS_BUFFER_BITS(inode)) + block; |
u | 441 | fs/isofs/inode.c | high_sierra = inode->i_sb->u.isofs_sb.s_high_sierra; |
u | 475 | fs/isofs/inode.c | inode->i_mode = inode->i_sb->u.isofs_sb.s_mode; /* Everybody gets to read the file. */ |
u | 485 | fs/isofs/inode.c | inode->i_uid = inode->i_sb->u.isofs_sb.s_uid; |
u | 486 | fs/isofs/inode.c | inode->i_gid = inode->i_sb->u.isofs_sb.s_gid; |
u | 492 | fs/isofs/inode.c | inode->i_sb->u.isofs_sb.s_cruft == 'n') { |
u | 494 | fs/isofs/inode.c | inode->i_sb->u.isofs_sb.s_cruft = 'y'; |
u | 501 | fs/isofs/inode.c | if(inode->i_sb->u.isofs_sb.s_cruft == 'y' && |
u | 535 | fs/isofs/inode.c | inode->u.isofs_i.i_first_extent = (isonum_733 (raw_inode->extent) + |
u | 537 | fs/isofs/inode.c | << inode -> i_sb -> u.isofs_sb.s_log_zone_size; |
u | 539 | fs/isofs/inode.c | inode->u.isofs_i.i_backlink = 0xffffffff; /* Will be used for previous directory */ |
u | 540 | fs/isofs/inode.c | switch (inode->i_sb->u.isofs_sb.s_conversion){ |
u | 542 | fs/isofs/inode.c | inode->u.isofs_i.i_file_format = ISOFS_FILE_UNKNOWN; /* File type */ |
u | 545 | fs/isofs/inode.c | inode->u.isofs_i.i_file_format = ISOFS_FILE_BINARY; /* File type */ |
u | 548 | fs/isofs/inode.c | inode->u.isofs_i.i_file_format = ISOFS_FILE_TEXT; /* File type */ |
u | 551 | fs/isofs/inode.c | inode->u.isofs_i.i_file_format = ISOFS_FILE_TEXT_M; /* File type */ |
u | 562 | fs/isofs/inode.c | printk("Inode: %x extent: %x\n",inode->i_ino, inode->u.isofs_i.i_first_extent); |
u | 577 | fs/isofs/inode.c | if (inode->i_sb->u.isofs_sb.s_cruft == 'n' && |
u | 580 | fs/isofs/inode.c | inode->i_sb->u.isofs_sb.s_cruft = 'y'; |
u | 583 | fs/isofs/inode.c | if (inode->i_sb->u.isofs_sb.s_cruft != 'y' && |
u | 608 | fs/isofs/inode.c | inode->u.isofs_i.i_first_extent = 0; |
u | 609 | fs/isofs/inode.c | inode->u.isofs_i.i_backlink = 0xffffffff; |
u | 83 | fs/isofs/namei.c | if (!(block = dir->u.isofs_i.i_first_extent)) return NULL; |
u | 150 | fs/isofs/namei.c | if((dir->i_sb->u.isofs_sb.s_firstdatazone) != dir->i_ino) |
u | 151 | fs/isofs/namei.c | inode_number = dir->u.isofs_i.i_backlink; |
u | 164 | fs/isofs/namei.c | if(dir->i_sb->u.isofs_sb.s_mapping == 'n') { |
u | 185 | fs/isofs/namei.c | if( !(de->flags[-dir->i_sb->u.isofs_sb.s_high_sierra] & 5) |
u | 186 | fs/isofs/namei.c | || dir->i_sb->u.isofs_sb.s_unhide == 'y' ) |
u | 266 | fs/isofs/namei.c | (*result)->u.isofs_i.i_backlink = ino_back; |
u | 34 | fs/isofs/rock.c | if(rr->u.SP.magic[0] != 0xbe) FAIL; \ |
u | 35 | fs/isofs/rock.c | if(rr->u.SP.magic[1] != 0xef) FAIL; |
u | 46 | fs/isofs/rock.c | {cont_extent = isonum_733(rr->u.CE.extent); \ |
u | 47 | fs/isofs/rock.c | cont_offset = isonum_733(rr->u.CE.offset); \ |
u | 48 | fs/isofs/rock.c | cont_size = isonum_733(rr->u.CE.size);} |
u | 116 | fs/isofs/rock.c | if (!inode->i_sb->u.isofs_sb.s_rock) return retval; |
u | 133 | fs/isofs/rock.c | rrflag = rr->u.RR.flags[0]; |
u | 145 | fs/isofs/rock.c | retval = isonum_733(rr->u.CL.location); |
u | 154 | fs/isofs/rock.c | retval = isonum_733(rr->u.PL.location); |
u | 182 | fs/isofs/rock.c | if (!inode->i_sb->u.isofs_sb.s_rock) return 0; |
u | 199 | fs/isofs/rock.c | if((rr->u.RR.flags[0] & RR_NM) == 0) goto out; |
u | 209 | fs/isofs/rock.c | if (rr->u.NM.flags & ~1) { |
u | 210 | fs/isofs/rock.c | printk("Unsupported NM flag settings (%d)\n",rr->u.NM.flags); |
u | 229 | fs/isofs/rock.c | strncat(retname, rr->u.NM.name, rr->len - 5); |
u | 263 | fs/isofs/rock.c | if (!inode->i_sb->u.isofs_sb.s_rock) return 0; |
u | 282 | fs/isofs/rock.c | if((rr->u.RR.flags[0] & |
u | 294 | fs/isofs/rock.c | for(p=0;p<rr->u.ER.len_id;p++) printk("%c",rr->u.ER.data[p]); |
u | 299 | fs/isofs/rock.c | inode->i_mode = isonum_733(rr->u.PX.mode); |
u | 300 | fs/isofs/rock.c | inode->i_nlink = isonum_733(rr->u.PX.n_links); |
u | 301 | fs/isofs/rock.c | inode->i_uid = isonum_733(rr->u.PX.uid); |
u | 302 | fs/isofs/rock.c | inode->i_gid = isonum_733(rr->u.PX.gid); |
u | 306 | fs/isofs/rock.c | high = isonum_733(rr->u.PN.dev_high); |
u | 307 | fs/isofs/rock.c | low = isonum_733(rr->u.PN.dev_low); |
u | 326 | fs/isofs/rock.c | if(rr->u.TF.flags & TF_CREATE) |
u | 327 | fs/isofs/rock.c | inode->i_ctime = iso_date(rr->u.TF.times[cnt++].time, 0); |
u | 328 | fs/isofs/rock.c | if(rr->u.TF.flags & TF_MODIFY) |
u | 329 | fs/isofs/rock.c | inode->i_mtime = iso_date(rr->u.TF.times[cnt++].time, 0); |
u | 330 | fs/isofs/rock.c | if(rr->u.TF.flags & TF_ACCESS) |
u | 331 | fs/isofs/rock.c | inode->i_atime = iso_date(rr->u.TF.times[cnt++].time, 0); |
u | 332 | fs/isofs/rock.c | if(rr->u.TF.flags & TF_ATTRIBUTES) |
u | 333 | fs/isofs/rock.c | inode->i_ctime = iso_date(rr->u.TF.times[cnt++].time, 0); |
u | 339 | fs/isofs/rock.c | slp = &rr->u.SL.link; |
u | 375 | fs/isofs/rock.c | inode->u.isofs_i.i_first_extent = isonum_733(rr->u.CL.location) << |
u | 376 | fs/isofs/rock.c | inode -> i_sb -> u.isofs_sb.s_log_zone_size; |
u | 377 | fs/isofs/rock.c | reloc = iget(inode->i_sb, inode->u.isofs_i.i_first_extent); |
u | 422 | fs/isofs/rock.c | if (!inode->i_sb->u.isofs_sb.s_rock) |
u | 473 | fs/isofs/rock.c | if((rr->u.RR.flags[0] & RR_SL) == 0) goto out; |
u | 482 | fs/isofs/rock.c | slp = &rr->u.SL.link; |
u | 101 | fs/isofs/rock.h | } u; |
u | 59 | fs/minix/bitmap.c | if (block < sb->u.minix_sb.s_firstdatazone || |
u | 60 | fs/minix/bitmap.c | block >= sb->u.minix_sb.s_nzones) { |
u | 68 | fs/minix/bitmap.c | zone = block - sb->u.minix_sb.s_firstdatazone + 1; |
u | 71 | fs/minix/bitmap.c | bh = sb->u.minix_sb.s_zmap[zone]; |
u | 94 | fs/minix/bitmap.c | if ((bh=sb->u.minix_sb.s_zmap[i]) != NULL) |
u | 104 | fs/minix/bitmap.c | j += i*8192 + sb->u.minix_sb.s_firstdatazone-1; |
u | 105 | fs/minix/bitmap.c | if (j < sb->u.minix_sb.s_firstdatazone || |
u | 106 | fs/minix/bitmap.c | j >= sb->u.minix_sb.s_nzones) |
u | 121 | fs/minix/bitmap.c | return (sb->u.minix_sb.s_nzones - count_used(sb->u.minix_sb.s_zmap,sb->u.minix_sb.s_zmap_blocks,sb->u.minix_sb.s_nzones)) |
u | 122 | fs/minix/bitmap.c | << sb->u.minix_sb.s_log_zone_size; |
u | 148 | fs/minix/bitmap.c | if (inode->i_ino < 1 || inode->i_ino >= inode->i_sb->u.minix_sb.s_ninodes) { |
u | 153 | fs/minix/bitmap.c | if (!(bh=inode->i_sb->u.minix_sb.s_imap[ino >> 13])) { |
u | 177 | fs/minix/bitmap.c | if ((bh = inode->i_sb->u.minix_sb.s_imap[i]) != NULL) |
u | 191 | fs/minix/bitmap.c | if (!j || j >= inode->i_sb->u.minix_sb.s_ninodes) { |
u | 211 | fs/minix/bitmap.c | return sb->u.minix_sb.s_ninodes - count_used(sb->u.minix_sb.s_imap,sb->u.minix_sb.s_imap_blocks,sb->u.minix_sb.s_ninodes); |
u | 72 | fs/minix/dir.c | info = &inode->i_sb->u.minix_sb; |
u | 91 | fs/minix/fsync.c | rc = sync_block (inode, inode->u.minix_i.i_data + i, wait); |
u | 158 | fs/minix/fsync.c | err |= sync_indirect(inode, inode->u.minix_i.i_data+7, wait); |
u | 159 | fs/minix/fsync.c | err |= sync_dindirect(inode, inode->u.minix_i.i_data+8, wait); |
u | 39 | fs/minix/inode.c | mark_buffer_dirty(sb->u.minix_sb.s_sbh, 1); |
u | 48 | fs/minix/inode.c | ms = sb->u.minix_sb.s_ms; |
u | 64 | fs/minix/inode.c | sb->u.minix_sb.s_ms->s_state = sb->u.minix_sb.s_mount_state; |
u | 65 | fs/minix/inode.c | mark_buffer_dirty(sb->u.minix_sb.s_sbh, 1); |
u | 69 | fs/minix/inode.c | brelse(sb->u.minix_sb.s_imap[i]); |
u | 71 | fs/minix/inode.c | brelse(sb->u.minix_sb.s_zmap[i]); |
u | 72 | fs/minix/inode.c | brelse (sb->u.minix_sb.s_sbh); |
u | 93 | fs/minix/inode.c | ms = sb->u.minix_sb.s_ms; |
u | 98 | fs/minix/inode.c | !(sb->u.minix_sb.s_mount_state & MINIX_VALID_FS)) |
u | 101 | fs/minix/inode.c | ms->s_state = sb->u.minix_sb.s_mount_state; |
u | 102 | fs/minix/inode.c | mark_buffer_dirty(sb->u.minix_sb.s_sbh, 1); |
u | 108 | fs/minix/inode.c | sb->u.minix_sb.s_mount_state = ms->s_state; |
u | 110 | fs/minix/inode.c | mark_buffer_dirty(sb->u.minix_sb.s_sbh, 1); |
u | 113 | fs/minix/inode.c | if (!(sb->u.minix_sb.s_mount_state & MINIX_VALID_FS)) |
u | 116 | fs/minix/inode.c | else if ((sb->u.minix_sb.s_mount_state & MINIX_ERROR_FS)) |
u | 144 | fs/minix/inode.c | s->u.minix_sb.s_ms = ms; |
u | 145 | fs/minix/inode.c | s->u.minix_sb.s_sbh = bh; |
u | 146 | fs/minix/inode.c | s->u.minix_sb.s_mount_state = ms->s_state; |
u | 149 | fs/minix/inode.c | s->u.minix_sb.s_ninodes = ms->s_ninodes; |
u | 150 | fs/minix/inode.c | s->u.minix_sb.s_nzones = ms->s_nzones; |
u | 151 | fs/minix/inode.c | s->u.minix_sb.s_imap_blocks = ms->s_imap_blocks; |
u | 152 | fs/minix/inode.c | s->u.minix_sb.s_zmap_blocks = ms->s_zmap_blocks; |
u | 153 | fs/minix/inode.c | s->u.minix_sb.s_firstdatazone = ms->s_firstdatazone; |
u | 154 | fs/minix/inode.c | s->u.minix_sb.s_log_zone_size = ms->s_log_zone_size; |
u | 155 | fs/minix/inode.c | s->u.minix_sb.s_max_size = ms->s_max_size; |
u | 158 | fs/minix/inode.c | s->u.minix_sb.s_dirsize = 16; |
u | 159 | fs/minix/inode.c | s->u.minix_sb.s_namelen = 14; |
u | 161 | fs/minix/inode.c | s->u.minix_sb.s_dirsize = 32; |
u | 162 | fs/minix/inode.c | s->u.minix_sb.s_namelen = 30; |
u | 173 | fs/minix/inode.c | s->u.minix_sb.s_imap[i] = NULL; |
u | 175 | fs/minix/inode.c | s->u.minix_sb.s_zmap[i] = NULL; |
u | 177 | fs/minix/inode.c | for (i=0 ; i < s->u.minix_sb.s_imap_blocks ; i++) |
u | 178 | fs/minix/inode.c | if ((s->u.minix_sb.s_imap[i]=bread(dev,block,BLOCK_SIZE)) != NULL) |
u | 182 | fs/minix/inode.c | for (i=0 ; i < s->u.minix_sb.s_zmap_blocks ; i++) |
u | 183 | fs/minix/inode.c | if ((s->u.minix_sb.s_zmap[i]=bread(dev,block,BLOCK_SIZE)) != NULL) |
u | 187 | fs/minix/inode.c | if (block != 2+s->u.minix_sb.s_imap_blocks+s->u.minix_sb.s_zmap_blocks) { |
u | 189 | fs/minix/inode.c | brelse(s->u.minix_sb.s_imap[i]); |
u | 191 | fs/minix/inode.c | brelse(s->u.minix_sb.s_zmap[i]); |
u | 199 | fs/minix/inode.c | set_bit(0,s->u.minix_sb.s_imap[0]->b_data); |
u | 200 | fs/minix/inode.c | set_bit(0,s->u.minix_sb.s_zmap[0]->b_data); |
u | 218 | fs/minix/inode.c | if (!(s->u.minix_sb.s_mount_state & MINIX_VALID_FS)) |
u | 221 | fs/minix/inode.c | else if (s->u.minix_sb.s_mount_state & MINIX_ERROR_FS) |
u | 233 | fs/minix/inode.c | tmp.f_blocks = (sb->u.minix_sb.s_nzones - sb->u.minix_sb.s_firstdatazone) << sb->u.minix_sb.s_log_zone_size; |
u | 236 | fs/minix/inode.c | tmp.f_files = sb->u.minix_sb.s_ninodes; |
u | 238 | fs/minix/inode.c | tmp.f_namelen = sb->u.minix_sb.s_namelen; |
u | 242 | fs/minix/inode.c | #define inode_bmap(inode,nr) ((inode)->u.minix_i.i_data[(nr)]) |
u | 292 | fs/minix/inode.c | p = inode->u.minix_i.i_data + nr; |
u | 418 | fs/minix/inode.c | if (!ino || ino >= inode->i_sb->u.minix_sb.s_ninodes) { |
u | 423 | fs/minix/inode.c | block = 2 + inode->i_sb->u.minix_sb.s_imap_blocks + |
u | 424 | fs/minix/inode.c | inode->i_sb->u.minix_sb.s_zmap_blocks + |
u | 443 | fs/minix/inode.c | inode->u.minix_i.i_data[block] = raw_inode->i_zone[block]; |
u | 466 | fs/minix/inode.c | if (!ino || ino >= inode->i_sb->u.minix_sb.s_ninodes) { |
u | 472 | fs/minix/inode.c | block = 2 + inode->i_sb->u.minix_sb.s_imap_blocks + inode->i_sb->u.minix_sb.s_zmap_blocks + |
u | 490 | fs/minix/inode.c | raw_inode->i_zone[block] = inode->u.minix_i.i_data[block]; |
u | 78 | fs/minix/namei.c | info = &dir->i_sb->u.minix_sb; |
u | 164 | fs/minix/namei.c | info = &dir->i_sb->u.minix_sb; |
u | 319 | fs/minix/namei.c | info = &dir->i_sb->u.minix_sb; |
u | 387 | fs/minix/namei.c | info = &inode->i_sb->u.minix_sb; |
u | 685 | fs/minix/namei.c | info = &old_dir->i_sb->u.minix_sb; |
u | 40 | fs/minix/truncate.c | p = i + inode->u.minix_i.i_data; |
u | 131 | fs/minix/truncate.c | p = 8 + inode->u.minix_i.i_data; |
u | 179 | fs/minix/truncate.c | retry |= trunc_indirect(inode,7,inode->u.minix_i.i_data+7); |
u | 61 | fs/nfs/inode.c | close_fp(sb->u.nfs_sb.s_server.file); |
u | 118 | fs/nfs/inode.c | server = &sb->u.nfs_sb.s_server; |
u | 154 | fs/nfs/inode.c | sock = &((filp->f_inode)->u.socket_i); |
u | 165 | fs/nfs/inode.c | sb->u.nfs_sb.s_root = data->root; |
u | 182 | fs/nfs/inode.c | error = nfs_proc_statfs(&sb->u.nfs_sb.s_server, &sb->u.nfs_sb.s_root, |
u | 220 | fs/nfs/inode.c | error = nfs_proc_getattr(&sb->u.nfs_sb.s_server, fhandle, |
u | 81 | fs/nfs/sock.c | sock = &inode->u.socket_i; |
u | 94 | fs/smbfs/sock.c | sock = &(inode->u.socket_i); |
u | 142 | fs/smbfs/sock.c | sock = &(inode->u.socket_i); |
u | 386 | fs/smbfs/sock.c | return &(inode->u.socket_i); |
u | 99 | fs/sysv/fsync.c | rc = sync_block (inode, inode->u.sysv_i.i_data + i, 0, wait); |
u | 195 | fs/sysv/fsync.c | err |= sync_indirect(inode, inode->u.sysv_i.i_data+10, 0, wait); |
u | 196 | fs/sysv/fsync.c | err |= sync_dindirect(inode, inode->u.sysv_i.i_data+11, 0, wait); |
u | 197 | fs/sysv/fsync.c | err |= sync_tindirect(inode, inode->u.sysv_i.i_data+12, 0, wait); |
u | 559 | fs/sysv/inode.c | int tmp = inode->u.sysv_i.i_data[nr]; |
u | 648 | fs/sysv/inode.c | p = inode->u.sysv_i.i_data + nr; |
u | 850 | fs/sysv/inode.c | inode->u.sysv_i.i_data[block] = |
u | 854 | fs/sysv/inode.c | inode->u.sysv_i.i_data[block] = |
u | 934 | fs/sysv/inode.c | coh_write3byte(&raw_inode->i_a.i_addb[3*block],inode->u.sysv_i.i_data[block]); |
u | 937 | fs/sysv/inode.c | write3byte(&raw_inode->i_a.i_addb[3*block],inode->u.sysv_i.i_data[block]); |
u | 56 | fs/sysv/truncate.c | p = inode->u.sysv_i.i_data + i; |
u | 261 | fs/sysv/truncate.c | | trunc_indirect(inode,sb->sv_ind0_size,&inode->u.sysv_i.i_data[10],0,&inode->i_dirt) |
u | 262 | fs/sysv/truncate.c | | trunc_dindirect(inode,sb->sv_ind1_size,&inode->u.sysv_i.i_data[11],0,&inode->i_dirt) |
u | 263 | fs/sysv/truncate.c | | trunc_tindirect(inode,sb->sv_ind2_size,&inode->u.sysv_i.i_data[12],0,&inode->i_dirt); |
u | 409 | fs/umsdos/dir.c | if (inode->u.umsdos_i.i_emd_owner==0) printk ("emd_owner still 0 ???\n"); |
u | 494 | fs/umsdos/dir.c | inode->u.umsdos_i.i_dir_owner = dir->i_ino; |
u | 495 | fs/umsdos/dir.c | inode->u.umsdos_i.i_emd_owner = 0; |
u | 771 | fs/umsdos/dir.c | if (dir->u.umsdos_i.i_emd_dir == 0){ |
u | 107 | fs/umsdos/emd.c | if (dir->u.umsdos_i.i_emd_dir != 0){ |
u | 108 | fs/umsdos/emd.c | ret = iget (dir->i_sb,dir->u.umsdos_i.i_emd_dir); |
u | 110 | fs/umsdos/emd.c | ,dir->u.umsdos_i.i_emd_dir,ret,ret->i_count)); |
u | 116 | fs/umsdos/emd.c | dir->u.umsdos_i.i_emd_dir = ret->i_ino; |
u | 125 | fs/umsdos/emd.c | dir->u.umsdos_i.i_emd_dir = ret->i_ino; |
u | 133 | fs/umsdos/emd.c | ret->u.umsdos_i.i_emd_owner = 0xffffffff; |
u | 48 | fs/umsdos/inode.c | ,inode->u.umsdos_i.i_emd_owner,inode->u.umsdos_i.pos |
u | 49 | fs/umsdos/inode.c | ,inode->u.umsdos_i.i_emd_dir)); |
u | 93 | fs/umsdos/inode.c | inode->u.umsdos_i.i_emd_dir = 0; |
u | 112 | fs/umsdos/inode.c | inode->u.umsdos_i.i_dir_owner = dir->i_ino; |
u | 113 | fs/umsdos/inode.c | inode->u.umsdos_i.i_emd_owner = emd_owner->i_ino; |
u | 115 | fs/umsdos/inode.c | inode->u.umsdos_i.pos = f_pos; |
u | 124 | fs/umsdos/inode.c | return inode->u.umsdos_i.i_emd_owner != 0; |
u | 156 | fs/umsdos/inode.c | inode->u.umsdos_i.i_emd_dir = 0; |
u | 196 | fs/umsdos/inode.c | if (emd_owner->i_ino != inode->u.umsdos_i.i_emd_owner){ |
u | 198 | fs/umsdos/inode.c | ,inode->i_ino,emd_owner->i_ino,inode->u.umsdos_i.i_emd_owner); |
u | 212 | fs/umsdos/inode.c | unsigned long ino = inode->u.umsdos_i.i_dir_owner; |
u | 234 | fs/umsdos/inode.c | && (inode->u.umsdos_i.u.dir_info.creating != 0 |
u | 235 | fs/umsdos/inode.c | || inode->u.umsdos_i.u.dir_info.looking != 0 |
u | 236 | fs/umsdos/inode.c | || inode->u.umsdos_i.u.dir_info.p != NULL)){ |
u | 238 | fs/umsdos/inode.c | ,inode->u.umsdos_i.u.dir_info.creating |
u | 239 | fs/umsdos/inode.c | ,inode->u.umsdos_i.u.dir_info.looking |
u | 240 | fs/umsdos/inode.c | ,inode->u.umsdos_i.u.dir_info.p)); |
u | 265 | fs/umsdos/inode.c | PRINTK (("UMSDOS_write_inode emd %d\n",inode->u.umsdos_i.i_emd_owner)); |
u | 293 | fs/umsdos/inode.c | unsigned long i_emd_owner = inode->u.umsdos_i.i_emd_owner; |
u | 322 | fs/umsdos/inode.c | filp.f_pos = inode->u.umsdos_i.pos; |
u | 344 | fs/umsdos/inode.c | filp.f_pos = inode->u.umsdos_i.pos; |
u | 349 | fs/umsdos/inode.c | ,inode->u.umsdos_i.pos |
u | 308 | fs/umsdos/ioctl.c | dir->i_sb->u.msdos_sb.fs_uid = data.umsdos_dirent.uid; |
u | 309 | fs/umsdos/ioctl.c | dir->i_sb->u.msdos_sb.fs_gid = data.umsdos_dirent.gid; |
u | 310 | fs/umsdos/ioctl.c | dir->i_sb->u.msdos_sb.fs_umask = data.umsdos_dirent.mode; |
u | 76 | fs/umsdos/mangle.c | } u; |
u | 91 | fs/umsdos/mangle.c | u.entry_num = info->f_pos / UMSDOS_REC_SIZE; |
u | 92 | fs/umsdos/mangle.c | if (u.entry_num > (9* 32 * 32)){ |
u | 98 | fs/umsdos/mangle.c | *pt++ = lookup3 [u.num.num3]; |
u | 99 | fs/umsdos/mangle.c | *pt++ = lookup12[u.num.num2]; |
u | 100 | fs/umsdos/mangle.c | *pt++ = lookup12[u.num.num1]; |
u | 38 | fs/umsdos/namei.c | if (dir->u.umsdos_i.u.dir_info.creating |
u | 39 | fs/umsdos/namei.c | && dir->u.umsdos_i.u.dir_info.pid != current->pid){ |
u | 40 | fs/umsdos/namei.c | sleep_on(&dir->u.umsdos_i.u.dir_info.p); |
u | 50 | fs/umsdos/namei.c | while (dir->u.umsdos_i.u.dir_info.looking){ |
u | 51 | fs/umsdos/namei.c | sleep_on(&dir->u.umsdos_i.u.dir_info.p); |
u | 92 | fs/umsdos/namei.c | dir->u.umsdos_i.u.dir_info.creating++; |
u | 93 | fs/umsdos/namei.c | dir->u.umsdos_i.u.dir_info.pid = current->pid; |
u | 111 | fs/umsdos/namei.c | dir1->u.umsdos_i.u.dir_info.creating++; |
u | 112 | fs/umsdos/namei.c | dir1->u.umsdos_i.u.dir_info.pid = current->pid; |
u | 113 | fs/umsdos/namei.c | dir2->u.umsdos_i.u.dir_info.creating++; |
u | 114 | fs/umsdos/namei.c | dir2->u.umsdos_i.u.dir_info.pid = current->pid; |
u | 127 | fs/umsdos/namei.c | dir->u.umsdos_i.u.dir_info.looking++; |
u | 136 | fs/umsdos/namei.c | dir->u.umsdos_i.u.dir_info.creating--; |
u | 137 | fs/umsdos/namei.c | if (dir->u.umsdos_i.u.dir_info.creating < 0){ |
u | 139 | fs/umsdos/namei.c | ,dir->u.umsdos_i.u.dir_info.creating); |
u | 141 | fs/umsdos/namei.c | wake_up (&dir->u.umsdos_i.u.dir_info.p); |
u | 148 | fs/umsdos/namei.c | dir->u.umsdos_i.u.dir_info.looking--; |
u | 149 | fs/umsdos/namei.c | if (dir->u.umsdos_i.u.dir_info.looking < 0){ |
u | 151 | fs/umsdos/namei.c | ,dir->u.umsdos_i.u.dir_info.looking); |
u | 153 | fs/umsdos/namei.c | wake_up (&dir->u.umsdos_i.u.dir_info.p); |
u | 575 | fs/umsdos/namei.c | ,oldinode->u.umsdos_i.i_dir_owner,olddir,olddir->i_count)); |
u | 970 | fs/umsdos/namei.c | ,inode->u.umsdos_i.i_dir_owner); |
u | 96 | fs/xiafs/bitmap.c | get__map_zone((sb), (sb)->u.xiafs_sb.s_imap_buf, \ |
u | 97 | fs/xiafs/bitmap.c | (sb)->u.xiafs_sb.s_imap_iznr, \ |
u | 98 | fs/xiafs/bitmap.c | (sb)->u.xiafs_sb.s_imap_cached, 1, \ |
u | 99 | fs/xiafs/bitmap.c | (sb)->u.xiafs_sb.s_imap_zones, _XIAFS_IMAP_SLOTS, \ |
u | 103 | fs/xiafs/bitmap.c | get__map_zone((sb), (sb)->u.xiafs_sb.s_zmap_buf, \ |
u | 104 | fs/xiafs/bitmap.c | (sb)->u.xiafs_sb.s_zmap_zznr, \ |
u | 105 | fs/xiafs/bitmap.c | (sb)->u.xiafs_sb.s_zmap_cached, \ |
u | 106 | fs/xiafs/bitmap.c | 1+(sb)->u.xiafs_sb.s_imap_zones, \ |
u | 107 | fs/xiafs/bitmap.c | (sb)->u.xiafs_sb.s_zmap_zones, _XIAFS_ZMAP_SLOTS, \ |
u | 157 | fs/xiafs/bitmap.c | get_free__bit(sb, sb->u.xiafs_sb.s_imap_buf, \ |
u | 158 | fs/xiafs/bitmap.c | sb->u.xiafs_sb.s_imap_iznr, \ |
u | 159 | fs/xiafs/bitmap.c | sb->u.xiafs_sb.s_imap_cached, \ |
u | 160 | fs/xiafs/bitmap.c | 1, sb->u.xiafs_sb.s_imap_zones, \ |
u | 164 | fs/xiafs/bitmap.c | get_free__bit(sb, sb->u.xiafs_sb.s_zmap_buf, \ |
u | 165 | fs/xiafs/bitmap.c | sb->u.xiafs_sb.s_zmap_zznr, \ |
u | 166 | fs/xiafs/bitmap.c | sb->u.xiafs_sb.s_zmap_cached, \ |
u | 167 | fs/xiafs/bitmap.c | 1 + sb->u.xiafs_sb.s_imap_zones, \ |
u | 168 | fs/xiafs/bitmap.c | sb->u.xiafs_sb.s_zmap_zones, \ |
u | 206 | fs/xiafs/bitmap.c | xiafs_unlock_super(sb, sb->u.xiafs_sb.s_zmap_cached); |
u | 227 | fs/xiafs/bitmap.c | if (d_addr < sb->u.xiafs_sb.s_firstdatazone || |
u | 228 | fs/xiafs/bitmap.c | d_addr >= sb->u.xiafs_sb.s_nzones) { |
u | 236 | fs/xiafs/bitmap.c | bit=d_addr - sb->u.xiafs_sb.s_firstdatazone + 1; |
u | 246 | fs/xiafs/bitmap.c | xiafs_unlock_super(sb, sb->u.xiafs_sb.s_zmap_cached); |
u | 258 | fs/xiafs/bitmap.c | if (prev_addr < sb->u.xiafs_sb.s_firstdatazone || |
u | 259 | fs/xiafs/bitmap.c | prev_addr >= sb->u.xiafs_sb.s_nzones) { |
u | 260 | fs/xiafs/bitmap.c | prev_addr=sb->u.xiafs_sb.s_firstdatazone; |
u | 262 | fs/xiafs/bitmap.c | prev_znr=prev_addr-sb->u.xiafs_sb.s_firstdatazone+1; |
u | 266 | fs/xiafs/bitmap.c | tmp += sb->u.xiafs_sb.s_firstdatazone -1; |
u | 291 | fs/xiafs/bitmap.c | inode->i_ino < 3 || inode->i_ino > inode->i_sb->u.xiafs_sb.s_ninodes) { |
u | 306 | fs/xiafs/bitmap.c | xiafs_unlock_super(sb, sb->u.xiafs_sb.s_imap_cached); |
u | 363 | fs/xiafs/bitmap.c | izones=sb->u.xiafs_sb.s_imap_zones; |
u | 368 | fs/xiafs/bitmap.c | xiafs_unlock_super(sb, sb->u.xiafs_sb.s_imap_cached); |
u | 382 | fs/xiafs/bitmap.c | zzones=sb->u.xiafs_sb.s_zmap_zones; |
u | 387 | fs/xiafs/bitmap.c | xiafs_unlock_super(sb, sb->u.xiafs_sb.s_zmap_cached); |
u | 97 | fs/xiafs/dir.c | if (de->d_ino > inode->i_sb->u.xiafs_sb.s_ninodes || |
u | 92 | fs/xiafs/fsync.c | rc = sync_block (inode, inode->u.ext_i.i_data + i, wait); |
u | 158 | fs/xiafs/fsync.c | err |= sync_indirect(inode, &inode->u.xiafs_i.i_ind_zone, wait); |
u | 159 | fs/xiafs/fsync.c | err |= sync_dindirect(inode, &inode->u.xiafs_i.i_dind_zone, wait); |
u | 50 | fs/xiafs/inode.c | brelse(sb->u.xiafs_sb.s_imap_buf[i]); |
u | 52 | fs/xiafs/inode.c | brelse(sb->u.xiafs_sb.s_zmap_buf[i]); |
u | 114 | fs/xiafs/inode.c | s->u.xiafs_sb.s_nzones = sp->s_nzones; |
u | 115 | fs/xiafs/inode.c | s->u.xiafs_sb.s_ninodes = sp->s_ninodes; |
u | 116 | fs/xiafs/inode.c | s->u.xiafs_sb.s_ndatazones = sp->s_ndatazones; |
u | 117 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_zones = sp->s_imap_zones; |
u | 118 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_zones = sp->s_zmap_zones; |
u | 119 | fs/xiafs/inode.c | s->u.xiafs_sb.s_firstdatazone = sp->s_firstdatazone; |
u | 120 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zone_shift = sp->s_zone_shift; |
u | 121 | fs/xiafs/inode.c | s->u.xiafs_sb.s_max_size = sp->s_max_size; |
u | 124 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_buf[i] = NULL; |
u | 125 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_iznr[i] = -1; |
u | 128 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_buf[i] = NULL; |
u | 129 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_zznr[i] = -1; |
u | 132 | fs/xiafs/inode.c | if ( s->u.xiafs_sb.s_imap_zones > _XIAFS_IMAP_SLOTS ) |
u | 133 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_cached=1; |
u | 135 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_cached=0; |
u | 136 | fs/xiafs/inode.c | for (i=0 ; i < s->u.xiafs_sb.s_imap_zones ; i++) { |
u | 137 | fs/xiafs/inode.c | if (!(s->u.xiafs_sb.s_imap_buf[i]=bread(dev, z++, XIAFS_ZSIZE(s)))) |
u | 139 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_iznr[i]=i; |
u | 142 | fs/xiafs/inode.c | if ( s->u.xiafs_sb.s_zmap_zones > _XIAFS_ZMAP_SLOTS ) |
u | 143 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_cached=1; |
u | 145 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_cached=0; |
u | 146 | fs/xiafs/inode.c | for (i=0 ; i < s->u.xiafs_sb.s_zmap_zones ; i++) { |
u | 147 | fs/xiafs/inode.c | if (!(s->u.xiafs_sb.s_zmap_buf[i]=bread(dev, z++, XIAFS_ZSIZE(s)))) |
u | 149 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_zznr[i]=i; |
u | 164 | fs/xiafs/inode.c | brelse(s->u.xiafs_sb.s_imap_buf[i]); |
u | 166 | fs/xiafs/inode.c | brelse(s->u.xiafs_sb.s_zmap_buf[i]); |
u | 180 | fs/xiafs/inode.c | tmp.f_blocks = sb->u.xiafs_sb.s_ndatazones; |
u | 183 | fs/xiafs/inode.c | tmp.f_files = sb->u.xiafs_sb.s_ninodes; |
u | 217 | fs/xiafs/inode.c | return inode->u.xiafs_i.i_zone[zone]; |
u | 220 | fs/xiafs/inode.c | i = inode->u.xiafs_i.i_ind_zone; |
u | 226 | fs/xiafs/inode.c | i = inode->u.xiafs_i.i_dind_zone; |
u | 244 | fs/xiafs/inode.c | random_nr=(random_nr+23)%inode->i_sb->u.xiafs_sb.s_ndatazones; |
u | 245 | fs/xiafs/inode.c | return random_nr + inode->i_sb->u.xiafs_sb.s_firstdatazone; |
u | 346 | fs/xiafs/inode.c | return dt_getblk(inode, zone+inode->u.xiafs_i.i_zone, create, prev_addr); |
u | 349 | fs/xiafs/inode.c | bh = dt_getblk(inode, &(inode->u.xiafs_i.i_ind_zone), create, prev_addr); |
u | 354 | fs/xiafs/inode.c | bh = dt_getblk(inode, &(inode->u.xiafs_i.i_dind_zone), create, prev_addr); |
u | 387 | fs/xiafs/inode.c | if (!ino || ino > inode->i_sb->u.xiafs_sb.s_ninodes) { |
u | 391 | fs/xiafs/inode.c | zone = 1 + inode->i_sb->u.xiafs_sb.s_imap_zones + |
u | 392 | fs/xiafs/inode.c | inode->i_sb->u.xiafs_sb.s_zmap_zones + |
u | 415 | fs/xiafs/inode.c | inode->u.xiafs_i.i_zone[zone] = raw_inode->i_zone[zone] & 0xffffff; |
u | 416 | fs/xiafs/inode.c | inode->u.xiafs_i.i_ind_zone = raw_inode->i_ind_zone & 0xffffff; |
u | 417 | fs/xiafs/inode.c | inode->u.xiafs_i.i_dind_zone = raw_inode->i_dind_zone & 0xffffff; |
u | 448 | fs/xiafs/inode.c | if (!ino || ino > inode->i_sb->u.xiafs_sb.s_ninodes) { |
u | 453 | fs/xiafs/inode.c | zone = 1 + inode->i_sb->u.xiafs_sb.s_imap_zones + |
u | 454 | fs/xiafs/inode.c | inode->i_sb->u.xiafs_sb.s_zmap_zones + |
u | 477 | fs/xiafs/inode.c | | (inode->u.xiafs_i.i_zone[zone] & 0xffffff); |
u | 479 | fs/xiafs/inode.c | | (inode->u.xiafs_i.i_ind_zone & 0xffffff); |
u | 481 | fs/xiafs/inode.c | | (inode->u.xiafs_i.i_dind_zone & 0xffffff); |
u | 92 | fs/xiafs/namei.c | if (dep->d_ino > inode->i_sb->u.xiafs_sb.s_ninodes || |
u | 199 | fs/xiafs/namei.c | if (de->d_ino > dir->i_sb->u.xiafs_sb.s_ninodes || |
u | 449 | fs/xiafs/namei.c | if (de->d_ino > inode->i_sb->u.xiafs_sb.s_ninodes || |
u | 53 | fs/xiafs/truncate.c | lp=i + inode->u.xiafs_i.i_zone; |
u | 144 | fs/xiafs/truncate.c | lp = &(inode->u.xiafs_i.i_dind_zone); |
u | 192 | fs/xiafs/truncate.c | retry |= trunc_indirect(inode, 8, &(inode->u.xiafs_i.i_ind_zone)); |
u | 11 | fs/xiafs/xiafs_mac.h | #define XIAFS_ZSHIFT(sp) ((sp)->u.xiafs_sb.s_zone_shift) |
u | 111 | include/linux/ext2_fs.h | #define EXT2_ADDR_PER_BLOCK_BITS(s) ((s)->u.ext2_sb.s_addr_per_block_bits) |
u | 112 | include/linux/ext2_fs.h | #define EXT2_INODES_PER_BLOCK_BITS(s) ((s)->u.ext2_sb.s_inodes_per_block_bits) |
u | 122 | include/linux/ext2_fs.h | # define EXT2_FRAG_SIZE(s) ((s)->u.ext2_sb.s_frag_size) |
u | 123 | include/linux/ext2_fs.h | # define EXT2_FRAGS_PER_BLOCK(s) ((s)->u.ext2_sb.s_frags_per_block) |
u | 179 | include/linux/ext2_fs.h | # define EXT2_BLOCKS_PER_GROUP(s) ((s)->u.ext2_sb.s_blocks_per_group) |
u | 180 | include/linux/ext2_fs.h | # define EXT2_DESC_PER_BLOCK(s) ((s)->u.ext2_sb.s_desc_per_block) |
u | 181 | include/linux/ext2_fs.h | # define EXT2_INODES_PER_GROUP(s) ((s)->u.ext2_sb.s_inodes_per_group) |
u | 182 | include/linux/ext2_fs.h | # define EXT2_DESC_PER_BLOCK_BITS(s) ((s)->u.ext2_sb.s_desc_per_block_bits) |
u | 317 | include/linux/ext2_fs.h | #define test_opt(sb, opt) ((sb)->u.ext2_sb.s_mount_opt & \ |
u | 250 | include/linux/fs.h | } u; |
u | 325 | include/linux/fs.h | } u; |
u | 15 | include/linux/hpfs_fs_i.h | #define i_hpfs_dno u.hpfs_i.i_dno |
u | 16 | include/linux/hpfs_fs_i.h | #define i_hpfs_parent_dir u.hpfs_i.i_parent_dir |
u | 17 | include/linux/hpfs_fs_i.h | #define i_hpfs_n_secs u.hpfs_i.i_n_secs |
u | 18 | include/linux/hpfs_fs_i.h | #define i_hpfs_file_sec u.hpfs_i.i_file_sec |
u | 19 | include/linux/hpfs_fs_i.h | #define i_hpfs_disk_sec u.hpfs_i.i_disk_sec |
u | 20 | include/linux/hpfs_fs_i.h | #define i_hpfs_dpos u.hpfs_i.i_dpos |
u | 21 | include/linux/hpfs_fs_i.h | #define i_hpfs_dsubdno u.hpfs_i.i_dsubdno |
u | 22 | include/linux/hpfs_fs_i.h | #define i_hpfs_conv u.hpfs_i.i_conv |
u | 19 | include/linux/hpfs_fs_sb.h | #define s_hpfs_root u.hpfs_sb.sb_root |
u | 20 | include/linux/hpfs_fs_sb.h | #define s_hpfs_fs_size u.hpfs_sb.sb_fs_size |
u | 21 | include/linux/hpfs_fs_sb.h | #define s_hpfs_bitmaps u.hpfs_sb.sb_bitmaps |
u | 22 | include/linux/hpfs_fs_sb.h | #define s_hpfs_dirband_size u.hpfs_sb.sb_dirband_size |
u | 23 | include/linux/hpfs_fs_sb.h | #define s_hpfs_dmap u.hpfs_sb.sb_dmap |
u | 24 | include/linux/hpfs_fs_sb.h | #define s_hpfs_uid u.hpfs_sb.sb_uid |
u | 25 | include/linux/hpfs_fs_sb.h | #define s_hpfs_gid u.hpfs_sb.sb_gid |
u | 26 | include/linux/hpfs_fs_sb.h | #define s_hpfs_mode u.hpfs_sb.sb_mode |
u | 27 | include/linux/hpfs_fs_sb.h | #define s_hpfs_n_free u.hpfs_sb.sb_n_free |
u | 28 | include/linux/hpfs_fs_sb.h | #define s_hpfs_n_free_dnodes u.hpfs_sb.sb_n_free_dnodes |
u | 29 | include/linux/hpfs_fs_sb.h | #define s_hpfs_lowercase u.hpfs_sb.sb_lowercase |
u | 30 | include/linux/hpfs_fs_sb.h | #define s_hpfs_conv u.hpfs_sb.sb_conv |
u | 42 | include/linux/msdos_fs.h | #define MSDOS_SB(s) (&((s)->u.msdos_sb)) |
u | 43 | include/linux/msdos_fs.h | #define MSDOS_I(i) (&((i)->u.msdos_i)) |
u | 45 | include/linux/nfs_fs.h | #define NFS_SERVER(inode) (&(inode)->i_sb->u.nfs_sb.s_server) |
u | 46 | include/linux/nfs_fs.h | #define NFS_FH(inode) (&(inode)->u.nfs_i.fhandle) |
u | 16 | include/linux/pipe_fs_i.h | #define PIPE_WAIT(inode) ((inode).u.pipe_i.wait) |
u | 17 | include/linux/pipe_fs_i.h | #define PIPE_BASE(inode) ((inode).u.pipe_i.base) |
u | 18 | include/linux/pipe_fs_i.h | #define PIPE_START(inode) ((inode).u.pipe_i.start) |
u | 19 | include/linux/pipe_fs_i.h | #define PIPE_LEN(inode) ((inode).u.pipe_i.len) |
u | 20 | include/linux/pipe_fs_i.h | #define PIPE_RD_OPENERS(inode) ((inode).u.pipe_i.rd_openers) |
u | 21 | include/linux/pipe_fs_i.h | #define PIPE_WR_OPENERS(inode) ((inode).u.pipe_i.wr_openers) |
u | 22 | include/linux/pipe_fs_i.h | #define PIPE_READERS(inode) ((inode).u.pipe_i.readers) |
u | 23 | include/linux/pipe_fs_i.h | #define PIPE_WRITERS(inode) ((inode).u.pipe_i.writers) |
u | 24 | include/linux/pipe_fs_i.h | #define PIPE_LOCK(inode) ((inode).u.pipe_i.lock) |
u | 42 | include/linux/smb_fs.h | #define SMB_SBP(sb) ((struct smb_sb_info *)(sb->u.generic_sbp)) |
u | 43 | include/linux/smb_fs.h | #define SMB_INOP(inode) ((struct smb_inode_info *)(inode->u.generic_ip)) |
u | 72 | include/linux/sysv_fs_sb.h | #define sv_type u.sysv_sb.s_type |
u | 73 | include/linux/sysv_fs_sb.h | #define sv_block_size u.sysv_sb.s_block_size |
u | 74 | include/linux/sysv_fs_sb.h | #define sv_block_size_1 u.sysv_sb.s_block_size_1 |
u | 75 | include/linux/sysv_fs_sb.h | #define sv_block_size_bits u.sysv_sb.s_block_size_bits |
u | 76 | include/linux/sysv_fs_sb.h | #define sv_block_size_ratio u.sysv_sb.s_block_size_ratio |
u | 77 | include/linux/sysv_fs_sb.h | #define sv_block_size_ratio_bits u.sysv_sb.s_block_size_ratio_bits |
u | 78 | include/linux/sysv_fs_sb.h | #define sv_convert u.sysv_sb.s_convert |
u | 79 | include/linux/sysv_fs_sb.h | #define sv_kludge_symlinks u.sysv_sb.s_kludge_symlinks |
u | 80 | include/linux/sysv_fs_sb.h | #define sv_truncate u.sysv_sb.s_truncate |
u | 81 | include/linux/sysv_fs_sb.h | #define sv_link_max u.sysv_sb.s_link_max |
u | 82 | include/linux/sysv_fs_sb.h | #define sv_inodes_per_block u.sysv_sb.s_inodes_per_block |
u | 83 | include/linux/sysv_fs_sb.h | #define sv_inodes_per_block_1 u.sysv_sb.s_inodes_per_block_1 |
u | 84 | include/linux/sysv_fs_sb.h | #define sv_inodes_per_block_bits u.sysv_sb.s_inodes_per_block_bits |
u | 85 | include/linux/sysv_fs_sb.h | #define sv_ind_per_block u.sysv_sb.s_ind_per_block |
u | 86 | include/linux/sysv_fs_sb.h | #define sv_ind_per_block_1 u.sysv_sb.s_ind_per_block_1 |
u | 87 | include/linux/sysv_fs_sb.h | #define sv_ind_per_block_bits u.sysv_sb.s_ind_per_block_bits |
u | 88 | include/linux/sysv_fs_sb.h | #define sv_ind_per_block_2 u.sysv_sb.s_ind_per_block_2 |
u | 89 | include/linux/sysv_fs_sb.h | #define sv_ind_per_block_2_1 u.sysv_sb.s_ind_per_block_2_1 |
u | 90 | include/linux/sysv_fs_sb.h | #define sv_ind_per_block_2_bits u.sysv_sb.s_ind_per_block_2_bits |
u | 91 | include/linux/sysv_fs_sb.h | #define sv_ind_per_block_3 u.sysv_sb.s_ind_per_block_3 |
u | 92 | include/linux/sysv_fs_sb.h | #define sv_ind_per_block_block_size_1 u.sysv_sb.s_ind_per_block_block_size_1 |
u | 93 | include/linux/sysv_fs_sb.h | #define sv_ind_per_block_block_size_bits u.sysv_sb.s_ind_per_block_block_size_bits |
u | 94 | include/linux/sysv_fs_sb.h | #define sv_ind_per_block_2_block_size_1 u.sysv_sb.s_ind_per_block_2_block_size_1 |
u | 95 | include/linux/sysv_fs_sb.h | #define sv_ind_per_block_2_block_size_bits u.sysv_sb.s_ind_per_block_2_block_size_bits |
u | 96 | include/linux/sysv_fs_sb.h | #define sv_ind0_size u.sysv_sb.s_ind0_size |
u | 97 | include/linux/sysv_fs_sb.h | #define sv_ind1_size u.sysv_sb.s_ind1_size |
u | 98 | include/linux/sysv_fs_sb.h | #define sv_ind2_size u.sysv_sb.s_ind2_size |
u | 99 | include/linux/sysv_fs_sb.h | #define sv_toobig_block u.sysv_sb.s_toobig_block |
u | 100 | include/linux/sysv_fs_sb.h | #define sv_block_base u.sysv_sb.s_block_base |
u | 101 | include/linux/sysv_fs_sb.h | #define sv_fic_size u.sysv_sb.s_fic_size |
u | 102 | include/linux/sysv_fs_sb.h | #define sv_flc_size u.sysv_sb.s_flc_size |
u | 103 | include/linux/sysv_fs_sb.h | #define sv_bh1 u.sysv_sb.s_bh1 |
u | 104 | include/linux/sysv_fs_sb.h | #define sv_bh2 u.sysv_sb.s_bh2 |
u | 105 | include/linux/sysv_fs_sb.h | #define sv_sbd1 u.sysv_sb.s_sbd1 |
u | 106 | include/linux/sysv_fs_sb.h | #define sv_sbd2 u.sysv_sb.s_sbd2 |
u | 107 | include/linux/sysv_fs_sb.h | #define sv_sb_fic_count u.sysv_sb.s_sb_fic_count |
u | 108 | include/linux/sysv_fs_sb.h | #define sv_sb_fic_inodes u.sysv_sb.s_sb_fic_inodes |
u | 109 | include/linux/sysv_fs_sb.h | #define sv_sb_total_free_inodes u.sysv_sb.s_sb_total_free_inodes |
u | 110 | include/linux/sysv_fs_sb.h | #define sv_sb_flc_count u.sysv_sb.s_sb_flc_count |
u | 111 | include/linux/sysv_fs_sb.h | #define sv_sb_flc_blocks u.sysv_sb.s_sb_flc_blocks |
u | 112 | include/linux/sysv_fs_sb.h | #define sv_sb_total_free_blocks u.sysv_sb.s_sb_total_free_blocks |
u | 113 | include/linux/sysv_fs_sb.h | #define sv_sb_time u.sysv_sb.s_sb_time |
u | 114 | include/linux/sysv_fs_sb.h | #define sv_sb_state u.sysv_sb.s_sb_state |
u | 115 | include/linux/sysv_fs_sb.h | #define sv_firstinodezone u.sysv_sb.s_firstinodezone |
u | 116 | include/linux/sysv_fs_sb.h | #define sv_firstdatazone u.sysv_sb.s_firstdatazone |
u | 117 | include/linux/sysv_fs_sb.h | #define sv_ninodes u.sysv_sb.s_ninodes |
u | 118 | include/linux/sysv_fs_sb.h | #define sv_ndatazones u.sysv_sb.s_ndatazones |
u | 119 | include/linux/sysv_fs_sb.h | #define sv_nzones u.sysv_sb.s_nzones |
u | 61 | include/linux/umsdos_fs_i.h | }u; /* Simply a filler, never referenced by fs/umsdos/... */ |
u | 74 | include/linux/user.h | #define HOST_TEXT_START_ADDR (u.start_code) |
u | 75 | include/linux/user.h | #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG) |
u | 666 | ipc/sem.c | struct sem_undo *u, *un = NULL, **up, **unp; |
u | 679 | ipc/sem.c | for (up = ¤t->semundo; (u = *up); *up = u->proc_next, kfree(u)) { |
u | 680 | ipc/sem.c | if (u->semid == -1) |
u | 682 | ipc/sem.c | sma = semary[(unsigned int) u->semid % SEMMNI]; |
u | 685 | ipc/sem.c | if (sma->sem_perm.seq != (unsigned int) u->semid / SEMMNI) |
u | 689 | ipc/sem.c | if (u == un) |
u | 692 | ipc/sem.c | printk ("sem_exit undo list error id=%d\n", u->semid); |
u | 700 | ipc/sem.c | sem->semval += u->semadj[i]; |
u | 202 | net/socket.c | return &inode->u.socket_i; |
u | 245 | net/socket.c | sock = &inode->u.socket_i; |