tag | line | file | source code |
u | 3029 | arch/m68k/amiga/amifb.c | } u; |
u | 3927 | arch/m68k/amiga/amifb.c | memcpy(var->data, sprite->u.nonlaced.data, sizeof(var->data)); |
u | 3937 | arch/m68k/amiga/amifb.c | memcpy(sprite->u.nonlaced.data, var->data, sizeof(var->data)); |
u | 37 | arch/m68k/lib/ashrdi3.c | __ashrdi3 (DItype u, word_type b) |
u | 44 | arch/m68k/lib/ashrdi3.c | return u; |
u | 46 | arch/m68k/lib/ashrdi3.c | uu.ll = u; |
u | 657 | arch/sparc/kernel/sys_sunos.c | socket = &inode->u.socket_i; |
u | 2193 | drivers/cdrom/aztcd.c | { int u, t; |
u | 2195 | drivers/cdrom/aztcd.c | u = *p % 10; |
u | 2197 | drivers/cdrom/aztcd.c | *p = u | (t << 4); |
u | 1085 | drivers/cdrom/gscd.c | int u, t; |
u | 1087 | drivers/cdrom/gscd.c | u = *p % 10; |
u | 1089 | drivers/cdrom/gscd.c | *p = u | (t << 4); |
u | 1287 | drivers/cdrom/mcd.c | int u, t; |
u | 1289 | drivers/cdrom/mcd.c | u = *p % 10; |
u | 1291 | drivers/cdrom/mcd.c | *p = u | (t << 4); |
u | 168 | drivers/cdrom/sjcd.c | int u, v; |
u | 170 | drivers/cdrom/sjcd.c | u = bin % 10; v = bin / 10; |
u | 171 | drivers/cdrom/sjcd.c | return( u | ( v << 4 ) ); |
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 | 202 | drivers/net/3c59x.c | } u; |
u | 478 | drivers/net/3c59x.c | 8 << config.u.ram_size, |
u | 479 | drivers/net/3c59x.c | config.u.ram_width ? "word" : "byte", |
u | 480 | drivers/net/3c59x.c | ram_split[config.u.ram_split], |
u | 481 | drivers/net/3c59x.c | config.u.autoselect ? "autoselect/" : "", |
u | 482 | drivers/net/3c59x.c | if_names[config.u.xcvr]); |
u | 483 | drivers/net/3c59x.c | dev->if_port = config.u.xcvr; |
u | 484 | drivers/net/3c59x.c | vp->autoselect = config.u.autoselect; |
u | 522 | drivers/net/3c59x.c | config.u.xcvr = vp->media_override; |
u | 384 | drivers/net/ni65.c | tmdp->u.buffer = 0x0; |
u | 385 | drivers/net/ni65.c | tmdp->u.s.status = XMIT_START | XMIT_END; |
u | 394 | drivers/net/ni65.c | rmdp->u.buffer = (unsigned long) p->recv_skb[i]->data; |
u | 396 | drivers/net/ni65.c | rmdp->u.buffer = (unsigned long) p->recvbounce[i]; |
u | 400 | drivers/net/ni65.c | rmdp->u.s.status = RCV_OWN; |
u | 500 | drivers/net/ni65.c | if(! (rmdp->u.s.status & RCV_OWN) ) |
u | 537 | drivers/net/ni65.c | int tmdstat = tmdp->u.s.status; |
u | 594 | drivers/net/ni65.c | while(!( (rmdstat = rmdp->u.s.status) & RCV_OWN)) |
u | 620 | drivers/net/ni65.c | rmdp->u.s.status = RCV_OWN; /* change owner */ |
u | 643 | drivers/net/ni65.c | rmdp->u.buffer = (unsigned long) skb->data; |
u | 651 | drivers/net/ni65.c | rmdp->u.s.status = RCV_OWN; |
u | 658 | drivers/net/ni65.c | rmdp->u.s.status = RCV_OWN; |
u | 664 | drivers/net/ni65.c | rmdp->u.s.status = RCV_OWN; |
u | 717 | drivers/net/ni65.c | tmdp->u.buffer = (unsigned long ) p->tmdbounce[p->tmdnum]; |
u | 718 | drivers/net/ni65.c | memcpy((char *) tmdp->u.buffer,(char *)skb->data, |
u | 724 | drivers/net/ni65.c | tmdp->u.buffer = (unsigned long) skb->data; |
u | 733 | drivers/net/ni65.c | tmdp->u.s.status = XMIT_OWN | XMIT_START | XMIT_END; |
u | 110 | drivers/net/ni65.h | } u; |
u | 125 | drivers/net/ni65.h | } u; |
u | 1046 | drivers/net/sk_g16.c | tmdp->u.buffer = (unsigned long) p->tmdbufs[i]; /* assign buffer */ |
u | 1049 | drivers/net/sk_g16.c | tmdp->u.s.status = TX_STP | TX_ENP; |
u | 1062 | drivers/net/sk_g16.c | rmdp->u.buffer = (unsigned long) p->rmdbufs[i]; /* assign buffer */ |
u | 1069 | drivers/net/sk_g16.c | rmdp->u.s.status = RX_OWN; |
u | 1256 | drivers/net/sk_g16.c | memcpy((char *) (tmdp->u.buffer & 0x00ffffff), (char *)skb->data, |
u | 1267 | drivers/net/sk_g16.c | tmdp->u.s.status = TX_OWN | TX_STP | TX_ENP; |
u | 1279 | drivers/net/sk_g16.c | if (! ((p->tmdhead + p->tmdnum)->u.s.status & TX_OWN) ) |
u | 1401 | drivers/net/sk_g16.c | tmdstat = tmdp->u.s.status & 0xff00; /* filter out status bits 15:08 */ |
u | 1520 | drivers/net/sk_g16.c | while (!( (rmdstat = rmdp->u.s.status) & RX_OWN)) |
u | 1550 | drivers/net/sk_g16.c | rmdp->u.s.status = RX_OWN; /* Relinquish ownership to LANCE */ |
u | 1562 | drivers/net/sk_g16.c | rmdp->u.s.status = RX_OWN; /* Relinquish ownership to LANCE */ |
u | 1581 | drivers/net/sk_g16.c | rmdp->u.s.status = RX_OWN; /* Relinquish ownership to LANCE */ |
u | 1601 | drivers/net/sk_g16.c | memcpy(skb_put(skb,len), (unsigned char *) (rmdp->u.buffer & 0x00ffffff), |
u | 1620 | 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 | 90 | drivers/net/smc9194.c | #define request_irq( x, y, z, u, v ) request_irq( x, y, z, u ) |
u | 966 | drivers/sbus/char/suncons.c | unsigned int u; |
u | 972 | drivers/sbus/char/suncons.c | u = ~0; |
u | 974 | drivers/sbus/char/suncons.c | u = ~(u >> cursor_info->size.fbx); |
u | 976 | drivers/sbus/char/suncons.c | int m = cursor_info->bits [0][i] & u; |
u | 502 | drivers/scsi/wd7000.c | unchar u[sizeof(int)]; /* the sizeof(int) makes it more portable */ |
u | 508 | drivers/scsi/wd7000.c | *scsi++ = ((i_u) any).u[2]; |
u | 509 | drivers/scsi/wd7000.c | *scsi++ = ((i_u) any).u[1]; |
u | 510 | drivers/scsi/wd7000.c | *scsi++ = ((i_u) any).u[0]; |
u | 519 | drivers/scsi/wd7000.c | *(result.u+2) = *scsi++; |
u | 520 | drivers/scsi/wd7000.c | *(result.u+1) = *scsi++; |
u | 521 | drivers/scsi/wd7000.c | *(result.u) = *scsi++; |
u | 44 | fs/affs/bitmap.c | if (s->u.affs_sb.s_flags & SF_BM_VALID) { |
u | 45 | fs/affs/bitmap.c | for (i = 0; i < s->u.affs_sb.s_bm_count; i++) { |
u | 46 | fs/affs/bitmap.c | free += s->u.affs_sb.s_bitmap[i].bm_free; |
u | 62 | fs/affs/bitmap.c | blk = block - sb->u.affs_sb.s_reserved; |
u | 65 | fs/affs/bitmap.c | bm = &sb->u.affs_sb.s_bitmap[bmap]; |
u | 66 | fs/affs/bitmap.c | if (bmap >= sb->u.affs_sb.s_bm_count || bit >= bm->bm_size) { |
u | 98 | fs/affs/bitmap.c | zone = &sb->u.affs_sb.s_zones[zone_no]; |
u | 131 | fs/affs/bitmap.c | while (inode->u.affs_i.i_pa_cnt < MAX_PREALLOC && ++fb < 32) { |
u | 139 | fs/affs/bitmap.c | inode->u.affs_i.i_data[inode->u.affs_i.i_pa_last++] = fwb + fb; |
u | 140 | fs/affs/bitmap.c | inode->u.affs_i.i_pa_last &= MAX_PREALLOC - 1; |
u | 141 | fs/affs/bitmap.c | inode->u.affs_i.i_pa_cnt++; |
u | 169 | fs/affs/bitmap.c | if (zone >= sb->u.affs_sb.s_num_zones) { |
u | 174 | fs/affs/bitmap.c | if (!set_bit(zone,sb->u.affs_sb.s_zonemap)) { |
u | 175 | fs/affs/bitmap.c | bm = &sb->u.affs_sb.s_bitmap[zone >> (sb->s_blocksize_bits - 8)]; |
u | 191 | fs/affs/bitmap.c | clear_bit(zone,sb->u.affs_sb.s_zonemap); |
u | 213 | fs/affs/bitmap.c | zone = &sb->u.affs_sb.s_zones[0]; |
u | 224 | fs/affs/bitmap.c | clear_bit(zone->z_zone_no,sb->u.affs_sb.s_zonemap); |
u | 225 | fs/affs/bitmap.c | affs_find_new_zone(sb,zone,AFFS_HDR_MIN_FREE,(sb->u.affs_sb.s_num_zones + 1) / 2); |
u | 227 | fs/affs/bitmap.c | clear_bit(zone->z_zone_no,sb->u.affs_sb.s_zonemap); |
u | 228 | fs/affs/bitmap.c | affs_find_new_zone(sb,zone,0,(sb->u.affs_sb.s_num_zones + 1) / 2); |
u | 260 | fs/affs/bitmap.c | if (inode->u.affs_i.i_pa_cnt) { |
u | 261 | fs/affs/bitmap.c | inode->u.affs_i.i_pa_cnt--; |
u | 263 | fs/affs/bitmap.c | block = inode->u.affs_i.i_data[inode->u.affs_i.i_pa_next++]; |
u | 264 | fs/affs/bitmap.c | inode->u.affs_i.i_pa_next &= MAX_PREALLOC - 1; |
u | 272 | fs/affs/bitmap.c | zone = &sb->u.affs_sb.s_zones[inode->u.affs_i.i_zone]; |
u | 274 | fs/affs/bitmap.c | i = inode->u.affs_i.i_zone; |
u | 278 | fs/affs/bitmap.c | zone = &sb->u.affs_sb.s_zones[i]; |
u | 293 | fs/affs/bitmap.c | inode->u.affs_i.i_zone = i; |
u | 297 | fs/affs/bitmap.c | zone = &sb->u.affs_sb.s_zones[i]; |
u | 299 | fs/affs/bitmap.c | clear_bit(zone->z_zone_no,sb->u.affs_sb.s_zonemap); |
u | 300 | fs/affs/bitmap.c | affs_find_new_zone(sb,zone,AFFS_DATA_MIN_FREE,sb->u.affs_sb.s_nextzone); |
u | 301 | fs/affs/bitmap.c | sb->u.affs_sb.s_nextzone = zone->z_zone_no + 1; |
u | 323 | fs/affs/bitmap.c | pr_debug("AFFS: make_zones(): num_zones=%d\n",sb->u.affs_sb.s_num_zones); |
u | 325 | fs/affs/bitmap.c | j = (sb->u.affs_sb.s_num_zones + 1) / 2; |
u | 327 | fs/affs/bitmap.c | affs_find_new_zone(sb,&sb->u.affs_sb.s_zones[0],AFFS_HDR_MIN_FREE,j); |
u | 329 | fs/affs/bitmap.c | affs_find_new_zone(sb,&sb->u.affs_sb.s_zones[i],AFFS_DATA_MIN_FREE,j); |
u | 330 | fs/affs/bitmap.c | j = sb->u.affs_sb.s_zones[i].z_zone_no + 1; |
u | 117 | fs/affs/dir.c | ino = inode->u.affs_i.i_original ? inode->u.affs_i.i_original : inode->i_ino; |
u | 122 | fs/affs/file.c | key = inode->u.affs_i.i_original ? inode->u.affs_i.i_original : inode->i_ino; |
u | 126 | fs/affs/file.c | if (ext > inode->u.affs_i.i_max_ext) |
u | 127 | fs/affs/file.c | ext = inode->u.affs_i.i_max_ext; |
u | 129 | fs/affs/file.c | key = inode->u.affs_i.i_ext[ext - 1]; |
u | 148 | fs/affs/file.c | inode->u.affs_i.i_ext[ext] = key; |
u | 149 | fs/affs/file.c | inode->u.affs_i.i_max_ext = ++ext; |
u | 175 | fs/affs/file.c | if (ext > inode->u.affs_i.i_max_ext) |
u | 176 | fs/affs/file.c | ext = inode->u.affs_i.i_max_ext; |
u | 178 | fs/affs/file.c | key = inode->u.affs_i.i_ext[ext - 1]; |
u | 253 | fs/affs/file.c | inode->u.affs_i.i_ext[ext] = key; |
u | 254 | fs/affs/file.c | inode->u.affs_i.i_max_ext = ++ext; |
u | 335 | fs/affs/file.c | if (inode->u.affs_i.i_original) { |
u | 336 | fs/affs/file.c | ino = iget(inode->i_sb,inode->u.affs_i.i_original); |
u | 339 | fs/affs/file.c | inode->i_ino,inode->u.affs_i.i_original); |
u | 421 | fs/affs/file.c | if (inode->u.affs_i.i_original) { |
u | 422 | fs/affs/file.c | ino = iget(inode->i_sb,inode->u.affs_i.i_original); |
u | 425 | fs/affs/file.c | inode->i_ino,inode->u.affs_i.i_original); |
u | 485 | fs/affs/file.c | inode->u.affs_i.i_max_ext = 0; /* invalidate cache */ |
u | 506 | fs/affs/file.c | if (inode->u.affs_i.i_original) { |
u | 507 | fs/affs/file.c | ino = iget(inode->i_sb,inode->u.affs_i.i_original); |
u | 510 | fs/affs/file.c | inode->i_ino,inode->u.affs_i.i_original); |
u | 571 | fs/affs/file.c | inode->u.affs_i.i_max_ext = 0; /* invalidate cache */ |
u | 579 | fs/affs/file.c | while (inode->u.affs_i.i_pa_cnt) { |
u | 581 | fs/affs/file.c | inode->u.affs_i.i_data[inode->u.affs_i.i_pa_next++]); |
u | 582 | fs/affs/file.c | inode->u.affs_i.i_pa_next &= MAX_PREALLOC - 1; |
u | 583 | fs/affs/file.c | inode->u.affs_i.i_pa_cnt--; |
u | 42 | fs/affs/inode.c | for (i = 0; i < sb->u.affs_sb.s_bm_count; i++) |
u | 43 | fs/affs/inode.c | affs_brelse(sb->u.affs_sb.s_bitmap[i].bm_bh); |
u | 44 | fs/affs/inode.c | ROOT_END_S(sb->u.affs_sb.s_root_bh->b_data,sb)->bm_flag = htonl(1); |
u | 46 | fs/affs/inode.c | &ROOT_END_S(sb->u.affs_sb.s_root_bh->b_data,sb)->disk_altered); |
u | 47 | fs/affs/inode.c | affs_fix_checksum(sb->s_blocksize,sb->u.affs_sb.s_root_bh->b_data,5); |
u | 48 | fs/affs/inode.c | mark_buffer_dirty(sb->u.affs_sb.s_root_bh,1); |
u | 50 | fs/affs/inode.c | if (sb->u.affs_sb.s_flags & SF_PREFIX) |
u | 51 | fs/affs/inode.c | kfree(sb->u.affs_sb.s_prefix); |
u | 52 | fs/affs/inode.c | kfree(sb->u.affs_sb.s_bitmap); |
u | 53 | fs/affs/inode.c | affs_brelse(sb->u.affs_sb.s_root_bh); |
u | 66 | fs/affs/inode.c | for (i = 0, clean = 1; i < sb->u.affs_sb.s_bm_count; i++) { |
u | 67 | fs/affs/inode.c | if (buffer_dirty(sb->u.affs_sb.s_bitmap[i].bm_bh)) { |
u | 72 | fs/affs/inode.c | ROOT_END_S(sb->u.affs_sb.s_root_bh->b_data,sb)->bm_flag = htonl(clean); |
u | 74 | fs/affs/inode.c | &ROOT_END_S(sb->u.affs_sb.s_root_bh->b_data,sb)->disk_altered); |
u | 75 | fs/affs/inode.c | affs_fix_checksum(sb->s_blocksize,sb->u.affs_sb.s_root_bh->b_data,5); |
u | 76 | fs/affs/inode.c | mark_buffer_dirty(sb->u.affs_sb.s_root_bh,1); |
u | 97 | fs/affs/inode.c | int root_ino = (dir->i_sb->u.affs_sb.s_root_block); |
u | 105 | fs/affs/inode.c | return dir->u.affs_i.i_parent; |
u | 281 | fs/affs/inode.c | &blocksize,&s->u.affs_sb.s_prefix,s->u.affs_sb.s_volume,&mount_flags)) { |
u | 295 | fs/affs/inode.c | s->u.affs_sb.s_bitmap = NULL; |
u | 296 | fs/affs/inode.c | s->u.affs_sb.s_root_bh = NULL; |
u | 297 | fs/affs/inode.c | s->u.affs_sb.s_flags = mount_flags; |
u | 298 | fs/affs/inode.c | s->u.affs_sb.s_mode = mode; |
u | 299 | fs/affs/inode.c | s->u.affs_sb.s_uid = uid; |
u | 300 | fs/affs/inode.c | s->u.affs_sb.s_gid = gid; |
u | 308 | fs/affs/inode.c | s->u.affs_sb.s_partition_size = size; |
u | 309 | fs/affs/inode.c | s->u.affs_sb.s_reserved = reserved; |
u | 313 | fs/affs/inode.c | s->u.affs_sb.s_hashsize = 0; |
u | 324 | fs/affs/inode.c | s->u.affs_sb.s_root_block = size/4; |
u | 326 | fs/affs/inode.c | s->u.affs_sb.s_root_block = (reserved + size - 1) / 2; |
u | 328 | fs/affs/inode.c | s->u.affs_sb.s_root_block = root_block; |
u | 330 | fs/affs/inode.c | blocksize,s->u.affs_sb.s_root_block,size,reserved); |
u | 332 | fs/affs/inode.c | bh = affs_bread(dev,s->u.affs_sb.s_root_block,blocksize); |
u | 340 | fs/affs/inode.c | s->u.affs_sb.s_hashsize = blocksize / 4 - 56; |
u | 346 | fs/affs/inode.c | if (!s->u.affs_sb.s_hashsize) { |
u | 352 | fs/affs/inode.c | root_block = s->u.affs_sb.s_root_block; |
u | 354 | fs/affs/inode.c | s->u.affs_sb.s_partition_size = size; |
u | 366 | fs/affs/inode.c | s->u.affs_sb.s_flags |= SF_MUFS; |
u | 369 | fs/affs/inode.c | s->u.affs_sb.s_flags |= SF_INTL; |
u | 372 | fs/affs/inode.c | s->u.affs_sb.s_flags |= SF_MUFS; |
u | 377 | fs/affs/inode.c | s->u.affs_sb.s_flags |= SF_MUFS; |
u | 380 | fs/affs/inode.c | s->u.affs_sb.s_flags |= SF_OFS; |
u | 383 | fs/affs/inode.c | s->u.affs_sb.s_flags |= SF_MUFS; |
u | 386 | fs/affs/inode.c | s->u.affs_sb.s_flags |= SF_INTL | SF_OFS; |
u | 419 | fs/affs/inode.c | if (!(s->u.affs_sb.s_root_bh = affs_bread(dev,root_block,s->s_blocksize))) { |
u | 426 | fs/affs/inode.c | size = s->u.affs_sb.s_partition_size - reserved; |
u | 431 | fs/affs/inode.c | if (!(s->u.affs_sb.s_bitmap = kmalloc(ptype,GFP_KERNEL))) { |
u | 435 | fs/affs/inode.c | memset(s->u.affs_sb.s_bitmap,0,ptype); |
u | 452 | fs/affs/inode.c | offset = s->u.affs_sb.s_reserved; |
u | 481 | fs/affs/inode.c | s->u.affs_sb.s_flags |= SF_BM_VALID; |
u | 486 | fs/affs/inode.c | s->u.affs_sb.s_bitmap[mapidx].bm_firstblk = offset; |
u | 487 | fs/affs/inode.c | s->u.affs_sb.s_bitmap[mapidx].bm_size = ptype; |
u | 488 | fs/affs/inode.c | s->u.affs_sb.s_bitmap[mapidx].bm_bh = bb; |
u | 489 | fs/affs/inode.c | s->u.affs_sb.s_bitmap[mapidx].bm_free = |
u | 514 | fs/affs/inode.c | s->u.affs_sb.s_num_zones = ((num_bm - 1) << (s->s_blocksize_bits - 8))+ |
u | 515 | fs/affs/inode.c | (s->u.affs_sb.s_bitmap[num_bm - 1].bm_size + 2047) / 2048; |
u | 517 | fs/affs/inode.c | s->u.affs_sb.s_bm_count = mapidx; |
u | 518 | fs/affs/inode.c | s->u.affs_sb.s_zones = (struct affs_zone *)&s->u.affs_sb.s_bitmap[num_bm]; |
u | 519 | fs/affs/inode.c | s->u.affs_sb.s_zonemap = (char *)&s->u.affs_sb.s_zones[MAX_ZONES]; |
u | 538 | fs/affs/inode.c | ROOT_END(s->u.affs_sb.s_root_bh->b_data,s->s_mounted)->bm_flag = 0; |
u | 539 | fs/affs/inode.c | secs_to_datestamp(CURRENT_TIME,&ROOT_END(s->u.affs_sb.s_root_bh->b_data, |
u | 541 | fs/affs/inode.c | affs_fix_checksum(s->s_blocksize,s->u.affs_sb.s_root_bh->b_data,5); |
u | 542 | fs/affs/inode.c | mark_buffer_dirty(s->u.affs_sb.s_root_bh,1); |
u | 545 | fs/affs/inode.c | for (i = 0; i < s->u.affs_sb.s_bm_count; i++) { |
u | 546 | fs/affs/inode.c | affs_brelse(s->u.affs_sb.s_bitmap[i].bm_bh); |
u | 547 | fs/affs/inode.c | s->u.affs_sb.s_bitmap[i].bm_bh = NULL; |
u | 557 | fs/affs/inode.c | affs_brelse(s->u.affs_sb.s_root_bh); |
u | 558 | fs/affs/inode.c | if (s->u.affs_sb.s_bitmap) { |
u | 560 | fs/affs/inode.c | affs_brelse(s->u.affs_sb.s_bitmap[i].bm_bh); |
u | 561 | fs/affs/inode.c | kfree(s->u.affs_sb.s_bitmap); |
u | 576 | fs/affs/inode.c | sb->u.affs_sb.s_partition_size, sb->u.affs_sb.s_reserved); |
u | 581 | fs/affs/inode.c | tmp.f_blocks = sb->u.affs_sb.s_partition_size - sb->u.affs_sb.s_reserved; |
u | 618 | fs/affs/inode.c | inode->u.affs_i.i_protect = prot; |
u | 619 | fs/affs/inode.c | inode->u.affs_i.i_parent = htonl(file_end->parent); |
u | 620 | fs/affs/inode.c | inode->u.affs_i.i_original = 0; |
u | 621 | fs/affs/inode.c | inode->u.affs_i.i_zone = 0; |
u | 622 | fs/affs/inode.c | inode->u.affs_i.i_hlink = 0; |
u | 623 | fs/affs/inode.c | inode->u.affs_i.i_pa_cnt = 0; |
u | 624 | fs/affs/inode.c | inode->u.affs_i.i_pa_next = 0; |
u | 625 | fs/affs/inode.c | inode->u.affs_i.i_pa_last = 0; |
u | 626 | fs/affs/inode.c | inode->u.affs_i.i_ext[0] = 0; |
u | 627 | fs/affs/inode.c | inode->u.affs_i.i_max_ext = 0; |
u | 631 | fs/affs/inode.c | if (inode->i_sb->u.affs_sb.s_flags & SF_SETMODE) |
u | 632 | fs/affs/inode.c | inode->i_mode = inode->i_sb->u.affs_sb.s_mode; |
u | 636 | fs/affs/inode.c | if (inode->i_sb->u.affs_sb.s_flags & SF_SETUID) |
u | 637 | fs/affs/inode.c | inode->i_uid = inode->i_sb->u.affs_sb.s_uid; |
u | 640 | fs/affs/inode.c | if (inode->i_sb->u.affs_sb.s_flags & SF_MUFS) { |
u | 646 | fs/affs/inode.c | if (inode->i_sb->u.affs_sb.s_flags & SF_SETGID) |
u | 647 | fs/affs/inode.c | inode->i_gid = inode->i_sb->u.affs_sb.s_gid; |
u | 650 | fs/affs/inode.c | if (inode->i_sb->u.affs_sb.s_flags & SF_MUFS) { |
u | 659 | fs/affs/inode.c | inode->i_uid = inode->i_sb->u.affs_sb.s_uid; |
u | 660 | fs/affs/inode.c | inode->i_gid = inode->i_sb->u.affs_sb.s_gid; |
u | 663 | fs/affs/inode.c | inode->i_sb->u.affs_sb.s_flags & SF_SETMODE) { |
u | 676 | fs/affs/inode.c | inode->u.affs_i.i_original = htonl(file_end->original); |
u | 677 | fs/affs/inode.c | inode->u.affs_i.i_hlink = 1; |
u | 682 | fs/affs/inode.c | inode->u.affs_i.i_original = htonl(file_end->original); |
u | 683 | fs/affs/inode.c | inode->u.affs_i.i_hlink = 1; |
u | 684 | fs/affs/inode.c | if (!(lbh = affs_bread(inode->i_dev,inode->u.affs_i.i_original, |
u | 712 | fs/affs/inode.c | if (inode->i_sb->u.affs_sb.s_flags & SF_OFS) |
u | 743 | fs/affs/inode.c | file_end->protect = ntohl(inode->u.affs_i.i_protect ^ FIBF_OWNER); |
u | 746 | fs/affs/inode.c | if (!(inode->i_ino == inode->i_sb->u.affs_sb.s_root_block)) { |
u | 749 | fs/affs/inode.c | if (inode->i_sb->u.affs_sb.s_flags & SF_MUFS) { |
u | 755 | fs/affs/inode.c | if (!(inode->i_sb->u.affs_sb.s_flags & SF_SETUID)) |
u | 757 | fs/affs/inode.c | if (!(inode->i_sb->u.affs_sb.s_flags & SF_SETGID)) |
u | 778 | fs/affs/inode.c | if (((attr->ia_valid & ATTR_UID) && (inode->i_sb->u.affs_sb.s_flags & SF_SETUID)) || |
u | 779 | fs/affs/inode.c | ((attr->ia_valid & ATTR_GID) && (inode->i_sb->u.affs_sb.s_flags & SF_SETGID)) || |
u | 781 | fs/affs/inode.c | (inode->i_sb->u.affs_sb.s_flags & (SF_SETMODE | SF_IMMUTABLE)))) |
u | 785 | fs/affs/inode.c | return (inode->i_sb->u.affs_sb.s_flags & SF_QUIET) ? 0 : error; |
u | 788 | fs/affs/inode.c | inode->u.affs_i.i_protect = mode_to_prot(attr->ia_mode); |
u | 804 | fs/affs/inode.c | if (S_ISREG(inode->i_mode) && !inode->u.affs_i.i_hlink) |
u | 843 | fs/affs/inode.c | inode->u.affs_i.i_original = 0; |
u | 844 | fs/affs/inode.c | inode->u.affs_i.i_parent = dir->i_ino; |
u | 845 | fs/affs/inode.c | inode->u.affs_i.i_zone = 0; |
u | 846 | fs/affs/inode.c | inode->u.affs_i.i_hlink = 0; |
u | 847 | fs/affs/inode.c | inode->u.affs_i.i_pa_cnt = 0; |
u | 848 | fs/affs/inode.c | inode->u.affs_i.i_pa_next = 0; |
u | 849 | fs/affs/inode.c | inode->u.affs_i.i_pa_last = 0; |
u | 850 | fs/affs/inode.c | inode->u.affs_i.i_ext[0] = 0; |
u | 851 | fs/affs/inode.c | inode->u.affs_i.i_max_ext = 0; |
u | 248 | fs/affs/namei.c | inode->u.affs_i.i_protect = mode_to_prot(inode->i_mode); |
u | 291 | fs/affs/namei.c | inode->u.affs_i.i_protect = mode_to_prot(inode->i_mode); |
u | 388 | fs/affs/namei.c | inode->u.affs_i.i_protect = mode_to_prot(inode->i_mode); |
u | 403 | fs/affs/namei.c | while (inode->i_sb->u.affs_sb.s_volume[i]) /* Cannot overflow */ |
u | 404 | fs/affs/namei.c | *p++ = inode->i_sb->u.affs_sb.s_volume[i++]; |
u | 468 | fs/affs/namei.c | if (oldinode->u.affs_i.i_hlink) { |
u | 469 | fs/affs/namei.c | i = oldinode->u.affs_i.i_original; |
u | 488 | fs/affs/namei.c | inode->u.affs_i.i_protect = mode_to_prot(inode->i_mode); |
u | 489 | fs/affs/namei.c | inode->u.affs_i.i_original = oldinode->i_ino; |
u | 490 | fs/affs/namei.c | inode->u.affs_i.i_hlink = 1; |
u | 677 | fs/affs/namei.c | if (!ofinode->u.affs_i.i_hlink) { |
u | 698 | fs/affs/namei.c | ofinode->u.affs_i.i_original = 0; |
u | 699 | fs/affs/namei.c | ofinode->u.affs_i.i_hlink = 0; |
u | 716 | fs/affs/namei.c | if (!ofinode->u.affs_i.i_hlink) |
u | 719 | fs/affs/namei.c | ofinode->u.affs_i.i_original = link_key; |
u | 726 | fs/affs/namei.c | inode->u.affs_i.i_hlink = 1; |
u | 95 | fs/affs/symlink.c | while (i < 1023 && (c = inode->i_sb->u.affs_sb.s_prefix[i])) |
u | 149 | fs/affs/symlink.c | while (i < buflen && (c = inode->i_sb->u.affs_sb.s_prefix[i])) { |
u | 89 | fs/binfmt_aout.c | # define START_DATA(u) (u.start_data) |
u | 91 | fs/binfmt_aout.c | # define START_DATA(u) (u.u_tsize << PAGE_SHIFT) |
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 | 40 | fs/ext/inode.c | if (sb->u.ext_sb.s_firstfreeinodeblock) |
u | 41 | fs/ext/inode.c | brelse (sb->u.ext_sb.s_firstfreeinodeblock); |
u | 42 | fs/ext/inode.c | if (sb->u.ext_sb.s_firstfreeblock) |
u | 43 | fs/ext/inode.c | brelse (sb->u.ext_sb.s_firstfreeblock); |
u | 81 | fs/ext/inode.c | s->u.ext_sb.s_ninodes = es->s_ninodes; |
u | 82 | fs/ext/inode.c | s->u.ext_sb.s_nzones = es->s_nzones; |
u | 83 | fs/ext/inode.c | s->u.ext_sb.s_firstdatazone = es->s_firstdatazone; |
u | 84 | fs/ext/inode.c | s->u.ext_sb.s_log_zone_size = es->s_log_zone_size; |
u | 85 | fs/ext/inode.c | s->u.ext_sb.s_max_size = es->s_max_size; |
u | 87 | fs/ext/inode.c | s->u.ext_sb.s_firstfreeblocknumber = es->s_firstfreeblock; |
u | 88 | fs/ext/inode.c | s->u.ext_sb.s_freeblockscount = es->s_freeblockscount; |
u | 89 | fs/ext/inode.c | s->u.ext_sb.s_firstfreeinodenumber = es->s_firstfreeinode; |
u | 90 | fs/ext/inode.c | s->u.ext_sb.s_freeinodescount = es->s_freeinodescount; |
u | 101 | fs/ext/inode.c | if (!s->u.ext_sb.s_firstfreeblocknumber) |
u | 102 | fs/ext/inode.c | s->u.ext_sb.s_firstfreeblock = NULL; |
u | 104 | fs/ext/inode.c | if (!(s->u.ext_sb.s_firstfreeblock = bread(dev, |
u | 105 | fs/ext/inode.c | s->u.ext_sb.s_firstfreeblocknumber, BLOCK_SIZE))) { |
u | 112 | fs/ext/inode.c | if (!s->u.ext_sb.s_firstfreeinodenumber) |
u | 113 | fs/ext/inode.c | s->u.ext_sb.s_firstfreeinodeblock = NULL; |
u | 115 | fs/ext/inode.c | block = 2 + (s->u.ext_sb.s_firstfreeinodenumber - 1) / EXT_INODES_PER_BLOCK; |
u | 116 | fs/ext/inode.c | if (!(s->u.ext_sb.s_firstfreeinodeblock = bread(dev, block, BLOCK_SIZE))) { |
u | 118 | fs/ext/inode.c | brelse(s->u.ext_sb.s_firstfreeblock); |
u | 148 | fs/ext/inode.c | es->s_firstfreeblock = sb->u.ext_sb.s_firstfreeblocknumber; |
u | 149 | fs/ext/inode.c | es->s_freeblockscount = sb->u.ext_sb.s_freeblockscount; |
u | 150 | fs/ext/inode.c | es->s_firstfreeinode = sb->u.ext_sb.s_firstfreeinodenumber; |
u | 151 | fs/ext/inode.c | es->s_freeinodescount = sb->u.ext_sb.s_freeinodescount; |
u | 163 | fs/ext/inode.c | tmp.f_blocks = sb->u.ext_sb.s_nzones << sb->u.ext_sb.s_log_zone_size; |
u | 166 | fs/ext/inode.c | tmp.f_files = sb->u.ext_sb.s_ninodes; |
u | 172 | fs/ext/inode.c | #define inode_bmap(inode,nr) ((inode)->u.ext_i.i_data[(nr)]) |
u | 235 | fs/ext/inode.c | p = inode->u.ext_i.i_data + nr; |
u | 380 | fs/ext/inode.c | inode->u.ext_i.i_data[block] = raw_inode->i_zone[block]; |
u | 417 | 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 | 187 | fs/ext2/balloc.c | es = sb->u.ext2_sb.s_es; |
u | 208 | fs/ext2/balloc.c | bh = sb->u.ext2_sb.s_block_bitmap[bitmap_nr]; |
u | 215 | fs/ext2/balloc.c | sb->u.ext2_sb.s_itb_per_group) || |
u | 217 | fs/ext2/balloc.c | sb->u.ext2_sb.s_itb_per_group))) |
u | 237 | fs/ext2/balloc.c | mark_buffer_dirty(sb->u.ext2_sb.s_sbh, 1); |
u | 278 | fs/ext2/balloc.c | es = sb->u.ext2_sb.s_es; |
u | 280 | fs/ext2/balloc.c | (!fsuser() && (sb->u.ext2_sb.s_resuid != current->fsuid) && |
u | 281 | fs/ext2/balloc.c | (sb->u.ext2_sb.s_resgid == 0 || |
u | 282 | fs/ext2/balloc.c | !in_group_p (sb->u.ext2_sb.s_resgid)))) { |
u | 304 | fs/ext2/balloc.c | bh = sb->u.ext2_sb.s_block_bitmap[bitmap_nr]; |
u | 363 | fs/ext2/balloc.c | for (k = 0; k < sb->u.ext2_sb.s_groups_count; k++) { |
u | 365 | fs/ext2/balloc.c | if (i >= sb->u.ext2_sb.s_groups_count) |
u | 371 | fs/ext2/balloc.c | if (k >= sb->u.ext2_sb.s_groups_count) { |
u | 376 | fs/ext2/balloc.c | bh = sb->u.ext2_sb.s_block_bitmap[bitmap_nr]; |
u | 418 | fs/ext2/balloc.c | in_range (tmp, gdp->bg_inode_table, sb->u.ext2_sb.s_itb_per_group))) |
u | 490 | fs/ext2/balloc.c | mark_buffer_dirty(sb->u.ext2_sb.s_sbh, 1); |
u | 507 | fs/ext2/balloc.c | es = sb->u.ext2_sb.s_es; |
u | 511 | fs/ext2/balloc.c | for (i = 0; i < sb->u.ext2_sb.s_groups_count; i++) { |
u | 515 | fs/ext2/balloc.c | x = ext2_count_free (sb->u.ext2_sb.s_block_bitmap[bitmap_nr], |
u | 526 | fs/ext2/balloc.c | return sb->u.ext2_sb.s_es->s_free_blocks_count; |
u | 534 | fs/ext2/balloc.c | return test_bit ((block - sb->u.ext2_sb.s_es->s_first_data_block) % |
u | 549 | fs/ext2/balloc.c | es = sb->u.ext2_sb.s_es; |
u | 553 | fs/ext2/balloc.c | desc_blocks = (sb->u.ext2_sb.s_groups_count + EXT2_DESC_PER_BLOCK(sb) - 1) / |
u | 555 | fs/ext2/balloc.c | for (i = 0; i < sb->u.ext2_sb.s_groups_count; i++) { |
u | 559 | fs/ext2/balloc.c | bh = sb->u.ext2_sb.s_block_bitmap[bitmap_nr]; |
u | 581 | fs/ext2/balloc.c | for (j = 0; j < sb->u.ext2_sb.s_itb_per_group; j++) |
u | 89 | fs/ext2/dir.c | else if (dir && de->inode > dir->i_sb->u.ext2_sb.s_es->s_inodes_count) |
u | 126 | fs/ext2/file.c | inode->u.ext2_i.i_osync++; |
u | 196 | 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 | 191 | fs/ext2/ialloc.c | inode->i_ino > sb->u.ext2_sb.s_es->s_inodes_count) { |
u | 197 | fs/ext2/ialloc.c | es = sb->u.ext2_sb.s_es; |
u | 201 | fs/ext2/ialloc.c | bh = sb->u.ext2_sb.s_inode_bitmap[bitmap_nr]; |
u | 212 | fs/ext2/ialloc.c | mark_buffer_dirty(sb->u.ext2_sb.s_sbh, 1); |
u | 236 | fs/ext2/ialloc.c | inode->u.ext2_i.i_version++; |
u | 270 | fs/ext2/ialloc.c | es = sb->u.ext2_sb.s_es; |
u | 277 | fs/ext2/ialloc.c | sb->u.ext2_sb.s_groups_count; |
u | 292 | fs/ext2/ialloc.c | for (j = 0; j < sb->u.ext2_sb.s_groups_count; j++) { |
u | 311 | fs/ext2/ialloc.c | i = dir->u.ext2_i.i_block_group; |
u | 321 | fs/ext2/ialloc.c | for (j = 1; j < sb->u.ext2_sb.s_groups_count; j <<= 1) { |
u | 323 | fs/ext2/ialloc.c | if (i >= sb->u.ext2_sb.s_groups_count) |
u | 324 | fs/ext2/ialloc.c | i -= sb->u.ext2_sb.s_groups_count; |
u | 336 | fs/ext2/ialloc.c | i = dir->u.ext2_i.i_block_group + 1; |
u | 337 | fs/ext2/ialloc.c | for (j = 2; j < sb->u.ext2_sb.s_groups_count; j++) { |
u | 338 | fs/ext2/ialloc.c | if (++i >= sb->u.ext2_sb.s_groups_count) |
u | 355 | fs/ext2/ialloc.c | bh = sb->u.ext2_sb.s_inode_bitmap[bitmap_nr]; |
u | 394 | fs/ext2/ialloc.c | mark_buffer_dirty(sb->u.ext2_sb.s_sbh, 1); |
u | 415 | fs/ext2/ialloc.c | inode->u.ext2_i.i_new_inode = 1; |
u | 416 | fs/ext2/ialloc.c | inode->u.ext2_i.i_flags = dir->u.ext2_i.i_flags; |
u | 418 | fs/ext2/ialloc.c | inode->u.ext2_i.i_flags &= ~(EXT2_IMMUTABLE_FL | EXT2_APPEND_FL); |
u | 419 | fs/ext2/ialloc.c | inode->u.ext2_i.i_faddr = 0; |
u | 420 | fs/ext2/ialloc.c | inode->u.ext2_i.i_frag_no = 0; |
u | 421 | fs/ext2/ialloc.c | inode->u.ext2_i.i_frag_size = 0; |
u | 422 | fs/ext2/ialloc.c | inode->u.ext2_i.i_file_acl = 0; |
u | 423 | fs/ext2/ialloc.c | inode->u.ext2_i.i_dir_acl = 0; |
u | 424 | fs/ext2/ialloc.c | inode->u.ext2_i.i_dtime = 0; |
u | 425 | fs/ext2/ialloc.c | inode->u.ext2_i.i_block_group = i; |
u | 427 | fs/ext2/ialloc.c | if (inode->u.ext2_i.i_flags & EXT2_SYNC_FL) |
u | 460 | fs/ext2/ialloc.c | es = sb->u.ext2_sb.s_es; |
u | 464 | fs/ext2/ialloc.c | for (i = 0; i < sb->u.ext2_sb.s_groups_count; i++) { |
u | 468 | fs/ext2/ialloc.c | x = ext2_count_free (sb->u.ext2_sb.s_inode_bitmap[bitmap_nr], |
u | 479 | fs/ext2/ialloc.c | return sb->u.ext2_sb.s_es->s_free_inodes_count; |
u | 492 | fs/ext2/ialloc.c | es = sb->u.ext2_sb.s_es; |
u | 496 | fs/ext2/ialloc.c | for (i = 0; i < sb->u.ext2_sb.s_groups_count; i++) { |
u | 500 | fs/ext2/ialloc.c | x = ext2_count_free (sb->u.ext2_sb.s_inode_bitmap[bitmap_nr], |
u | 38 | fs/ext2/inode.c | inode->u.ext2_i.i_dtime = CURRENT_TIME; |
u | 47 | fs/ext2/inode.c | #define inode_bmap(inode, nr) ((inode)->u.ext2_i.i_data[(nr)]) |
u | 72 | fs/ext2/inode.c | if (inode->u.ext2_i.i_prealloc_count) { |
u | 73 | fs/ext2/inode.c | total = inode->u.ext2_i.i_prealloc_count; |
u | 74 | fs/ext2/inode.c | inode->u.ext2_i.i_prealloc_count = 0; |
u | 75 | fs/ext2/inode.c | ext2_free_blocks (inode, inode->u.ext2_i.i_prealloc_block, total); |
u | 91 | fs/ext2/inode.c | if (inode->u.ext2_i.i_prealloc_count && |
u | 92 | fs/ext2/inode.c | (goal == inode->u.ext2_i.i_prealloc_block || |
u | 93 | fs/ext2/inode.c | goal + 1 == inode->u.ext2_i.i_prealloc_block)) |
u | 95 | fs/ext2/inode.c | result = inode->u.ext2_i.i_prealloc_block++; |
u | 96 | fs/ext2/inode.c | inode->u.ext2_i.i_prealloc_count--; |
u | 119 | fs/ext2/inode.c | &inode->u.ext2_i.i_prealloc_count, |
u | 120 | fs/ext2/inode.c | &inode->u.ext2_i.i_prealloc_block, err); |
u | 196 | fs/ext2/inode.c | p = inode->u.ext2_i.i_data + nr; |
u | 212 | fs/ext2/inode.c | if (inode->u.ext2_i.i_next_alloc_block == new_block) |
u | 213 | fs/ext2/inode.c | goal = inode->u.ext2_i.i_next_alloc_goal; |
u | 219 | fs/ext2/inode.c | if (inode->u.ext2_i.i_data[tmp]) { |
u | 220 | fs/ext2/inode.c | goal = inode->u.ext2_i.i_data[tmp]; |
u | 225 | fs/ext2/inode.c | goal = (inode->u.ext2_i.i_block_group * |
u | 227 | fs/ext2/inode.c | inode->i_sb->u.ext2_sb.s_es->s_first_data_block; |
u | 242 | fs/ext2/inode.c | inode->u.ext2_i.i_next_alloc_block = new_block; |
u | 243 | fs/ext2/inode.c | inode->u.ext2_i.i_next_alloc_goal = tmp; |
u | 246 | fs/ext2/inode.c | if (IS_SYNC(inode) || inode->u.ext2_i.i_osync) |
u | 292 | fs/ext2/inode.c | if (inode->u.ext2_i.i_next_alloc_block == new_block) |
u | 293 | fs/ext2/inode.c | goal = inode->u.ext2_i.i_next_alloc_goal; |
u | 317 | fs/ext2/inode.c | if (IS_SYNC(inode) || inode->u.ext2_i.i_osync) { |
u | 324 | fs/ext2/inode.c | inode->u.ext2_i.i_next_alloc_block = new_block; |
u | 325 | fs/ext2/inode.c | inode->u.ext2_i.i_next_alloc_goal = tmp; |
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 | 395 | fs/ext2/inode.c | if (block == inode->u.ext2_i.i_next_alloc_block + 1) { |
u | 396 | fs/ext2/inode.c | inode->u.ext2_i.i_next_alloc_block++; |
u | 397 | fs/ext2/inode.c | inode->u.ext2_i.i_next_alloc_goal++; |
u | 509 | fs/ext2/inode.c | inode->i_ino > inode->i_sb->u.ext2_sb.s_es->s_inodes_count) { |
u | 515 | fs/ext2/inode.c | if (block_group >= inode->i_sb->u.ext2_sb.s_groups_count) |
u | 520 | fs/ext2/inode.c | bh = inode->i_sb->u.ext2_sb.s_group_desc[group_desc]; |
u | 547 | fs/ext2/inode.c | inode->u.ext2_i.i_dtime = raw_inode->i_dtime; |
u | 551 | fs/ext2/inode.c | inode->u.ext2_i.i_new_inode = 0; |
u | 552 | fs/ext2/inode.c | inode->u.ext2_i.i_flags = raw_inode->i_flags; |
u | 553 | fs/ext2/inode.c | inode->u.ext2_i.i_faddr = raw_inode->i_faddr; |
u | 554 | fs/ext2/inode.c | inode->u.ext2_i.i_frag_no = raw_inode->i_frag; |
u | 555 | fs/ext2/inode.c | inode->u.ext2_i.i_frag_size = raw_inode->i_fsize; |
u | 556 | fs/ext2/inode.c | inode->u.ext2_i.i_osync = 0; |
u | 557 | fs/ext2/inode.c | inode->u.ext2_i.i_file_acl = raw_inode->i_file_acl; |
u | 558 | fs/ext2/inode.c | inode->u.ext2_i.i_dir_acl = raw_inode->i_dir_acl; |
u | 559 | fs/ext2/inode.c | inode->u.ext2_i.i_version = raw_inode->i_version; |
u | 560 | fs/ext2/inode.c | inode->u.ext2_i.i_block_group = block_group; |
u | 561 | fs/ext2/inode.c | inode->u.ext2_i.i_next_alloc_block = 0; |
u | 562 | fs/ext2/inode.c | inode->u.ext2_i.i_next_alloc_goal = 0; |
u | 563 | fs/ext2/inode.c | if (inode->u.ext2_i.i_prealloc_count) |
u | 569 | fs/ext2/inode.c | inode->u.ext2_i.i_data[block] = raw_inode->i_block[block]; |
u | 587 | fs/ext2/inode.c | if (inode->u.ext2_i.i_flags & EXT2_SYNC_FL) |
u | 589 | fs/ext2/inode.c | if (inode->u.ext2_i.i_flags & EXT2_APPEND_FL) |
u | 591 | fs/ext2/inode.c | if (inode->u.ext2_i.i_flags & EXT2_IMMUTABLE_FL) |
u | 609 | fs/ext2/inode.c | inode->i_ino > inode->i_sb->u.ext2_sb.s_es->s_inodes_count) { |
u | 615 | fs/ext2/inode.c | if (block_group >= inode->i_sb->u.ext2_sb.s_groups_count) |
u | 620 | fs/ext2/inode.c | bh = inode->i_sb->u.ext2_sb.s_group_desc[group_desc]; |
u | 648 | fs/ext2/inode.c | raw_inode->i_dtime = inode->u.ext2_i.i_dtime; |
u | 649 | fs/ext2/inode.c | raw_inode->i_flags = inode->u.ext2_i.i_flags; |
u | 650 | fs/ext2/inode.c | raw_inode->i_faddr = inode->u.ext2_i.i_faddr; |
u | 651 | fs/ext2/inode.c | raw_inode->i_frag = inode->u.ext2_i.i_frag_no; |
u | 652 | fs/ext2/inode.c | raw_inode->i_fsize = inode->u.ext2_i.i_frag_size; |
u | 653 | fs/ext2/inode.c | raw_inode->i_file_acl = inode->u.ext2_i.i_file_acl; |
u | 654 | fs/ext2/inode.c | raw_inode->i_dir_acl = inode->u.ext2_i.i_dir_acl; |
u | 655 | fs/ext2/inode.c | raw_inode->i_version = inode->u.ext2_i.i_version; |
u | 659 | fs/ext2/inode.c | raw_inode->i_block[block] = inode->u.ext2_i.i_data[block]; |
u | 32 | fs/ext2/ioctl.c | put_user(inode->u.ext2_i.i_flags, (int *) arg); |
u | 44 | fs/ext2/ioctl.c | (inode->u.ext2_i.i_flags & EXT2_IMMUTABLE_FL)) { |
u | 53 | fs/ext2/ioctl.c | inode->u.ext2_i.i_flags = flags; |
u | 69 | fs/ext2/ioctl.c | put_user(inode->u.ext2_i.i_version, (int *) arg); |
u | 79 | fs/ext2/ioctl.c | inode->u.ext2_i.i_version = get_user((int *) arg); |
u | 773 | fs/ext2/namei.c | if (l >= sizeof (inode->u.ext2_i.i_data)) { |
u | 787 | fs/ext2/namei.c | link = (char *) inode->u.ext2_i.i_data; |
u | 1106 | fs/ext2/namei.c | while (old_dir->i_sb->u.ext2_sb.s_rename_lock) |
u | 1107 | fs/ext2/namei.c | sleep_on (&old_dir->i_sb->u.ext2_sb.s_rename_wait); |
u | 1108 | fs/ext2/namei.c | old_dir->i_sb->u.ext2_sb.s_rename_lock = 1; |
u | 1111 | fs/ext2/namei.c | old_dir->i_sb->u.ext2_sb.s_rename_lock = 0; |
u | 1112 | fs/ext2/namei.c | wake_up (&old_dir->i_sb->u.ext2_sb.s_rename_wait); |
u | 41 | fs/ext2/super.c | sb->u.ext2_sb.s_mount_state |= EXT2_ERROR_FS; |
u | 42 | fs/ext2/super.c | sb->u.ext2_sb.s_es->s_state |= EXT2_ERROR_FS; |
u | 43 | fs/ext2/super.c | mark_buffer_dirty(sb->u.ext2_sb.s_sbh, 1); |
u | 50 | fs/ext2/super.c | (sb->u.ext2_sb.s_es->s_errors == EXT2_ERRORS_PANIC && |
u | 57 | fs/ext2/super.c | (sb->u.ext2_sb.s_es->s_errors == EXT2_ERRORS_RO && |
u | 70 | fs/ext2/super.c | sb->u.ext2_sb.s_mount_state |= EXT2_ERROR_FS; |
u | 71 | fs/ext2/super.c | sb->u.ext2_sb.s_es->s_state |= EXT2_ERROR_FS; |
u | 72 | fs/ext2/super.c | mark_buffer_dirty(sb->u.ext2_sb.s_sbh, 1); |
u | 105 | fs/ext2/super.c | sb->u.ext2_sb.s_es->s_state = sb->u.ext2_sb.s_mount_state; |
u | 106 | fs/ext2/super.c | mark_buffer_dirty(sb->u.ext2_sb.s_sbh, 1); |
u | 109 | fs/ext2/super.c | db_count = sb->u.ext2_sb.s_db_per_group; |
u | 111 | fs/ext2/super.c | if (sb->u.ext2_sb.s_group_desc[i]) |
u | 112 | fs/ext2/super.c | brelse (sb->u.ext2_sb.s_group_desc[i]); |
u | 113 | fs/ext2/super.c | kfree_s (sb->u.ext2_sb.s_group_desc, |
u | 116 | fs/ext2/super.c | if (sb->u.ext2_sb.s_inode_bitmap[i]) |
u | 117 | fs/ext2/super.c | brelse (sb->u.ext2_sb.s_inode_bitmap[i]); |
u | 119 | fs/ext2/super.c | if (sb->u.ext2_sb.s_block_bitmap[i]) |
u | 120 | fs/ext2/super.c | brelse (sb->u.ext2_sb.s_block_bitmap[i]); |
u | 121 | fs/ext2/super.c | brelse (sb->u.ext2_sb.s_sbh); |
u | 279 | fs/ext2/super.c | if (!(sb->u.ext2_sb.s_mount_state & EXT2_VALID_FS)) |
u | 282 | fs/ext2/super.c | else if ((sb->u.ext2_sb.s_mount_state & EXT2_ERROR_FS)) |
u | 298 | fs/ext2/super.c | mark_buffer_dirty(sb->u.ext2_sb.s_sbh, 1); |
u | 304 | fs/ext2/super.c | sb->u.ext2_sb.s_frag_size, |
u | 305 | fs/ext2/super.c | sb->u.ext2_sb.s_groups_count, |
u | 308 | fs/ext2/super.c | sb->u.ext2_sb.s_mount_opt); |
u | 320 | fs/ext2/super.c | unsigned long block = sb->u.ext2_sb.s_es->s_first_data_block; |
u | 325 | fs/ext2/super.c | for (i = 0; i < sb->u.ext2_sb.s_groups_count; i++) |
u | 328 | fs/ext2/super.c | gdp = (struct ext2_group_desc *) sb->u.ext2_sb.s_group_desc[desc_block++]->b_data; |
u | 348 | fs/ext2/super.c | gdp->bg_inode_table + sb->u.ext2_sb.s_itb_per_group >= |
u | 378 | fs/ext2/super.c | set_opt (sb->u.ext2_sb.s_mount_opt, CHECK_NORMAL); |
u | 380 | fs/ext2/super.c | &sb->u.ext2_sb.s_mount_opt)) { |
u | 400 | fs/ext2/super.c | sb->u.ext2_sb.s_es = es; |
u | 420 | fs/ext2/super.c | sb->s_blocksize_bits = sb->u.ext2_sb.s_es->s_log_block_size + 10; |
u | 438 | fs/ext2/super.c | sb->u.ext2_sb.s_es = es; |
u | 445 | fs/ext2/super.c | sb->u.ext2_sb.s_inode_size = EXT2_GOOD_OLD_INODE_SIZE; |
u | 446 | fs/ext2/super.c | sb->u.ext2_sb.s_first_ino = EXT2_GOOD_OLD_FIRST_INO; |
u | 448 | fs/ext2/super.c | sb->u.ext2_sb.s_inode_size = es->s_inode_size; |
u | 449 | fs/ext2/super.c | sb->u.ext2_sb.s_first_ino = es->s_first_ino; |
u | 450 | fs/ext2/super.c | if (sb->u.ext2_sb.s_inode_size != EXT2_GOOD_OLD_INODE_SIZE) { |
u | 452 | fs/ext2/super.c | sb->u.ext2_sb.s_inode_size); |
u | 456 | fs/ext2/super.c | sb->u.ext2_sb.s_frag_size = EXT2_MIN_FRAG_SIZE << |
u | 458 | fs/ext2/super.c | if (sb->u.ext2_sb.s_frag_size) |
u | 459 | fs/ext2/super.c | sb->u.ext2_sb.s_frags_per_block = sb->s_blocksize / |
u | 460 | fs/ext2/super.c | sb->u.ext2_sb.s_frag_size; |
u | 463 | fs/ext2/super.c | sb->u.ext2_sb.s_blocks_per_group = es->s_blocks_per_group; |
u | 464 | fs/ext2/super.c | sb->u.ext2_sb.s_frags_per_group = es->s_frags_per_group; |
u | 465 | fs/ext2/super.c | sb->u.ext2_sb.s_inodes_per_group = es->s_inodes_per_group; |
u | 466 | fs/ext2/super.c | sb->u.ext2_sb.s_inodes_per_block = sb->s_blocksize / |
u | 468 | fs/ext2/super.c | sb->u.ext2_sb.s_itb_per_group = sb->u.ext2_sb.s_inodes_per_group / |
u | 469 | fs/ext2/super.c | sb->u.ext2_sb.s_inodes_per_block; |
u | 470 | fs/ext2/super.c | sb->u.ext2_sb.s_desc_per_block = sb->s_blocksize / |
u | 472 | fs/ext2/super.c | sb->u.ext2_sb.s_sbh = bh; |
u | 474 | fs/ext2/super.c | sb->u.ext2_sb.s_resuid = resuid; |
u | 476 | fs/ext2/super.c | sb->u.ext2_sb.s_resuid = es->s_def_resuid; |
u | 478 | fs/ext2/super.c | sb->u.ext2_sb.s_resgid = resgid; |
u | 480 | fs/ext2/super.c | sb->u.ext2_sb.s_resgid = es->s_def_resgid; |
u | 481 | fs/ext2/super.c | sb->u.ext2_sb.s_mount_state = es->s_state; |
u | 482 | fs/ext2/super.c | sb->u.ext2_sb.s_rename_lock = 0; |
u | 483 | fs/ext2/super.c | sb->u.ext2_sb.s_rename_wait = NULL; |
u | 484 | fs/ext2/super.c | sb->u.ext2_sb.s_addr_per_block_bits = |
u | 486 | fs/ext2/super.c | sb->u.ext2_sb.s_desc_per_block_bits = |
u | 502 | fs/ext2/super.c | if (sb->s_blocksize != sb->u.ext2_sb.s_frag_size) { |
u | 504 | fs/ext2/super.c | sb->u.ext2_sb.s_frag_size, sb->s_blocksize); |
u | 508 | fs/ext2/super.c | if (sb->u.ext2_sb.s_blocks_per_group > sb->s_blocksize * 8) { |
u | 510 | fs/ext2/super.c | sb->u.ext2_sb.s_blocks_per_group); |
u | 513 | fs/ext2/super.c | if (sb->u.ext2_sb.s_frags_per_group > sb->s_blocksize * 8) { |
u | 515 | fs/ext2/super.c | sb->u.ext2_sb.s_frags_per_group); |
u | 518 | fs/ext2/super.c | if (sb->u.ext2_sb.s_inodes_per_group > sb->s_blocksize * 8) { |
u | 520 | fs/ext2/super.c | sb->u.ext2_sb.s_inodes_per_group); |
u | 524 | fs/ext2/super.c | sb->u.ext2_sb.s_groups_count = (es->s_blocks_count - |
u | 528 | fs/ext2/super.c | db_count = (sb->u.ext2_sb.s_groups_count + EXT2_DESC_PER_BLOCK(sb) - 1) / |
u | 530 | fs/ext2/super.c | sb->u.ext2_sb.s_group_desc = kmalloc (db_count * sizeof (struct buffer_head *), GFP_KERNEL); |
u | 531 | fs/ext2/super.c | if (sb->u.ext2_sb.s_group_desc == NULL) { |
u | 536 | fs/ext2/super.c | sb->u.ext2_sb.s_group_desc[i] = bread (dev, logic_sb_block + i + 1, |
u | 538 | fs/ext2/super.c | if (!sb->u.ext2_sb.s_group_desc[i]) { |
u | 540 | fs/ext2/super.c | brelse (sb->u.ext2_sb.s_group_desc[j]); |
u | 541 | fs/ext2/super.c | kfree_s (sb->u.ext2_sb.s_group_desc, |
u | 549 | fs/ext2/super.c | brelse (sb->u.ext2_sb.s_group_desc[j]); |
u | 550 | fs/ext2/super.c | kfree_s (sb->u.ext2_sb.s_group_desc, |
u | 556 | fs/ext2/super.c | sb->u.ext2_sb.s_inode_bitmap_number[i] = 0; |
u | 557 | fs/ext2/super.c | sb->u.ext2_sb.s_inode_bitmap[i] = NULL; |
u | 558 | fs/ext2/super.c | sb->u.ext2_sb.s_block_bitmap_number[i] = 0; |
u | 559 | fs/ext2/super.c | sb->u.ext2_sb.s_block_bitmap[i] = NULL; |
u | 561 | fs/ext2/super.c | sb->u.ext2_sb.s_loaded_inode_bitmaps = 0; |
u | 562 | fs/ext2/super.c | sb->u.ext2_sb.s_loaded_block_bitmaps = 0; |
u | 563 | fs/ext2/super.c | sb->u.ext2_sb.s_db_per_group = db_count; |
u | 573 | fs/ext2/super.c | if (sb->u.ext2_sb.s_group_desc[i]) |
u | 574 | fs/ext2/super.c | brelse (sb->u.ext2_sb.s_group_desc[i]); |
u | 575 | fs/ext2/super.c | kfree_s (sb->u.ext2_sb.s_group_desc, |
u | 590 | fs/ext2/super.c | mark_buffer_dirty(sb->u.ext2_sb.s_sbh, 1); |
u | 610 | fs/ext2/super.c | es = sb->u.ext2_sb.s_es; |
u | 626 | fs/ext2/super.c | unsigned short resuid = sb->u.ext2_sb.s_resuid; |
u | 627 | fs/ext2/super.c | unsigned short resgid = sb->u.ext2_sb.s_resgid; |
u | 639 | fs/ext2/super.c | sb->u.ext2_sb.s_mount_opt = new_mount_opt; |
u | 640 | fs/ext2/super.c | sb->u.ext2_sb.s_resuid = resuid; |
u | 641 | fs/ext2/super.c | sb->u.ext2_sb.s_resgid = resgid; |
u | 642 | fs/ext2/super.c | es = sb->u.ext2_sb.s_es; |
u | 647 | fs/ext2/super.c | !(sb->u.ext2_sb.s_mount_state & EXT2_VALID_FS)) |
u | 653 | fs/ext2/super.c | es->s_state = sb->u.ext2_sb.s_mount_state; |
u | 655 | fs/ext2/super.c | mark_buffer_dirty(sb->u.ext2_sb.s_sbh, 1); |
u | 665 | fs/ext2/super.c | sb->u.ext2_sb.s_mount_state = es->s_state; |
u | 711 | fs/ext2/super.c | sb->u.ext2_sb.s_db_per_group /* descriptors */ + |
u | 714 | fs/ext2/super.c | sb->u.ext2_sb.s_itb_per_group /* inode table */; |
u | 715 | fs/ext2/super.c | overhead = sb->u.ext2_sb.s_es->s_first_data_block + |
u | 716 | fs/ext2/super.c | sb->u.ext2_sb.s_groups_count * overhead_per_group; |
u | 721 | fs/ext2/super.c | tmp.f_blocks = sb->u.ext2_sb.s_es->s_blocks_count - overhead; |
u | 723 | fs/ext2/super.c | tmp.f_bavail = tmp.f_bfree - sb->u.ext2_sb.s_es->s_r_blocks_count; |
u | 724 | fs/ext2/super.c | if (tmp.f_bfree < sb->u.ext2_sb.s_es->s_r_blocks_count) |
u | 726 | fs/ext2/super.c | tmp.f_files = sb->u.ext2_sb.s_es->s_inodes_count; |
u | 88 | fs/ext2/symlink.c | link = (char *) inode->u.ext2_i.i_data; |
u | 124 | fs/ext2/symlink.c | link = (char *) inode->u.ext2_i.i_data; |
u | 74 | fs/ext2/truncate.c | p = inode->u.ext2_i.i_data + i; |
u | 271 | fs/ext2/truncate.c | p = inode->u.ext2_i.i_data + EXT2_TIND_BLOCK; |
u | 333 | fs/ext2/truncate.c | (u32 *) &inode->u.ext2_i.i_data[EXT2_IND_BLOCK]); |
u | 336 | 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 | 711 | fs/hpfs/hpfs_fs.c | inode->i_hpfs_dno = fnode->u.external[0].disk_secno; |
u | 1061 | fs/hpfs/hpfs_fs.c | struct bplus_leaf_node *n = b->u.external; |
u | 1079 | fs/hpfs/hpfs_fs.c | struct bplus_internal_node *n = b->u.internal; |
u | 1600 | fs/hpfs/hpfs_fs.c | dno = fnode->u.external[0].disk_secno; |
u | 67 | fs/isofs/dir.c | if ((inode->i_sb->u.isofs_sb.s_firstdatazone) != inode->i_ino) |
u | 68 | fs/isofs/dir.c | inode_number = inode->u.isofs_i.i_backlink; |
u | 214 | fs/isofs/dir.c | if (inode->i_sb->u.isofs_sb.s_unhide == 'n') { |
u | 216 | fs/isofs/dir.c | high_sierra = inode->i_sb->u.isofs_sb.s_high_sierra; |
u | 240 | fs/isofs/dir.c | if (inode->i_sb->u.isofs_sb.s_mapping == 'n') { |
u | 250 | fs/isofs/inode.c | s->u.isofs_sb.s_high_sierra = high_sierra = 0; /* default is iso9660 */ |
u | 278 | fs/isofs/inode.c | s->u.isofs_sb.s_high_sierra = 1; |
u | 314 | fs/isofs/inode.c | s->u.isofs_sb.s_nzones = isonum_733 (h_pri->volume_space_size); |
u | 315 | fs/isofs/inode.c | s->u.isofs_sb.s_log_zone_size = isonum_723 (h_pri->logical_block_size); |
u | 316 | fs/isofs/inode.c | s->u.isofs_sb.s_max_size = isonum_733(h_pri->volume_space_size); |
u | 325 | fs/isofs/inode.c | s->u.isofs_sb.s_nzones = isonum_733 (pri->volume_space_size); |
u | 326 | fs/isofs/inode.c | s->u.isofs_sb.s_log_zone_size = isonum_723 (pri->logical_block_size); |
u | 327 | fs/isofs/inode.c | s->u.isofs_sb.s_max_size = isonum_733(pri->volume_space_size); |
u | 330 | fs/isofs/inode.c | s->u.isofs_sb.s_ninodes = 0; /* No way to figure this out easily */ |
u | 334 | fs/isofs/inode.c | orig_zonesize = s -> u.isofs_sb.s_log_zone_size; |
u | 335 | fs/isofs/inode.c | switch (s -> u.isofs_sb.s_log_zone_size) |
u | 336 | fs/isofs/inode.c | { case 512: s -> u.isofs_sb.s_log_zone_size = 9; break; |
u | 337 | fs/isofs/inode.c | case 1024: s -> u.isofs_sb.s_log_zone_size = 10; break; |
u | 338 | fs/isofs/inode.c | case 2048: s -> u.isofs_sb.s_log_zone_size = 11; break; |
u | 341 | fs/isofs/inode.c | printk("Bad logical zone size %ld\n", s -> u.isofs_sb.s_log_zone_size); |
u | 347 | fs/isofs/inode.c | s->u.isofs_sb.s_firstdatazone = ((isonum_733 (rootp->extent) + |
u | 349 | fs/isofs/inode.c | << s -> u.isofs_sb.s_log_zone_size); |
u | 362 | fs/isofs/inode.c | s->u.isofs_sb.s_max_size, |
u | 363 | fs/isofs/inode.c | 1UL << s->u.isofs_sb.s_log_zone_size); |
u | 365 | fs/isofs/inode.c | s->u.isofs_sb.s_firstdatazone >> s -> u.isofs_sb.s_log_zone_size, |
u | 367 | fs/isofs/inode.c | << s -> u.isofs_sb.s_log_zone_size); |
u | 394 | fs/isofs/inode.c | s->u.isofs_sb.s_mapping = opt.map; |
u | 395 | fs/isofs/inode.c | s->u.isofs_sb.s_rock = (opt.rock == 'y' ? 1 : 0); |
u | 396 | fs/isofs/inode.c | s->u.isofs_sb.s_name_check = opt.check; |
u | 397 | fs/isofs/inode.c | s->u.isofs_sb.s_conversion = opt.conversion; |
u | 398 | fs/isofs/inode.c | s->u.isofs_sb.s_cruft = opt.cruft; |
u | 399 | fs/isofs/inode.c | s->u.isofs_sb.s_unhide = opt.unhide; |
u | 400 | fs/isofs/inode.c | s->u.isofs_sb.s_uid = opt.uid; |
u | 401 | fs/isofs/inode.c | s->u.isofs_sb.s_gid = opt.gid; |
u | 406 | fs/isofs/inode.c | s->u.isofs_sb.s_mode = opt.mode & 0777; |
u | 411 | fs/isofs/inode.c | << s -> u.isofs_sb.s_log_zone_size); |
u | 438 | fs/isofs/inode.c | tmp.f_blocks = (sb->u.isofs_sb.s_nzones |
u | 439 | fs/isofs/inode.c | << (sb->u.isofs_sb.s_log_zone_size - sb->s_blocksize_bits)); |
u | 442 | fs/isofs/inode.c | tmp.f_files = sb->u.isofs_sb.s_ninodes; |
u | 455 | fs/isofs/inode.c | return (inode->u.isofs_i.i_first_extent >> ISOFS_BUFFER_BITS(inode)) + block; |
u | 479 | fs/isofs/inode.c | high_sierra = inode->i_sb->u.isofs_sb.s_high_sierra; |
u | 513 | fs/isofs/inode.c | inode->i_mode = inode->i_sb->u.isofs_sb.s_mode; /* Everybody gets to read the file. */ |
u | 523 | fs/isofs/inode.c | inode->i_uid = inode->i_sb->u.isofs_sb.s_uid; |
u | 524 | fs/isofs/inode.c | inode->i_gid = inode->i_sb->u.isofs_sb.s_gid; |
u | 530 | fs/isofs/inode.c | inode->i_sb->u.isofs_sb.s_cruft == 'n') { |
u | 532 | fs/isofs/inode.c | inode->i_sb->u.isofs_sb.s_cruft = 'y'; |
u | 539 | fs/isofs/inode.c | if(inode->i_sb->u.isofs_sb.s_cruft == 'y' && |
u | 573 | fs/isofs/inode.c | inode->u.isofs_i.i_first_extent = (isonum_733 (raw_inode->extent) + |
u | 575 | fs/isofs/inode.c | << inode -> i_sb -> u.isofs_sb.s_log_zone_size; |
u | 577 | fs/isofs/inode.c | inode->u.isofs_i.i_backlink = 0xffffffff; /* Will be used for previous directory */ |
u | 578 | fs/isofs/inode.c | switch (inode->i_sb->u.isofs_sb.s_conversion){ |
u | 580 | fs/isofs/inode.c | inode->u.isofs_i.i_file_format = ISOFS_FILE_UNKNOWN; /* File type */ |
u | 583 | fs/isofs/inode.c | inode->u.isofs_i.i_file_format = ISOFS_FILE_BINARY; /* File type */ |
u | 586 | fs/isofs/inode.c | inode->u.isofs_i.i_file_format = ISOFS_FILE_TEXT; /* File type */ |
u | 589 | fs/isofs/inode.c | inode->u.isofs_i.i_file_format = ISOFS_FILE_TEXT_M; /* File type */ |
u | 600 | fs/isofs/inode.c | printk("Inode: %x extent: %x\n",inode->i_ino, inode->u.isofs_i.i_first_extent); |
u | 615 | fs/isofs/inode.c | if (inode->i_sb->u.isofs_sb.s_cruft == 'n' && |
u | 618 | fs/isofs/inode.c | inode->i_sb->u.isofs_sb.s_cruft = 'y'; |
u | 622 | fs/isofs/inode.c | if (inode->i_sb->u.isofs_sb.s_cruft != 'y' && |
u | 649 | fs/isofs/inode.c | inode->u.isofs_i.i_first_extent = 0; |
u | 650 | fs/isofs/inode.c | inode->u.isofs_i.i_backlink = 0xffffffff; |
u | 79 | fs/isofs/namei.c | if (!(block = dir->u.isofs_i.i_first_extent)) return NULL; |
u | 146 | fs/isofs/namei.c | if((dir->i_sb->u.isofs_sb.s_firstdatazone) != dir->i_ino) |
u | 147 | fs/isofs/namei.c | inode_number = dir->u.isofs_i.i_backlink; |
u | 160 | fs/isofs/namei.c | if(dir->i_sb->u.isofs_sb.s_mapping == 'n') { |
u | 181 | fs/isofs/namei.c | if( !(de->flags[-dir->i_sb->u.isofs_sb.s_high_sierra] & 5) |
u | 182 | fs/isofs/namei.c | || dir->i_sb->u.isofs_sb.s_unhide == 'y' ) |
u | 247 | fs/isofs/namei.c | if (dir->i_sb->u.isofs_sb.s_name_check == 'r' |
u | 283 | fs/isofs/namei.c | (*result)->u.isofs_i.i_backlink = ino_back; |
u | 31 | fs/isofs/rock.c | if(rr->u.SP.magic[0] != 0xbe) FAIL; \ |
u | 32 | fs/isofs/rock.c | if(rr->u.SP.magic[1] != 0xef) FAIL; |
u | 43 | fs/isofs/rock.c | {cont_extent = isonum_733(rr->u.CE.extent); \ |
u | 44 | fs/isofs/rock.c | cont_offset = isonum_733(rr->u.CE.offset); \ |
u | 45 | fs/isofs/rock.c | cont_size = isonum_733(rr->u.CE.size);} |
u | 113 | fs/isofs/rock.c | if (!inode->i_sb->u.isofs_sb.s_rock) return retval; |
u | 130 | fs/isofs/rock.c | rrflag = rr->u.RR.flags[0]; |
u | 142 | fs/isofs/rock.c | retval = isonum_733(rr->u.CL.location); |
u | 151 | fs/isofs/rock.c | retval = isonum_733(rr->u.PL.location); |
u | 179 | fs/isofs/rock.c | if (!inode->i_sb->u.isofs_sb.s_rock) return 0; |
u | 196 | fs/isofs/rock.c | if((rr->u.RR.flags[0] & RR_NM) == 0) goto out; |
u | 206 | fs/isofs/rock.c | if (rr->u.NM.flags & ~1) { |
u | 207 | fs/isofs/rock.c | printk("Unsupported NM flag settings (%d)\n",rr->u.NM.flags); |
u | 226 | fs/isofs/rock.c | strncat(retname, rr->u.NM.name, rr->len - 5); |
u | 261 | fs/isofs/rock.c | if (!inode->i_sb->u.isofs_sb.s_rock) return 0; |
u | 280 | fs/isofs/rock.c | if((rr->u.RR.flags[0] & |
u | 292 | fs/isofs/rock.c | for(p=0;p<rr->u.ER.len_id;p++) printk("%c",rr->u.ER.data[p]); |
u | 297 | fs/isofs/rock.c | inode->i_mode = isonum_733(rr->u.PX.mode); |
u | 298 | fs/isofs/rock.c | inode->i_nlink = isonum_733(rr->u.PX.n_links); |
u | 299 | fs/isofs/rock.c | inode->i_uid = isonum_733(rr->u.PX.uid); |
u | 300 | fs/isofs/rock.c | inode->i_gid = isonum_733(rr->u.PX.gid); |
u | 304 | fs/isofs/rock.c | high = isonum_733(rr->u.PN.dev_high); |
u | 305 | fs/isofs/rock.c | low = isonum_733(rr->u.PN.dev_low); |
u | 324 | fs/isofs/rock.c | if(rr->u.TF.flags & TF_CREATE) |
u | 325 | fs/isofs/rock.c | inode->i_ctime = iso_date(rr->u.TF.times[cnt++].time, 0); |
u | 326 | fs/isofs/rock.c | if(rr->u.TF.flags & TF_MODIFY) |
u | 327 | fs/isofs/rock.c | inode->i_mtime = iso_date(rr->u.TF.times[cnt++].time, 0); |
u | 328 | fs/isofs/rock.c | if(rr->u.TF.flags & TF_ACCESS) |
u | 329 | fs/isofs/rock.c | inode->i_atime = iso_date(rr->u.TF.times[cnt++].time, 0); |
u | 330 | fs/isofs/rock.c | if(rr->u.TF.flags & TF_ATTRIBUTES) |
u | 331 | fs/isofs/rock.c | inode->i_ctime = iso_date(rr->u.TF.times[cnt++].time, 0); |
u | 337 | fs/isofs/rock.c | slp = &rr->u.SL.link; |
u | 374 | fs/isofs/rock.c | inode->u.isofs_i.i_first_extent = isonum_733(rr->u.CL.location) << |
u | 375 | fs/isofs/rock.c | inode -> i_sb -> u.isofs_sb.s_log_zone_size; |
u | 376 | fs/isofs/rock.c | reloc = iget(inode->i_sb, inode->u.isofs_i.i_first_extent); |
u | 421 | fs/isofs/rock.c | if (!inode->i_sb->u.isofs_sb.s_rock) |
u | 471 | fs/isofs/rock.c | if((rr->u.RR.flags[0] & RR_SL) == 0) goto out; |
u | 480 | fs/isofs/rock.c | slp = &rr->u.SL.link; |
u | 101 | fs/isofs/rock.h | } u; |
u | 43 | fs/minix/bitmap.c | if (block < sb->u.minix_sb.s_firstdatazone || |
u | 44 | fs/minix/bitmap.c | block >= sb->u.minix_sb.s_nzones) { |
u | 52 | fs/minix/bitmap.c | zone = block - sb->u.minix_sb.s_firstdatazone + 1; |
u | 55 | fs/minix/bitmap.c | bh = sb->u.minix_sb.s_zmap[zone]; |
u | 79 | fs/minix/bitmap.c | if ((bh=sb->u.minix_sb.s_zmap[i]) != NULL) |
u | 89 | fs/minix/bitmap.c | j += i*8192 + sb->u.minix_sb.s_firstdatazone-1; |
u | 90 | fs/minix/bitmap.c | if (j < sb->u.minix_sb.s_firstdatazone || |
u | 91 | fs/minix/bitmap.c | j >= sb->u.minix_sb.s_nzones) |
u | 106 | fs/minix/bitmap.c | return (count_free(sb->u.minix_sb.s_zmap,sb->u.minix_sb.s_zmap_blocks) |
u | 107 | fs/minix/bitmap.c | << sb->u.minix_sb.s_log_zone_size); |
u | 117 | fs/minix/bitmap.c | if (!ino || ino >= inode->i_sb->u.minix_sb.s_ninodes) { |
u | 122 | fs/minix/bitmap.c | block = (2 + inode->i_sb->u.minix_sb.s_imap_blocks + |
u | 123 | fs/minix/bitmap.c | inode->i_sb->u.minix_sb.s_zmap_blocks + |
u | 145 | fs/minix/bitmap.c | if (!ino || ino >= inode->i_sb->u.minix_sb.s_ninodes) { |
u | 150 | fs/minix/bitmap.c | block = (2 + inode->i_sb->u.minix_sb.s_imap_blocks + |
u | 151 | fs/minix/bitmap.c | inode->i_sb->u.minix_sb.s_zmap_blocks + |
u | 201 | fs/minix/bitmap.c | if (inode->i_ino < 1 || inode->i_ino >= inode->i_sb->u.minix_sb.s_ninodes) { |
u | 206 | fs/minix/bitmap.c | if (!(bh=inode->i_sb->u.minix_sb.s_imap[ino >> 13])) { |
u | 231 | fs/minix/bitmap.c | if ((bh = inode->i_sb->u.minix_sb.s_imap[i]) != NULL) |
u | 245 | fs/minix/bitmap.c | if (!j || j >= inode->i_sb->u.minix_sb.s_ninodes) { |
u | 265 | fs/minix/bitmap.c | return count_free(sb->u.minix_sb.s_imap,sb->u.minix_sb.s_imap_blocks); |
u | 70 | fs/minix/dir.c | info = &inode->i_sb->u.minix_sb; |
u | 91 | fs/minix/fsync.c | (unsigned short *) inode->u.minix_i.u.i1_data + i, wait); |
u | 158 | fs/minix/fsync.c | err |= V1_sync_indirect(inode, inode->u.minix_i.u.i1_data + 7, wait); |
u | 159 | fs/minix/fsync.c | err |= V1_sync_dindirect(inode, inode->u.minix_i.u.i1_data + 8, wait); |
u | 228 | fs/minix/fsync.c | (unsigned long *)inode->u.minix_i.u.i2_data + i, wait); |
u | 320 | fs/minix/fsync.c | (unsigned long *) inode->u.minix_i.u.i2_data + 7, wait); |
u | 322 | fs/minix/fsync.c | (unsigned long *) inode->u.minix_i.u.i2_data + 8, wait); |
u | 324 | fs/minix/fsync.c | (unsigned long *) inode->u.minix_i.u.i2_data + 9, wait); |
u | 36 | fs/minix/inode.c | mark_buffer_dirty(sb->u.minix_sb.s_sbh, 1); |
u | 45 | fs/minix/inode.c | ms = sb->u.minix_sb.s_ms; |
u | 61 | fs/minix/inode.c | sb->u.minix_sb.s_ms->s_state = sb->u.minix_sb.s_mount_state; |
u | 62 | fs/minix/inode.c | mark_buffer_dirty(sb->u.minix_sb.s_sbh, 1); |
u | 66 | fs/minix/inode.c | brelse(sb->u.minix_sb.s_imap[i]); |
u | 68 | fs/minix/inode.c | brelse(sb->u.minix_sb.s_zmap[i]); |
u | 69 | fs/minix/inode.c | brelse (sb->u.minix_sb.s_sbh); |
u | 90 | fs/minix/inode.c | ms = sb->u.minix_sb.s_ms; |
u | 95 | fs/minix/inode.c | !(sb->u.minix_sb.s_mount_state & MINIX_VALID_FS)) |
u | 98 | fs/minix/inode.c | ms->s_state = sb->u.minix_sb.s_mount_state; |
u | 99 | fs/minix/inode.c | mark_buffer_dirty(sb->u.minix_sb.s_sbh, 1); |
u | 105 | fs/minix/inode.c | sb->u.minix_sb.s_mount_state = ms->s_state; |
u | 107 | fs/minix/inode.c | mark_buffer_dirty(sb->u.minix_sb.s_sbh, 1); |
u | 110 | fs/minix/inode.c | if (!(sb->u.minix_sb.s_mount_state & MINIX_VALID_FS)) |
u | 113 | fs/minix/inode.c | else if ((sb->u.minix_sb.s_mount_state & MINIX_ERROR_FS)) |
u | 155 | fs/minix/inode.c | s->u.minix_sb.s_dirsize = dirsize; |
u | 156 | fs/minix/inode.c | s->u.minix_sb.s_namelen = dirsize - 2; |
u | 188 | fs/minix/inode.c | s->u.minix_sb.s_ms = ms; |
u | 189 | fs/minix/inode.c | s->u.minix_sb.s_sbh = bh; |
u | 190 | fs/minix/inode.c | s->u.minix_sb.s_mount_state = ms->s_state; |
u | 193 | fs/minix/inode.c | s->u.minix_sb.s_ninodes = ms->s_ninodes; |
u | 194 | fs/minix/inode.c | s->u.minix_sb.s_imap_blocks = ms->s_imap_blocks; |
u | 195 | fs/minix/inode.c | s->u.minix_sb.s_zmap_blocks = ms->s_zmap_blocks; |
u | 196 | fs/minix/inode.c | s->u.minix_sb.s_firstdatazone = ms->s_firstdatazone; |
u | 197 | fs/minix/inode.c | s->u.minix_sb.s_log_zone_size = ms->s_log_zone_size; |
u | 198 | fs/minix/inode.c | s->u.minix_sb.s_max_size = ms->s_max_size; |
u | 201 | fs/minix/inode.c | s->u.minix_sb.s_version = MINIX_V1; |
u | 202 | fs/minix/inode.c | s->u.minix_sb.s_nzones = ms->s_nzones; |
u | 203 | fs/minix/inode.c | s->u.minix_sb.s_dirsize = 16; |
u | 204 | fs/minix/inode.c | s->u.minix_sb.s_namelen = 14; |
u | 206 | fs/minix/inode.c | s->u.minix_sb.s_version = MINIX_V1; |
u | 207 | fs/minix/inode.c | s->u.minix_sb.s_nzones = ms->s_nzones; |
u | 208 | fs/minix/inode.c | s->u.minix_sb.s_dirsize = 32; |
u | 209 | fs/minix/inode.c | s->u.minix_sb.s_namelen = 30; |
u | 211 | fs/minix/inode.c | s->u.minix_sb.s_version = MINIX_V2; |
u | 212 | fs/minix/inode.c | s->u.minix_sb.s_nzones = ms->s_zones; |
u | 213 | fs/minix/inode.c | s->u.minix_sb.s_dirsize = 16; |
u | 214 | fs/minix/inode.c | s->u.minix_sb.s_namelen = 14; |
u | 216 | fs/minix/inode.c | s->u.minix_sb.s_version = MINIX_V2; |
u | 217 | fs/minix/inode.c | s->u.minix_sb.s_nzones = ms->s_zones; |
u | 218 | fs/minix/inode.c | s->u.minix_sb.s_dirsize = 32; |
u | 219 | fs/minix/inode.c | s->u.minix_sb.s_namelen = 30; |
u | 231 | fs/minix/inode.c | s->u.minix_sb.s_imap[i] = NULL; |
u | 233 | fs/minix/inode.c | s->u.minix_sb.s_zmap[i] = NULL; |
u | 234 | fs/minix/inode.c | if (s->u.minix_sb.s_zmap_blocks > MINIX_Z_MAP_SLOTS) { |
u | 244 | fs/minix/inode.c | for (i=0 ; i < s->u.minix_sb.s_imap_blocks ; i++) |
u | 245 | fs/minix/inode.c | if ((s->u.minix_sb.s_imap[i]=bread(dev,block,BLOCK_SIZE)) != NULL) |
u | 249 | fs/minix/inode.c | for (i=0 ; i < s->u.minix_sb.s_zmap_blocks ; i++) |
u | 250 | fs/minix/inode.c | if ((s->u.minix_sb.s_zmap[i]=bread(dev,block,BLOCK_SIZE)) != NULL) |
u | 254 | fs/minix/inode.c | if (block != 2+s->u.minix_sb.s_imap_blocks+s->u.minix_sb.s_zmap_blocks) { |
u | 256 | fs/minix/inode.c | brelse(s->u.minix_sb.s_imap[i]); |
u | 258 | fs/minix/inode.c | brelse(s->u.minix_sb.s_zmap[i]); |
u | 266 | fs/minix/inode.c | set_bit(0,s->u.minix_sb.s_imap[0]->b_data); |
u | 267 | fs/minix/inode.c | set_bit(0,s->u.minix_sb.s_zmap[0]->b_data); |
u | 298 | fs/minix/inode.c | if (!(s->u.minix_sb.s_mount_state & MINIX_VALID_FS)) |
u | 301 | fs/minix/inode.c | else if (s->u.minix_sb.s_mount_state & MINIX_ERROR_FS) |
u | 313 | 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 | 316 | fs/minix/inode.c | tmp.f_files = sb->u.minix_sb.s_ninodes; |
u | 318 | fs/minix/inode.c | tmp.f_namelen = sb->u.minix_sb.s_namelen; |
u | 325 | fs/minix/inode.c | #define V1_inode_bmap(inode,nr) (((unsigned short *)(inode)->u.minix_i.u.i1_data)[(nr)]) |
u | 346 | fs/minix/inode.c | if (block >= (inode->i_sb->u.minix_sb.s_max_size/BLOCK_SIZE)) { |
u | 372 | fs/minix/inode.c | #define V2_inode_bmap(inode,nr) (((unsigned long *)(inode)->u.minix_i.u.i2_data)[(nr)]) |
u | 392 | fs/minix/inode.c | if (block >= (inode->i_sb->u.minix_sb.s_max_size/BLOCK_SIZE)) { |
u | 449 | fs/minix/inode.c | p = inode->u.minix_i.u.i1_data + nr; |
u | 535 | fs/minix/inode.c | if (block >= inode->i_sb->u.minix_sb.s_max_size/BLOCK_SIZE) { |
u | 562 | fs/minix/inode.c | p = (unsigned long *) inode->u.minix_i.u.i2_data + nr; |
u | 648 | fs/minix/inode.c | if (block >= inode->i_sb->u.minix_sb.s_max_size/BLOCK_SIZE) { |
u | 710 | fs/minix/inode.c | if (!ino || ino >= inode->i_sb->u.minix_sb.s_ninodes) { |
u | 716 | fs/minix/inode.c | block = 2 + inode->i_sb->u.minix_sb.s_imap_blocks + |
u | 717 | fs/minix/inode.c | inode->i_sb->u.minix_sb.s_zmap_blocks + |
u | 736 | fs/minix/inode.c | inode->u.minix_i.u.i1_data[block] = raw_inode->i_zone[block]; |
u | 764 | fs/minix/inode.c | if (!ino || ino >= inode->i_sb->u.minix_sb.s_ninodes) { |
u | 770 | fs/minix/inode.c | block = 2 + inode->i_sb->u.minix_sb.s_imap_blocks + |
u | 771 | fs/minix/inode.c | inode->i_sb->u.minix_sb.s_zmap_blocks + |
u | 792 | fs/minix/inode.c | inode->u.minix_i.u.i2_data[block] = raw_inode->i_zone[block]; |
u | 829 | fs/minix/inode.c | if (!ino || ino >= inode->i_sb->u.minix_sb.s_ninodes) { |
u | 836 | 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 | 854 | fs/minix/inode.c | raw_inode->i_zone[block] = inode->u.minix_i.u.i1_data[block]; |
u | 870 | fs/minix/inode.c | if (!ino || ino >= inode->i_sb->u.minix_sb.s_ninodes) { |
u | 877 | 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 | 897 | fs/minix/inode.c | raw_inode->i_zone[block] = inode->u.minix_i.u.i2_data[block]; |
u | 74 | fs/minix/namei.c | info = &dir->i_sb->u.minix_sb; |
u | 160 | fs/minix/namei.c | info = &dir->i_sb->u.minix_sb; |
u | 315 | fs/minix/namei.c | info = &dir->i_sb->u.minix_sb; |
u | 383 | fs/minix/namei.c | info = &inode->i_sb->u.minix_sb; |
u | 683 | fs/minix/namei.c | info = &old_dir->i_sb->u.minix_sb; |
u | 47 | fs/minix/truncate.c | p = i + inode->u.minix_i.u.i1_data; |
u | 186 | fs/minix/truncate.c | retry |= V1_trunc_indirect(inode, 7, inode->u.minix_i.u.i1_data + 7); |
u | 187 | fs/minix/truncate.c | retry |= V1_trunc_dindirect(inode, 7+512, inode->u.minix_i.u.i1_data + 8); |
u | 209 | fs/minix/truncate.c | p = (unsigned long *) inode->u.minix_i.u.i2_data + i; |
u | 394 | fs/minix/truncate.c | (unsigned long *) inode->u.minix_i.u.i2_data + 7); |
u | 396 | fs/minix/truncate.c | (unsigned long *) inode->u.minix_i.u.i2_data + 8); |
u | 398 | fs/minix/truncate.c | (unsigned long *) inode->u.minix_i.u.i2_data + 9); |
u | 139 | fs/ncpfs/sock.c | sock = &(inode->u.socket_i); |
u | 191 | fs/ncpfs/sock.c | sock = &(inode->u.socket_i); |
u | 283 | fs/ncpfs/sock.c | sock = &(inode->u.socket_i); |
u | 349 | fs/ncpfs/sock.c | sock = &inode->u.socket_i; |
u | 65 | fs/nfs/inode.c | int rsize = inode->i_sb->u.nfs_sb.s_server.rsize; |
u | 66 | fs/nfs/inode.c | int size = inode->i_sb->u.nfs_sb.s_server.wsize; |
u | 86 | fs/nfs/inode.c | close_fp(sb->u.nfs_sb.s_server.file); |
u | 87 | fs/nfs/inode.c | rpc_closesock(sb->u.nfs_sb.s_server.rsock); |
u | 144 | fs/nfs/inode.c | server = &sb->u.nfs_sb.s_server; |
u | 181 | fs/nfs/inode.c | sock = &((filp->f_inode)->u.socket_i); |
u | 198 | fs/nfs/inode.c | sb->u.nfs_sb.s_root = data->root; |
u | 215 | fs/nfs/inode.c | error = nfs_proc_statfs(&sb->u.nfs_sb.s_server, &sb->u.nfs_sb.s_root, |
u | 253 | fs/nfs/inode.c | error = nfs_proc_getattr(&sb->u.nfs_sb.s_server, fhandle, |
u | 517 | fs/nfs/nfsroot.c | *sock = &inode->u.socket_i; |
u | 1480 | fs/nfs/nfsroot.c | if (nfs_sock_inode->u.socket_i.ops->bind) { |
u | 1486 | fs/nfs/nfsroot.c | res = nfs_sock_inode->u.socket_i.ops->bind(&nfs_sock_inode->u.socket_i, |
u | 1526 | fs/nfs/nfsroot.c | sock = &((nfs_file->f_inode)->u.socket_i); |
u | 1546 | fs/nfs/nfsroot.c | if (nfs_sock_inode->u.socket_i.ops->connect && |
u | 1547 | fs/nfs/nfsroot.c | nfs_sock_inode->u.socket_i.ops->connect(&nfs_sock_inode->u.socket_i, |
u | 1683 | fs/nfs/nfsroot.c | if (nfs_sock_inode->u.socket_i.ops->connect && |
u | 1684 | fs/nfs/nfsroot.c | nfs_sock_inode->u.socket_i.ops->connect(&nfs_sock_inode->u.socket_i, |
u | 535 | fs/nfs/rpcsock.c | sock = &file->f_inode->u.socket_i; |
u | 1097 | fs/proc/array.c | dp = (struct proc_dir_entry *) inode->u.generic_ip; |
u | 78 | fs/proc/inode.c | inode->u.generic_ip = (void *) de; |
u | 49 | fs/proc/net.c | dp = (struct proc_dir_entry *) inode->u.generic_ip; |
u | 402 | fs/proc/root.c | de = (struct proc_dir_entry *) dir->u.generic_ip; |
u | 509 | fs/proc/root.c | de = (struct proc_dir_entry *) inode->u.generic_ip; |
u | 178 | fs/read_write.c | sock = &inode->u.socket_i; |
u | 124 | fs/smbfs/sock.c | sock = &(inode->u.socket_i); |
u | 172 | fs/smbfs/sock.c | sock = &(inode->u.socket_i); |
u | 445 | fs/smbfs/sock.c | return &(inode->u.socket_i); |
u | 316 | fs/super.c | nfss = &tmp->mnt_sb->u.nfs_sb.s_server; |
u | 95 | fs/sysv/fsync.c | rc = sync_block (inode, inode->u.sysv_i.i_data + i, 0, wait); |
u | 191 | fs/sysv/fsync.c | err |= sync_indirect(inode, inode->u.sysv_i.i_data+10, 0, wait); |
u | 192 | fs/sysv/fsync.c | err |= sync_dindirect(inode, inode->u.sysv_i.i_data+11, 0, wait); |
u | 193 | fs/sysv/fsync.c | err |= sync_tindirect(inode, inode->u.sysv_i.i_data+12, 0, wait); |
u | 556 | fs/sysv/inode.c | int tmp = inode->u.sysv_i.i_data[nr]; |
u | 645 | fs/sysv/inode.c | p = inode->u.sysv_i.i_data + nr; |
u | 849 | fs/sysv/inode.c | inode->u.sysv_i.i_data[block] = |
u | 853 | 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 | 52 | fs/sysv/truncate.c | p = inode->u.sysv_i.i_data + i; |
u | 263 | fs/sysv/truncate.c | | trunc_indirect(inode,sb->sv_ind0_size,&inode->u.sysv_i.i_data[10],0,&inode->i_dirt) |
u | 264 | fs/sysv/truncate.c | | trunc_dindirect(inode,sb->sv_ind1_size,&inode->u.sysv_i.i_data[11],0,&inode->i_dirt) |
u | 265 | fs/sysv/truncate.c | | trunc_tindirect(inode,sb->sv_ind2_size,&inode->u.sysv_i.i_data[12],0,&inode->i_dirt); |
u | 38 | fs/ufs/ufs_dir.c | if (inode->i_sb->u.ufs_sb.s_flags & UFS_DEBUG) { |
u | 119 | fs/ufs/ufs_dir.c | if (inode->i_sb->u.ufs_sb.s_flags & UFS_DEBUG) { |
u | 59 | fs/ufs/ufs_file.c | fsblkno = inode->u.ufs_i.ui_db[lfsblkno]; /* XXX */ |
u | 62 | fs/ufs/ufs_file.c | blkno%(inode->i_sb->u.ufs_sb.s_fpg); |
u | 65 | fs/ufs/ufs_file.c | if (inode->i_sb->u.ufs_sb.s_flags & UFS_DEBUG) { |
u | 75 | fs/ufs/ufs_file.c | bh = bread(inode->i_dev, inode->u.ufs_i.ui_ib[0], |
u | 29 | fs/ufs/ufs_inode.c | inode->u.ufs_i.ui_db[0], inode->u.ufs_i.ui_db[1], |
u | 30 | fs/ufs/ufs_inode.c | inode->u.ufs_i.ui_db[2], inode->u.ufs_i.ui_db[3], |
u | 31 | fs/ufs/ufs_inode.c | inode->u.ufs_i.ui_db[4], inode->u.ufs_i.ui_db[5], |
u | 32 | fs/ufs/ufs_inode.c | inode->u.ufs_i.ui_db[6], inode->u.ufs_i.ui_db[7], |
u | 33 | fs/ufs/ufs_inode.c | inode->u.ufs_i.ui_db[8], inode->u.ufs_i.ui_db[9], |
u | 34 | fs/ufs/ufs_inode.c | inode->u.ufs_i.ui_db[10], inode->u.ufs_i.ui_db[11]); |
u | 36 | fs/ufs/ufs_inode.c | inode->u.ufs_i.ui_gen, inode->u.ufs_i.ui_ib[0], |
u | 37 | fs/ufs/ufs_inode.c | inode->u.ufs_i.ui_ib[1], inode->u.ufs_i.ui_ib[2]); |
u | 58 | fs/ufs/ufs_inode.c | (inode->i_ino%sb->u.ufs_sb.s_inopb), |
u | 59 | fs/ufs/ufs_inode.c | sb->u.ufs_sb.s_ipg, sb->u.ufs_sb.s_inopb); |
u | 63 | fs/ufs/ufs_inode.c | (inode->i_ino%sb->u.ufs_sb.s_ipg)/(sb->u.ufs_sb.s_inopb/sb->u.ufs_sb.s_fsfrag), |
u | 72 | fs/ufs/ufs_inode.c | ufsip += (inode->i_ino%(sb->u.ufs_sb.s_inopb/sb->u.ufs_sb.s_fsfrag)); |
u | 87 | fs/ufs/ufs_inode.c | (inode->i_ino%sb->u.ufs_sb.s_ipg)/sb->u.ufs_sb.s_inopb, |
u | 95 | fs/ufs/ufs_inode.c | (inode->i_ino%sb->u.ufs_sb.s_ipg)/sb->u.ufs_sb.s_inopb, |
u | 130 | fs/ufs/ufs_inode.c | inode->u.ufs_i.ui_size = ((__u64)(ufsip->ui_size.val[0])<<32) | (__u64)(ufsip->ui_size.val[1]); |
u | 146 | fs/ufs/ufs_inode.c | inode->i_blksize = sb->u.ufs_sb.s_fsize; |
u | 179 | fs/ufs/ufs_inode.c | inode->u.ufs_i.ui_db[i] = ufsip->ui_db[i]; |
u | 182 | fs/ufs/ufs_inode.c | inode->u.ufs_i.ui_ib[i] = ufsip->ui_ib[i]; |
u | 193 | fs/ufs/ufs_inode.c | inode->u.ufs_i.ui_flags = ufsip->ui_flags; |
u | 194 | fs/ufs/ufs_inode.c | inode->u.ufs_i.ui_gen = ufsip->ui_gen; /* XXX - is this i_version? */ |
u | 195 | fs/ufs/ufs_inode.c | inode->u.ufs_i.ui_shadow = ufsip->ui_shadow; /* XXX */ |
u | 196 | fs/ufs/ufs_inode.c | inode->u.ufs_i.ui_uid = ufsip->ui_uid; |
u | 197 | fs/ufs/ufs_inode.c | inode->u.ufs_i.ui_gid = ufsip->ui_gid; |
u | 198 | fs/ufs/ufs_inode.c | inode->u.ufs_i.ui_oeftflag = ufsip->ui_oeftflag; |
u | 202 | fs/ufs/ufs_inode.c | if (inode->i_sb->u.ufs_sb.s_flags & (UFS_DEBUG|UFS_DEBUG_INODE)) { |
u | 49 | fs/ufs/ufs_namei.c | dir->i_sb->u.ufs_sb.s_flags ^= UFS_DEBUG; |
u | 51 | fs/ufs/ufs_namei.c | (dir->i_sb->u.ufs_sb.s_flags & UFS_DEBUG) ? |
u | 61 | fs/ufs/ufs_namei.c | dir->i_sb->u.ufs_sb.s_flags ^= UFS_DEBUG_INODE; |
u | 63 | fs/ufs/ufs_namei.c | (dir->i_sb->u.ufs_sb.s_flags & UFS_DEBUG_INODE) ? |
u | 70 | fs/ufs/ufs_namei.c | dir->i_sb->u.ufs_sb.s_flags ^= UFS_DEBUG_NAMEI; |
u | 72 | fs/ufs/ufs_namei.c | (dir->i_sb->u.ufs_sb.s_flags & UFS_DEBUG_NAMEI) ? |
u | 79 | fs/ufs/ufs_namei.c | dir->i_sb->u.ufs_sb.s_flags ^= UFS_DEBUG_LINKS; |
u | 81 | fs/ufs/ufs_namei.c | (dir->i_sb->u.ufs_sb.s_flags & UFS_DEBUG_LINKS) ? |
u | 86 | fs/ufs/ufs_namei.c | if (dir->i_sb->u.ufs_sb.s_flags & (UFS_DEBUG|UFS_DEBUG_NAMEI)) { |
u | 96 | fs/ufs/ufs_namei.c | if (dir->i_sb->u.ufs_sb.s_flags & UFS_DEBUG) { |
u | 115 | fs/ufs/ufs_namei.c | if (dir->i_sb->u.ufs_sb.s_flags & UFS_DEBUG) { |
u | 121 | fs/ufs/ufs_namei.c | if (dir->i_sb->u.ufs_sb.s_flags & UFS_DEBUG) { |
u | 134 | fs/ufs/ufs_namei.c | if (dir->i_sb->u.ufs_sb.s_flags & UFS_DEBUG) { |
u | 222 | fs/ufs/ufs_super.c | sb->u.ufs_sb.s_raw_sb = usb; /* XXX - maybe move this to the top */ |
u | 223 | fs/ufs/ufs_super.c | sb->u.ufs_sb.s_flags = 0; |
u | 224 | fs/ufs/ufs_super.c | sb->u.ufs_sb.s_ncg = usb->fs_ncg; |
u | 225 | fs/ufs/ufs_super.c | sb->u.ufs_sb.s_ipg = usb->fs_ipg; |
u | 226 | fs/ufs/ufs_super.c | sb->u.ufs_sb.s_fpg = usb->fs_fpg; |
u | 227 | fs/ufs/ufs_super.c | sb->u.ufs_sb.s_fsize = usb->fs_fsize; |
u | 228 | fs/ufs/ufs_super.c | sb->u.ufs_sb.s_bsize = usb->fs_bsize; |
u | 229 | fs/ufs/ufs_super.c | sb->u.ufs_sb.s_iblkno = usb->fs_iblkno; |
u | 230 | fs/ufs/ufs_super.c | sb->u.ufs_sb.s_dblkno = usb->fs_dblkno; |
u | 231 | fs/ufs/ufs_super.c | sb->u.ufs_sb.s_cgoffset = usb->fs_cgoffset; |
u | 232 | fs/ufs/ufs_super.c | sb->u.ufs_sb.s_cgmask = usb->fs_cgmask; |
u | 233 | fs/ufs/ufs_super.c | sb->u.ufs_sb.s_inopb = usb->fs_inopb; |
u | 234 | fs/ufs/ufs_super.c | sb->u.ufs_sb.s_fsfrag = usb->fs_frag; /* XXX - rename this later */ |
u | 237 | fs/ufs/ufs_super.c | printk("ufs_read_super: inopb %u\n", sb->u.ufs_sb.s_inopb); |
u | 275 | fs/ufs/ufs_super.c | tmp.f_blocks = sb->u.ufs_sb.s_raw_sb->fs_dsize; |
u | 276 | fs/ufs/ufs_super.c | tmp.f_bfree = sb->u.ufs_sb.s_raw_sb->fs_cstotal.cs_nbfree; |
u | 277 | fs/ufs/ufs_super.c | tmp.f_bavail = sb->u.ufs_sb.s_raw_sb->fs_cstotal.cs_nbfree; /* XXX */ |
u | 278 | fs/ufs/ufs_super.c | tmp.f_files = sb->u.ufs_sb.s_ncg * sb->u.ufs_sb.s_ipg; |
u | 279 | fs/ufs/ufs_super.c | tmp.f_ffree = sb->u.ufs_sb.s_raw_sb->fs_cstotal.cs_nifree; |
u | 280 | fs/ufs/ufs_super.c | tmp.f_fsid.val[0] = sb->u.ufs_sb.s_raw_sb->fs_id[0]; |
u | 281 | fs/ufs/ufs_super.c | tmp.f_fsid.val[1] = sb->u.ufs_sb.s_raw_sb->fs_id[1]; |
u | 29 | fs/ufs/ufs_symlink.c | if (inode->i_sb->u.ufs_sb.s_flags & (UFS_DEBUG|UFS_DEBUG_LINKS)) { |
u | 43 | fs/ufs/ufs_symlink.c | if (inode->i_sb->u.ufs_sb.s_flags &(UFS_DEBUG|UFS_DEBUG_LINKS)) { |
u | 58 | fs/ufs/ufs_symlink.c | link = (char *)&(inode->u.ufs_i.ui_db[0]); |
u | 85 | fs/ufs/ufs_symlink.c | if (inode->i_sb->u.ufs_sb.s_flags & (UFS_DEBUG|UFS_DEBUG_LINKS)) { |
u | 125 | fs/ufs/ufs_symlink.c | link = (char *)&(inode->u.ufs_i.ui_db[0]); |
u | 405 | fs/umsdos/dir.c | if (inode->u.umsdos_i.i_emd_owner==0) printk ("emd_owner still 0 ???\n"); |
u | 490 | fs/umsdos/dir.c | inode->u.umsdos_i.i_dir_owner = dir->i_ino; |
u | 491 | fs/umsdos/dir.c | inode->u.umsdos_i.i_emd_owner = 0; |
u | 767 | fs/umsdos/dir.c | if (dir->u.umsdos_i.i_emd_dir == 0){ |
u | 105 | fs/umsdos/emd.c | if (dir->u.umsdos_i.i_emd_dir != 0){ |
u | 106 | fs/umsdos/emd.c | ret = iget (dir->i_sb,dir->u.umsdos_i.i_emd_dir); |
u | 108 | fs/umsdos/emd.c | ,dir->u.umsdos_i.i_emd_dir,ret,ret->i_count)); |
u | 114 | fs/umsdos/emd.c | dir->u.umsdos_i.i_emd_dir = ret->i_ino; |
u | 123 | fs/umsdos/emd.c | dir->u.umsdos_i.i_emd_dir = ret->i_ino; |
u | 131 | fs/umsdos/emd.c | ret->u.umsdos_i.i_emd_owner = 0xffffffff; |
u | 42 | fs/umsdos/inode.c | ,inode->u.umsdos_i.i_emd_owner,inode->u.umsdos_i.pos |
u | 43 | fs/umsdos/inode.c | ,inode->u.umsdos_i.i_emd_dir)); |
u | 87 | fs/umsdos/inode.c | inode->u.umsdos_i.i_emd_dir = 0; |
u | 106 | fs/umsdos/inode.c | inode->u.umsdos_i.i_dir_owner = dir->i_ino; |
u | 107 | fs/umsdos/inode.c | inode->u.umsdos_i.i_emd_owner = emd_owner->i_ino; |
u | 109 | fs/umsdos/inode.c | inode->u.umsdos_i.pos = f_pos; |
u | 118 | fs/umsdos/inode.c | return inode->u.umsdos_i.i_emd_owner != 0; |
u | 150 | fs/umsdos/inode.c | inode->u.umsdos_i.i_emd_dir = 0; |
u | 190 | fs/umsdos/inode.c | if (emd_owner->i_ino != inode->u.umsdos_i.i_emd_owner){ |
u | 192 | fs/umsdos/inode.c | ,inode->i_ino,emd_owner->i_ino,inode->u.umsdos_i.i_emd_owner); |
u | 206 | fs/umsdos/inode.c | unsigned long ino = inode->u.umsdos_i.i_dir_owner; |
u | 228 | fs/umsdos/inode.c | && (inode->u.umsdos_i.u.dir_info.creating != 0 |
u | 229 | fs/umsdos/inode.c | || inode->u.umsdos_i.u.dir_info.looking != 0 |
u | 230 | fs/umsdos/inode.c | || inode->u.umsdos_i.u.dir_info.p != NULL)){ |
u | 232 | fs/umsdos/inode.c | ,inode->u.umsdos_i.u.dir_info.creating |
u | 233 | fs/umsdos/inode.c | ,inode->u.umsdos_i.u.dir_info.looking |
u | 234 | fs/umsdos/inode.c | ,inode->u.umsdos_i.u.dir_info.p)); |
u | 259 | fs/umsdos/inode.c | PRINTK (("UMSDOS_write_inode emd %d\n",inode->u.umsdos_i.i_emd_owner)); |
u | 287 | fs/umsdos/inode.c | unsigned long i_emd_owner = inode->u.umsdos_i.i_emd_owner; |
u | 316 | fs/umsdos/inode.c | filp.f_pos = inode->u.umsdos_i.pos; |
u | 338 | fs/umsdos/inode.c | filp.f_pos = inode->u.umsdos_i.pos; |
u | 343 | fs/umsdos/inode.c | ,inode->u.umsdos_i.pos |
u | 307 | fs/umsdos/ioctl.c | dir->i_sb->u.msdos_sb.options.fs_uid = data.umsdos_dirent.uid; |
u | 308 | fs/umsdos/ioctl.c | dir->i_sb->u.msdos_sb.options.fs_gid = data.umsdos_dirent.gid; |
u | 309 | fs/umsdos/ioctl.c | dir->i_sb->u.msdos_sb.options.fs_umask = data.umsdos_dirent.mode; |
u | 72 | fs/umsdos/mangle.c | } u; |
u | 87 | fs/umsdos/mangle.c | u.entry_num = info->f_pos / UMSDOS_REC_SIZE; |
u | 88 | fs/umsdos/mangle.c | if (u.entry_num > (9* 32 * 32)){ |
u | 94 | fs/umsdos/mangle.c | *pt++ = lookup3 [u.num.num3]; |
u | 95 | fs/umsdos/mangle.c | *pt++ = lookup12[u.num.num2]; |
u | 96 | fs/umsdos/mangle.c | *pt++ = lookup12[u.num.num1]; |
u | 35 | fs/umsdos/namei.c | if (dir->u.umsdos_i.u.dir_info.creating |
u | 36 | fs/umsdos/namei.c | && dir->u.umsdos_i.u.dir_info.pid != current->pid){ |
u | 37 | fs/umsdos/namei.c | sleep_on(&dir->u.umsdos_i.u.dir_info.p); |
u | 47 | fs/umsdos/namei.c | while (dir->u.umsdos_i.u.dir_info.looking){ |
u | 48 | fs/umsdos/namei.c | sleep_on(&dir->u.umsdos_i.u.dir_info.p); |
u | 89 | fs/umsdos/namei.c | dir->u.umsdos_i.u.dir_info.creating++; |
u | 90 | fs/umsdos/namei.c | dir->u.umsdos_i.u.dir_info.pid = current->pid; |
u | 108 | fs/umsdos/namei.c | dir1->u.umsdos_i.u.dir_info.creating++; |
u | 109 | fs/umsdos/namei.c | dir1->u.umsdos_i.u.dir_info.pid = current->pid; |
u | 110 | fs/umsdos/namei.c | dir2->u.umsdos_i.u.dir_info.creating++; |
u | 111 | fs/umsdos/namei.c | dir2->u.umsdos_i.u.dir_info.pid = current->pid; |
u | 124 | fs/umsdos/namei.c | dir->u.umsdos_i.u.dir_info.looking++; |
u | 132 | fs/umsdos/namei.c | dir->u.umsdos_i.u.dir_info.creating--; |
u | 133 | fs/umsdos/namei.c | if (dir->u.umsdos_i.u.dir_info.creating < 0){ |
u | 135 | fs/umsdos/namei.c | ,dir->u.umsdos_i.u.dir_info.creating); |
u | 137 | fs/umsdos/namei.c | wake_up (&dir->u.umsdos_i.u.dir_info.p); |
u | 144 | fs/umsdos/namei.c | dir->u.umsdos_i.u.dir_info.looking--; |
u | 145 | fs/umsdos/namei.c | if (dir->u.umsdos_i.u.dir_info.looking < 0){ |
u | 147 | fs/umsdos/namei.c | ,dir->u.umsdos_i.u.dir_info.looking); |
u | 149 | fs/umsdos/namei.c | wake_up (&dir->u.umsdos_i.u.dir_info.p); |
u | 571 | fs/umsdos/namei.c | ,oldinode->u.umsdos_i.i_dir_owner,olddir,olddir->i_count)); |
u | 966 | fs/umsdos/namei.c | ,inode->u.umsdos_i.i_dir_owner); |
u | 92 | fs/xiafs/bitmap.c | get__map_zone((sb), (sb)->u.xiafs_sb.s_imap_buf, \ |
u | 93 | fs/xiafs/bitmap.c | (sb)->u.xiafs_sb.s_imap_iznr, \ |
u | 94 | fs/xiafs/bitmap.c | (sb)->u.xiafs_sb.s_imap_cached, 1, \ |
u | 95 | fs/xiafs/bitmap.c | (sb)->u.xiafs_sb.s_imap_zones, _XIAFS_IMAP_SLOTS, \ |
u | 99 | fs/xiafs/bitmap.c | get__map_zone((sb), (sb)->u.xiafs_sb.s_zmap_buf, \ |
u | 100 | fs/xiafs/bitmap.c | (sb)->u.xiafs_sb.s_zmap_zznr, \ |
u | 101 | fs/xiafs/bitmap.c | (sb)->u.xiafs_sb.s_zmap_cached, \ |
u | 102 | fs/xiafs/bitmap.c | 1+(sb)->u.xiafs_sb.s_imap_zones, \ |
u | 103 | fs/xiafs/bitmap.c | (sb)->u.xiafs_sb.s_zmap_zones, _XIAFS_ZMAP_SLOTS, \ |
u | 153 | fs/xiafs/bitmap.c | get_free__bit(sb, sb->u.xiafs_sb.s_imap_buf, \ |
u | 154 | fs/xiafs/bitmap.c | sb->u.xiafs_sb.s_imap_iznr, \ |
u | 155 | fs/xiafs/bitmap.c | sb->u.xiafs_sb.s_imap_cached, \ |
u | 156 | fs/xiafs/bitmap.c | 1, sb->u.xiafs_sb.s_imap_zones, \ |
u | 160 | fs/xiafs/bitmap.c | get_free__bit(sb, sb->u.xiafs_sb.s_zmap_buf, \ |
u | 161 | fs/xiafs/bitmap.c | sb->u.xiafs_sb.s_zmap_zznr, \ |
u | 162 | fs/xiafs/bitmap.c | sb->u.xiafs_sb.s_zmap_cached, \ |
u | 163 | fs/xiafs/bitmap.c | 1 + sb->u.xiafs_sb.s_imap_zones, \ |
u | 164 | fs/xiafs/bitmap.c | sb->u.xiafs_sb.s_zmap_zones, \ |
u | 202 | fs/xiafs/bitmap.c | xiafs_unlock_super(sb, sb->u.xiafs_sb.s_zmap_cached); |
u | 223 | fs/xiafs/bitmap.c | if (d_addr < sb->u.xiafs_sb.s_firstdatazone || |
u | 224 | fs/xiafs/bitmap.c | d_addr >= sb->u.xiafs_sb.s_nzones) { |
u | 232 | fs/xiafs/bitmap.c | bit=d_addr - sb->u.xiafs_sb.s_firstdatazone + 1; |
u | 242 | fs/xiafs/bitmap.c | xiafs_unlock_super(sb, sb->u.xiafs_sb.s_zmap_cached); |
u | 254 | fs/xiafs/bitmap.c | if (prev_addr < sb->u.xiafs_sb.s_firstdatazone || |
u | 255 | fs/xiafs/bitmap.c | prev_addr >= sb->u.xiafs_sb.s_nzones) { |
u | 256 | fs/xiafs/bitmap.c | prev_addr=sb->u.xiafs_sb.s_firstdatazone; |
u | 258 | fs/xiafs/bitmap.c | prev_znr=prev_addr-sb->u.xiafs_sb.s_firstdatazone+1; |
u | 262 | fs/xiafs/bitmap.c | tmp += sb->u.xiafs_sb.s_firstdatazone -1; |
u | 288 | fs/xiafs/bitmap.c | || inode->i_ino > inode->i_sb->u.xiafs_sb.s_ninodes) { |
u | 303 | fs/xiafs/bitmap.c | xiafs_unlock_super(sb, sb->u.xiafs_sb.s_imap_cached); |
u | 360 | fs/xiafs/bitmap.c | izones=sb->u.xiafs_sb.s_imap_zones; |
u | 365 | fs/xiafs/bitmap.c | xiafs_unlock_super(sb, sb->u.xiafs_sb.s_imap_cached); |
u | 379 | fs/xiafs/bitmap.c | zzones=sb->u.xiafs_sb.s_zmap_zones; |
u | 384 | fs/xiafs/bitmap.c | xiafs_unlock_super(sb, sb->u.xiafs_sb.s_zmap_cached); |
u | 96 | fs/xiafs/dir.c | if (de->d_ino > inode->i_sb->u.xiafs_sb.s_ninodes || |
u | 88 | fs/xiafs/fsync.c | rc = sync_block (inode, inode->u.ext_i.i_data + i, wait); |
u | 154 | fs/xiafs/fsync.c | err |= sync_indirect(inode, &inode->u.xiafs_i.i_ind_zone, wait); |
u | 155 | fs/xiafs/fsync.c | err |= sync_dindirect(inode, &inode->u.xiafs_i.i_dind_zone, wait); |
u | 44 | fs/xiafs/inode.c | brelse(sb->u.xiafs_sb.s_imap_buf[i]); |
u | 46 | fs/xiafs/inode.c | brelse(sb->u.xiafs_sb.s_zmap_buf[i]); |
u | 109 | fs/xiafs/inode.c | s->u.xiafs_sb.s_nzones = sp->s_nzones; |
u | 110 | fs/xiafs/inode.c | s->u.xiafs_sb.s_ninodes = sp->s_ninodes; |
u | 111 | fs/xiafs/inode.c | s->u.xiafs_sb.s_ndatazones = sp->s_ndatazones; |
u | 112 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_zones = sp->s_imap_zones; |
u | 113 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_zones = sp->s_zmap_zones; |
u | 114 | fs/xiafs/inode.c | s->u.xiafs_sb.s_firstdatazone = sp->s_firstdatazone; |
u | 115 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zone_shift = sp->s_zone_shift; |
u | 116 | fs/xiafs/inode.c | s->u.xiafs_sb.s_max_size = sp->s_max_size; |
u | 119 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_buf[i] = NULL; |
u | 120 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_iznr[i] = -1; |
u | 123 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_buf[i] = NULL; |
u | 124 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_zznr[i] = -1; |
u | 127 | fs/xiafs/inode.c | if ( s->u.xiafs_sb.s_imap_zones > _XIAFS_IMAP_SLOTS ) |
u | 128 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_cached=1; |
u | 130 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_cached=0; |
u | 131 | fs/xiafs/inode.c | for (i=0 ; i < s->u.xiafs_sb.s_imap_zones ; i++) { |
u | 132 | fs/xiafs/inode.c | if (!(s->u.xiafs_sb.s_imap_buf[i]=bread(dev, z++, XIAFS_ZSIZE(s)))) |
u | 134 | fs/xiafs/inode.c | s->u.xiafs_sb.s_imap_iznr[i]=i; |
u | 137 | fs/xiafs/inode.c | if ( s->u.xiafs_sb.s_zmap_zones > _XIAFS_ZMAP_SLOTS ) |
u | 138 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_cached=1; |
u | 140 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_cached=0; |
u | 141 | fs/xiafs/inode.c | for (i=0 ; i < s->u.xiafs_sb.s_zmap_zones ; i++) { |
u | 142 | fs/xiafs/inode.c | if (!(s->u.xiafs_sb.s_zmap_buf[i]=bread(dev, z++, XIAFS_ZSIZE(s)))) |
u | 144 | fs/xiafs/inode.c | s->u.xiafs_sb.s_zmap_zznr[i]=i; |
u | 159 | fs/xiafs/inode.c | brelse(s->u.xiafs_sb.s_imap_buf[i]); |
u | 161 | fs/xiafs/inode.c | brelse(s->u.xiafs_sb.s_zmap_buf[i]); |
u | 175 | fs/xiafs/inode.c | tmp.f_blocks = sb->u.xiafs_sb.s_ndatazones; |
u | 178 | fs/xiafs/inode.c | tmp.f_files = sb->u.xiafs_sb.s_ninodes; |
u | 212 | fs/xiafs/inode.c | return inode->u.xiafs_i.i_zone[zone]; |
u | 215 | fs/xiafs/inode.c | i = inode->u.xiafs_i.i_ind_zone; |
u | 221 | fs/xiafs/inode.c | i = inode->u.xiafs_i.i_dind_zone; |
u | 239 | fs/xiafs/inode.c | random_nr=(random_nr+23)%inode->i_sb->u.xiafs_sb.s_ndatazones; |
u | 240 | fs/xiafs/inode.c | return random_nr + inode->i_sb->u.xiafs_sb.s_firstdatazone; |
u | 341 | fs/xiafs/inode.c | return dt_getblk(inode, zone+inode->u.xiafs_i.i_zone, create, prev_addr); |
u | 344 | fs/xiafs/inode.c | bh = dt_getblk(inode, &(inode->u.xiafs_i.i_ind_zone), create, prev_addr); |
u | 349 | fs/xiafs/inode.c | bh = dt_getblk(inode, &(inode->u.xiafs_i.i_dind_zone), create, prev_addr); |
u | 382 | fs/xiafs/inode.c | if (!ino || ino > inode->i_sb->u.xiafs_sb.s_ninodes) { |
u | 386 | fs/xiafs/inode.c | zone = 1 + inode->i_sb->u.xiafs_sb.s_imap_zones + |
u | 387 | fs/xiafs/inode.c | inode->i_sb->u.xiafs_sb.s_zmap_zones + |
u | 410 | fs/xiafs/inode.c | inode->u.xiafs_i.i_zone[zone] = raw_inode->i_zone[zone] & 0xffffff; |
u | 411 | fs/xiafs/inode.c | inode->u.xiafs_i.i_ind_zone = raw_inode->i_ind_zone & 0xffffff; |
u | 412 | fs/xiafs/inode.c | inode->u.xiafs_i.i_dind_zone = raw_inode->i_dind_zone & 0xffffff; |
u | 443 | fs/xiafs/inode.c | if (!ino || ino > inode->i_sb->u.xiafs_sb.s_ninodes) { |
u | 448 | fs/xiafs/inode.c | zone = 1 + inode->i_sb->u.xiafs_sb.s_imap_zones + |
u | 449 | fs/xiafs/inode.c | inode->i_sb->u.xiafs_sb.s_zmap_zones + |
u | 472 | fs/xiafs/inode.c | | (inode->u.xiafs_i.i_zone[zone] & 0xffffff); |
u | 474 | fs/xiafs/inode.c | | (inode->u.xiafs_i.i_ind_zone & 0xffffff); |
u | 476 | fs/xiafs/inode.c | | (inode->u.xiafs_i.i_dind_zone & 0xffffff); |
u | 89 | fs/xiafs/namei.c | if (dep->d_ino > inode->i_sb->u.xiafs_sb.s_ninodes || |
u | 196 | fs/xiafs/namei.c | if (de->d_ino > dir->i_sb->u.xiafs_sb.s_ninodes || |
u | 446 | fs/xiafs/namei.c | if (de->d_ino > inode->i_sb->u.xiafs_sb.s_ninodes || |
u | 49 | fs/xiafs/truncate.c | lp=i + inode->u.xiafs_i.i_zone; |
u | 140 | fs/xiafs/truncate.c | lp = &(inode->u.xiafs_i.i_dind_zone); |
u | 188 | 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 | 48 | include/asm-alpha/user.h | #define HOST_TEXT_START_ADDR (u.start_code) |
u | 49 | include/asm-alpha/user.h | #define HOST_DATA_START_ADDR (u.start_data) |
u | 50 | include/asm-alpha/user.h | #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG) |
u | 75 | include/asm-i386/user.h | #define HOST_TEXT_START_ADDR (u.start_code) |
u | 76 | include/asm-i386/user.h | #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG) |
u | 69 | include/asm-m68k/user.h | #define HOST_TEXT_START_ADDR (u.start_code) |
u | 70 | include/asm-m68k/user.h | #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG) |
u | 48 | include/asm-mips/user.h | #define HOST_TEXT_START_ADDR (u.start_code) |
u | 49 | include/asm-mips/user.h | #define HOST_DATA_START_ADDR (u.start_data) |
u | 50 | include/asm-mips/user.h | #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG) |
u | 52 | include/asm-sparc/user.h | #define HOST_TEXT_START_ADDR (u.start_code) |
u | 53 | include/asm-sparc/user.h | #define HOST_DATA_START_ADDR (u.start_data) |
u | 54 | include/asm-sparc/user.h | #define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG) |
u | 16 | include/linux/affs_fs.h | #define AFFS_I2HSIZE(inode) ((inode)->i_sb->u.affs_sb.s_hashsize) |
u | 22 | include/linux/affs_fs.h | #define AFFS_I2FSTYPE(inode) ((inode)->i_sb->u.affs_sb.s_flags & SF_INTL) |
u | 96 | include/linux/ext2_fs.h | #define EXT2_ADDR_PER_BLOCK_BITS(s) ((s)->u.ext2_sb.s_addr_per_block_bits) |
u | 97 | include/linux/ext2_fs.h | #define EXT2_INODE_SIZE(s) ((s)->u.ext2_sb.s_inode_size) |
u | 98 | include/linux/ext2_fs.h | #define EXT2_FIRST_INO(s) ((s)->u.ext2_sb.s_first_ino) |
u | 115 | include/linux/ext2_fs.h | # define EXT2_FRAG_SIZE(s) ((s)->u.ext2_sb.s_frag_size) |
u | 116 | include/linux/ext2_fs.h | # define EXT2_FRAGS_PER_BLOCK(s) ((s)->u.ext2_sb.s_frags_per_block) |
u | 163 | include/linux/ext2_fs.h | # define EXT2_BLOCKS_PER_GROUP(s) ((s)->u.ext2_sb.s_blocks_per_group) |
u | 164 | include/linux/ext2_fs.h | # define EXT2_DESC_PER_BLOCK(s) ((s)->u.ext2_sb.s_desc_per_block) |
u | 165 | include/linux/ext2_fs.h | # define EXT2_INODES_PER_GROUP(s) ((s)->u.ext2_sb.s_inodes_per_group) |
u | 166 | include/linux/ext2_fs.h | # define EXT2_DESC_PER_BLOCK_BITS(s) ((s)->u.ext2_sb.s_desc_per_block_bits) |
u | 302 | include/linux/ext2_fs.h | #define test_opt(sb, opt) ((sb)->u.ext2_sb.s_mount_opt & \ |
u | 320 | include/linux/fs.h | } u; |
u | 439 | 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 | 125 | include/linux/iso_fs.h | #define ISOFS_ZONE_BITS(INODE) ((INODE)->i_sb->u.isofs_sb.s_log_zone_size) |
u | 34 | include/linux/minix_fs.h | #define INODE_VERSION(inode) inode->i_sb->u.minix_sb.s_version |
u | 11 | include/linux/minix_fs_i.h | } u; |
u | 61 | include/linux/msdos_fs.h | #define MSDOS_SB(s) (&((s)->u.msdos_sb)) |
u | 62 | include/linux/msdos_fs.h | #define MSDOS_I(i) (&((i)->u.msdos_i)) |
u | 72 | include/linux/ncp_fs.h | #define NCP_SBP(sb) ((struct ncp_server *)((sb)->u.generic_sbp)) |
u | 73 | include/linux/ncp_fs.h | #define NCP_INOP(inode) ((struct ncp_inode_info *)((inode)->u.generic_ip)) |
u | 44 | include/linux/nfs_fs.h | #define NFS_SERVER(inode) (&(inode)->i_sb->u.nfs_sb.s_server) |
u | 45 | include/linux/nfs_fs.h | #define NFS_FH(inode) (&(inode)->u.nfs_i.fhandle) |
u | 46 | include/linux/nfs_fs.h | #define NFS_RENAMED_DIR(inode) ((inode)->u.nfs_i.silly_rename_dir) |
u | 47 | include/linux/nfs_fs.h | #define NFS_READTIME(inode) ((inode)->u.nfs_i.read_cache_jiffies) |
u | 48 | include/linux/nfs_fs.h | #define NFS_OLDMTIME(inode) ((inode)->u.nfs_i.read_cache_mtime) |
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 | 53 | include/linux/ufs_fs.h | (inode->i_ino > (inode->i_sb->u.ufs_sb.s_ncg * inode->i_sb->u.ufs_sb.s_ipg - 1))) |
u | 57 | include/linux/ufs_fs.h | (((sb)->u.ufs_sb.s_fpg * (cg)) + (sb)->u.ufs_sb.s_cgoffset * ((cg) & ~((sb)->u.ufs_sb.s_cgmask))) |
u | 60 | include/linux/ufs_fs.h | #define ufs_cgimin(sb, cg) (ufs_cgstart((sb), (cg)) + (sb)->u.ufs_sb.s_iblkno) |
u | 61 | include/linux/ufs_fs.h | #define ufs_cgdmin(sb, cg) (ufs_cgstart((sb), (cg)) + (sb)->u.ufs_sb.s_dblkno) |
u | 65 | include/linux/ufs_fs.h | #define ufs_ino2cg(inode) ((inode)->i_ino/(inode)->i_sb->u.ufs_sb.s_ipg) |
u | 61 | include/linux/umsdos_fs_i.h | }u; /* Simply a filler, never referenced by fs/umsdos/... */ |
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 | 462 | kernel/sysctl.c | de = (struct proc_dir_entry*) inode->u.generic_ip; |
u | 294 | lib/inflate.c | struct huft *u[BMAX]; /* table stack */ |
u | 373 | lib/inflate.c | u[0] = (struct huft *)NULL; /* just to keep compilers happy */ |
u | 416 | lib/inflate.c | huft_free(u[0]); |
u | 423 | lib/inflate.c | u[h] = ++q; /* table starts after link */ |
u | 434 | lib/inflate.c | u[h-1][j] = r; /* connect to last table */ |
u | 217 | net/socket.c | return &inode->u.socket_i; |
u | 260 | net/socket.c | sock = &inode->u.socket_i; |
u | 372 | net/unix/af_unix.c | unix_socket *u; |
u | 383 | net/unix/af_unix.c | u=unix_find_socket(inode); |
u | 385 | net/unix/af_unix.c | if(u==NULL) |
u | 390 | net/unix/af_unix.c | return u; |
u | 79 | net/unix/garbage.c | s=&(filp->f_inode->u.socket_i); |