/linux-2.4.37.9/arch/arm/lib/ |
D | io-writesw-armv3.S | 47 mov ip, r3, lsl #16 48 orr ip, ip, ip, lsr #16 49 str ip, [r0] 51 mov ip, r3, lsr #16 52 orr ip, ip, ip, lsl #16 53 str ip, [r0] 55 mov ip, r4, lsl #16 56 orr ip, ip, ip, lsr #16 57 str ip, [r0] 59 mov ip, r4, lsr #16 [all …]
|
D | io-readsl-armv3.S | 20 ands ip, r1, #3 29 2: cmp ip, #2 30 ldr ip, [r0] 34 strb ip, [r1], #1 35 mov ip, ip, lsr #8 36 strb ip, [r1], #1 37 mov ip, ip, lsr #8 40 orrne ip, ip, r3, lsl #16 41 strne ip, [r1], #4 42 movne ip, r3, lsr #16 [all …]
|
D | io-readsl-armv4.S | 20 ands ip, r1, #3 29 2: cmp ip, #2 30 ldr ip, [r0] 34 strh ip, [r1], #2 35 mov ip, ip, lsr #16 38 orrne ip, ip, r3, lsl #16 39 strne ip, [r1], #4 40 movne ip, r3, lsr #16 42 strh ip, [r1], #2 45 4: strb ip, [r1], #1 [all …]
|
D | uaccess.S | 31 rsb ip, ip, #4 32 cmp ip, #2 39 sub r2, r2, ip 46 ands ip, r0, #3 50 ands ip, r1, #3 58 addmi ip, r2, #4 62 mov ip, r0, lsl #32 - PAGE_SHIFT @ On each page, use a ld/st??t instruction 63 rsb ip, ip, #0 64 movs ip, ip, lsr #32 - PAGE_SHIFT 69 cmp r2, ip [all …]
|
/linux-2.4.37.9/drivers/net/ |
D | ioc3-eth.c | 115 static inline void ioc3_stop(struct ioc3_private *ip); 116 static void ioc3_init(struct ioc3_private *ip); 348 static void ioc3_get_eaddr_nic(struct ioc3_private *ip) in ioc3_get_eaddr_nic() argument 350 struct ioc3 *ioc3 = ip->regs; in ioc3_get_eaddr_nic() 377 ip->dev->dev_addr[i - 2] = nic[i]; in ioc3_get_eaddr_nic() 385 static void ioc3_get_eaddr(struct ioc3_private *ip) in ioc3_get_eaddr() argument 390 ioc3_get_eaddr_nic(ip); in ioc3_get_eaddr() 394 printk("%02x", ip->dev->dev_addr[i]); in ioc3_get_eaddr() 406 static u16 mii_read(struct ioc3_private *ip, int reg) in mii_read() argument 408 struct ioc3 *ioc3 = ip->regs; in mii_read() [all …]
|
/linux-2.4.37.9/fs/xfs/ |
D | xfs_iget.c | 178 xfs_inode_t *ip; in xfs_iget_core() local 194 for (ip = ih->ih_next; ip != NULL; ip = ip->i_next) { in xfs_iget_core() 195 if (ip->i_ino == ino) { in xfs_iget_core() 200 if (ip->i_flags & XFS_INEW) { in xfs_iget_core() 208 inode_vp = XFS_ITOV_NULL(ip); in xfs_iget_core() 215 if (ip->i_flags & XFS_IRECLAIM) { in xfs_iget_core() 228 ip->i_flags &= ~XFS_IRECLAIMABLE; in xfs_iget_core() 232 list_del_init(&ip->i_reclaim); in xfs_iget_core() 264 if (ip->i_d.di_mode == 0) { in xfs_iget_core() 267 xfs_iocore_inode_reinit(ip); in xfs_iget_core() [all …]
|
D | xfs_trans_inode.c | 61 xfs_inode_t *ip); 63 #define xfs_trans_inode_broot_debug(ip) argument 103 xfs_inode_t *ip; in xfs_trans_iget() local 122 if ((ip = xfs_inode_incore(tp->t_mountp, ino, tp)) != NULL) { in xfs_trans_iget() 128 ASSERT(ip->i_itemp != NULL); in xfs_trans_iget() 130 ASSERT(ismrlocked(&ip->i_lock, MR_UPDATE)); in xfs_trans_iget() 132 ismrlocked(&ip->i_iolock, MR_UPDATE)); in xfs_trans_iget() 134 (ip->i_itemp->ili_flags & XFS_ILI_IOLOCKED_EXCL)); in xfs_trans_iget() 136 ismrlocked(&ip->i_iolock, (MR_UPDATE | MR_ACCESS))); in xfs_trans_iget() 138 (ip->i_itemp->ili_flags & XFS_ILI_IOLOCKED_ANY)); in xfs_trans_iget() [all …]
|
D | xfs_inode_item.c | 81 xfs_inode_t *ip; in xfs_inode_item_size() local 83 ip = iip->ili_inode; in xfs_inode_item_size() 92 switch (ip->i_d.di_format) { in xfs_inode_item_size() 98 (ip->i_d.di_nextents > 0) && in xfs_inode_item_size() 99 (ip->i_df.if_bytes > 0)) { in xfs_inode_item_size() 100 ASSERT(ip->i_df.if_u1.if_extents != NULL); in xfs_inode_item_size() 108 ASSERT(ip->i_df.if_ext_max == in xfs_inode_item_size() 109 XFS_IFORK_DSIZE(ip) / (uint)sizeof(xfs_bmbt_rec_t)); in xfs_inode_item_size() 114 (ip->i_df.if_broot_bytes > 0)) { in xfs_inode_item_size() 115 ASSERT(ip->i_df.if_broot != NULL); in xfs_inode_item_size() [all …]
|
D | xfs_inode.c | 311 xfs_inode_t *ip, in xfs_itobp() argument 324 if (ip->i_blkno == (xfs_daddr_t)0) { in xfs_itobp() 330 error = xfs_imap(mp, tp, ip->i_ino, &imap, XFS_IMAP_LOOKUP); in xfs_itobp() 360 ip->i_blkno = imap.im_blkno; in xfs_itobp() 361 ip->i_len = imap.im_len; in xfs_itobp() 362 ip->i_boffset = imap.im_boffset; in xfs_itobp() 368 imap.im_blkno = ip->i_blkno; in xfs_itobp() 369 imap.im_len = ip->i_len; in xfs_itobp() 370 imap.im_boffset = ip->i_boffset; in xfs_itobp() 451 xfs_inode_t *ip, in xfs_iformat() argument [all …]
|
D | xfs_vnodeops.c | 95 xfs_inode_t *ip; in xfs_open() local 98 ip = XFS_BHVTOI(bdp); in xfs_open() 100 if (XFS_FORCED_SHUTDOWN(ip->i_mount)) in xfs_open() 107 if (vp->v_type == VDIR && ip->i_d.di_nextents > 0) { in xfs_open() 108 mode = xfs_ilock_map_shared(ip); in xfs_open() 109 if (ip->i_d.di_nextents > 0) in xfs_open() 110 (void)xfs_da_reada_buf(NULL, ip, 0, XFS_DATA_FORK); in xfs_open() 111 xfs_iunlock(ip, mode); in xfs_open() 127 xfs_inode_t *ip; in xfs_getattr() local 134 ip = XFS_BHVTOI(bdp); in xfs_getattr() [all …]
|
D | xfs_inode.h | 318 xfs_ifork_t *xfs_ifork_ptr(xfs_inode_t *ip, int w); 319 #define XFS_IFORK_PTR(ip,w) xfs_ifork_ptr(ip,w) argument 321 #define XFS_IFORK_PTR(ip,w) ((w) == XFS_DATA_FORK ? &(ip)->i_df : (ip)->i_afp) argument 324 int xfs_ifork_q(xfs_inode_t *ip); 325 #define XFS_IFORK_Q(ip) xfs_ifork_q(ip) argument 327 #define XFS_IFORK_Q(ip) XFS_CFORK_Q(&(ip)->i_d) argument 330 int xfs_ifork_dsize(xfs_inode_t *ip); 331 #define XFS_IFORK_DSIZE(ip) xfs_ifork_dsize(ip) argument 333 #define XFS_IFORK_DSIZE(ip) XFS_CFORK_DSIZE(&ip->i_d, ip->i_mount) argument 336 int xfs_ifork_asize(xfs_inode_t *ip); [all …]
|
D | xfs_refcache.c | 75 xfs_inode_t *ip) in xfs_refcache_insert() argument 81 ASSERT(ismrlocked(&(ip->i_iolock), MR_UPDATE)); in xfs_refcache_insert() 102 if (ip->i_refcache != NULL) { in xfs_refcache_insert() 106 vp = XFS_ITOV(ip); in xfs_refcache_insert() 159 xfs_refcache[xfs_refcache_index] = ip; in xfs_refcache_insert() 160 ASSERT(ip->i_refcache == NULL); in xfs_refcache_insert() 161 ip->i_refcache = &(xfs_refcache[xfs_refcache_index]); in xfs_refcache_insert() 175 ip->i_release = release_ip; in xfs_refcache_insert() 194 xfs_inode_t *ip) in xfs_refcache_purge_ip() argument 203 if (ip->i_refcache == NULL) { in xfs_refcache_purge_ip() [all …]
|
D | xfs_utils.c | 162 xfs_inode_t *ip; in xfs_dir_ialloc() local 190 &ialloc_context, &call_again, &ip); in xfs_dir_ialloc() 201 if (!call_again && (ip == NULL)) { in xfs_dir_ialloc() 288 okalloc, &ialloc_context, &call_again, &ip); in xfs_dir_ialloc() 299 ASSERT ((!call_again) && (ip != NULL)); in xfs_dir_ialloc() 307 *ipp = ip; in xfs_dir_ialloc() 321 xfs_inode_t *ip) in xfs_droplink() argument 325 xfs_ichgtime(ip, XFS_ICHGTIME_CHG); in xfs_droplink() 327 ASSERT (ip->i_d.di_nlink > 0); in xfs_droplink() 328 ip->i_d.di_nlink--; in xfs_droplink() [all …]
|
D | xfs_dfrag.c | 71 xfs_inode_t *ip=NULL, *tip=NULL, *ips[2]; in xfs_swapext() local 104 ip = XFS_BHVTOI(bdp); in xfs_swapext() 122 if (ip->i_mount != tip->i_mount) { in xfs_swapext() 127 if (ip->i_ino == tip->i_ino) { in xfs_swapext() 132 mp = ip->i_mount; in xfs_swapext() 144 if (ip->i_ino < tip->i_ino) { in xfs_swapext() 145 ips[0] = ip; in xfs_swapext() 149 ips[1] = ip; in xfs_swapext() 155 error = xfs_iaccess(ip, S_IWUSR, NULL); in xfs_swapext() 164 if ((ip->i_d.di_mode & S_IFMT) != (tip->i_d.di_mode & S_IFMT)) { in xfs_swapext() [all …]
|
D | xfs_bmap.c | 74 xfs_bmap_check_leaf_extents(xfs_btree_cur_t *cur, xfs_inode_t *ip, int whichfork); 90 xfs_inode_t *ip, /* incore inode pointer */ 101 xfs_inode_t *ip, /* incore inode pointer */ 112 xfs_inode_t *ip, /* incore inode pointer */ 128 xfs_inode_t *ip, /* incore inode pointer */ 144 xfs_inode_t *ip, /* incore inode pointer */ 157 xfs_inode_t *ip, /* incore inode pointer */ 170 xfs_inode_t *ip, /* incore inode pointer */ 193 xfs_inode_t *ip, /* incore inode pointer */ 204 xfs_inode_t *ip, /* incore inode pointer */ [all …]
|
D | xfs_iomap.c | 80 xfs_inode_t *ip = XFS_IO_INODE(io); in xfs_iomap_enter_trace() local 82 if (!ip->i_rwtrace) in xfs_iomap_enter_trace() 85 ktrace_enter(ip->i_rwtrace, in xfs_iomap_enter_trace() 87 (void *)ip, in xfs_iomap_enter_trace() 88 (void *)((unsigned long)((ip->i_d.di_size >> 32) & 0xffffffff)), in xfs_iomap_enter_trace() 89 (void *)((unsigned long)(ip->i_d.di_size & 0xffffffff)), in xfs_iomap_enter_trace() 114 xfs_inode_t *ip = XFS_IO_INODE(io); in xfs_iomap_map_trace() local 116 if (!ip->i_rwtrace) in xfs_iomap_map_trace() 119 ktrace_enter(ip->i_rwtrace, in xfs_iomap_map_trace() 121 (void *)ip, in xfs_iomap_map_trace() [all …]
|
/linux-2.4.37.9/fs/jfs/ |
D | namei.c | 64 struct inode *ip = NULL; /* child directory inode */ in jfs_create() local 85 ip = ialloc(dip, mode); in jfs_create() 86 if (ip == NULL) { in jfs_create() 94 down(&JFS_IP(ip)->commit_sem); in jfs_create() 103 tblk->ip = ip; in jfs_create() 106 iplist[1] = ip; in jfs_create() 111 xtInitRoot(tid, ip); in jfs_create() 117 ino = ip->i_ino; in jfs_create() 127 ip->i_op = &jfs_file_inode_operations; in jfs_create() 128 ip->i_fop = &jfs_file_operations; in jfs_create() [all …]
|
D | jfs_extent.c | 90 extAlloc(struct inode *ip, s64 xlen, s64 pno, xad_t * xp, boolean_t abnr) in extAlloc() argument 92 struct jfs_sb_info *sbi = JFS_SBI(ip->i_sb); in extAlloc() 98 txBeginAnon(ip->i_sb); in extAlloc() 101 down(&JFS_IP(ip)->commit_sem); in extAlloc() 142 if ((rc = extBalloc(ip, hint ? hint : INOHINT(ip), &nxlen, &nxaddr))) { in extAlloc() 143 up(&JFS_IP(ip)->commit_sem); in extAlloc() 155 rc = xtExtend(0, ip, xoff, (int) nxlen, 0); in extAlloc() 157 rc = xtInsert(0, ip, xflag, xoff, (int) nxlen, &nxaddr, 0); in extAlloc() 163 dbFree(ip, nxaddr, nxlen); in extAlloc() 164 up(&JFS_IP(ip)->commit_sem); in extAlloc() [all …]
|
D | inode.c | 212 static int jfs_get_block(struct inode *ip, long lblock, in jfs_get_block() argument 227 take_locks = (JFS_IP(ip)->fileset != AGGREGATE_I); in jfs_get_block() 234 IWRITE_LOCK(ip); in jfs_get_block() 236 IREAD_LOCK(ip); in jfs_get_block() 239 if (((lblock64 << ip->i_sb->s_blocksize_bits) < ip->i_size) && in jfs_get_block() 240 (xtLookup(ip, lblock64, 1, &xflag, &xaddr, &xlen, 0) == 0) && in jfs_get_block() 261 rc = extRecord(ip, &xad); in jfs_get_block() 267 bh_result->b_dev = ip->i_dev; in jfs_get_block() 279 if ((rc = extHint(ip, lblock64 << ip->i_sb->s_blocksize_bits, &xad))) in jfs_get_block() 281 rc = extAlloc(ip, 1, lblock64, &xad, FALSE); in jfs_get_block() [all …]
|
/linux-2.4.37.9/fs/freevxfs/ |
D | vxfs_inode.c | 234 vxfs_iinit(struct inode *ip, struct vxfs_inode_info *vip) in vxfs_iinit() argument 237 ip->i_mode = vxfs_transmod(vip); in vxfs_iinit() 238 ip->i_uid = (uid_t)vip->vii_uid; in vxfs_iinit() 239 ip->i_gid = (gid_t)vip->vii_gid; in vxfs_iinit() 241 ip->i_nlink = vip->vii_nlink; in vxfs_iinit() 242 ip->i_size = vip->vii_size; in vxfs_iinit() 244 ip->i_atime = vip->vii_atime; in vxfs_iinit() 245 ip->i_ctime = vip->vii_ctime; in vxfs_iinit() 246 ip->i_mtime = vip->vii_mtime; in vxfs_iinit() 248 ip->i_blksize = PAGE_SIZE; in vxfs_iinit() [all …]
|
/linux-2.4.37.9/arch/arm/boot/compressed/ |
D | ll_char_wr.S | 38 @ Smashable regs: {r0 - r3}, [r4 - r7], (r8 - fp), [ip], (sp), [lr], (pc) 47 adr ip, LC0 48 ldmia ip, {r3, r4, r5, r6, lr} 49 sub ip, ip, r3 50 add r6, r6, ip 51 add lr, lr, ip 52 ldr r4, [r4, ip] 53 ldr r5, [r5, ip] 65 @ Smashable regs: {r0 - r3}, [r4], {r5 - r7}, (r8 - fp), [ip], (sp), {lr}, (pc) 83 @ Smashable regs: {r0 - r3}, [r4], {r5 - r7}, (r8 - fp), [ip], (sp), {lr}, (pc) [all …]
|
/linux-2.4.37.9/drivers/sound/ |
D | vidc_fill.S | 21 mov ip, #0xff00 26 and r4, ip, r4, lsl #8 34 mov ip, #0xff00 38 and r5, r4, ip 39 and r4, ip, r4, lsl #8 48 mov ip, #0xff00 52 and r4, ip, r4, lsl #8 60 mov ip, #0xff00 64 and r5, r4, ip 65 and r4, ip, r4, lsl #8 [all …]
|
/linux-2.4.37.9/drivers/usb/ |
D | auerisdn_b.c | 89 static void auerisdn_bintbo_newdata(struct auerisdn *ip) in auerisdn_bintbo_newdata() argument 92 struct urb *urbp = ip->intbo_urbp; in auerisdn_bintbo_newdata() 93 struct auerisdnbc *bc = &ip->bc[0]; /* start with B-channel 0 */ in auerisdn_bintbo_newdata() 103 if (ip->bc[1].mode != L1_MODE_NULL) { in auerisdn_bintbo_newdata() 107 if (ip->intbo_toggletimer) { in auerisdn_bintbo_newdata() 109 ip->intbo_toggletimer--; in auerisdn_bintbo_newdata() 110 i = ip->intbo_index ^ 1; /* serve both channels equal */ in auerisdn_bintbo_newdata() 113 i = bc->txfree - ip->bc[1].txfree; in auerisdn_bintbo_newdata() 119 i = ip->intbo_index ^ 1; /* serve both channels equal */ in auerisdn_bintbo_newdata() 120 if (i == ip->intbo_index) in auerisdn_bintbo_newdata() [all …]
|
/linux-2.4.37.9/arch/ppc/boot/simple/ |
D | m8260_tty.c | 33 volatile cpm2_map_t *ip; in serial_init() local 38 ip = (cpm2_map_t *)CPM_MAP_ADDR; in serial_init() 39 cp = &ip->im_cpm; in serial_init() 40 io = &ip->im_ioport; in serial_init() 58 sccp = (scc_t *)&(ip->im_scc[SCC_CONSOLE-1]); in serial_init() 59 sup = (scc_uart_t *)&ip->im_dprambase[PROFF_SCC1 + ((SCC_CONSOLE-1) << 8)]; in serial_init() 72 sp = (smc_t*)&(ip->im_smc[0]); in serial_init() 73 *(ushort *)(&ip->im_dprambase[PROFF_SMC1_BASE]) = PROFF_SMC1; in serial_init() 74 up = (smc_uart_t *)&ip->im_dprambase[PROFF_SMC1]; in serial_init() 101 rbdf = (cbd_t *)&ip->im_dprambase[dpaddr]; in serial_init() [all …]
|
/linux-2.4.37.9/drivers/video/ |
D | maxinefb.c | 99 static void maxine_set_cursor(struct maxinefb_info *ip, int on) in maxine_set_cursor() argument 101 struct maxine_cursor *c = &ip->cursor; in maxine_set_cursor() 104 ims332_position_cursor(ip->ims332, c->x, c->y); in maxine_set_cursor() 106 ims332_enable_cursor(ip->ims332, on); in maxine_set_cursor() 111 struct maxinefb_info *ip = (struct maxinefb_info *)disp->fb_info; in maxinefbcon_cursor() local 112 struct maxine_cursor *c = &ip->cursor; in maxinefbcon_cursor() 122 maxine_set_cursor(ip, 0); in maxinefbcon_cursor() 133 maxine_set_cursor(ip, c->on); in maxinefbcon_cursor() 143 struct maxinefb_info *ip = (struct maxinefb_info *)disp->fb_info; in maxinefbcon_set_font() local 144 struct maxine_cursor *c = &ip->cursor; in maxinefbcon_set_font() [all …]
|