/linux-2.4.37.9/kernel/ |
D | user.c | 38 static inline void uid_hash_insert(struct user_struct *up, struct user_struct **hashent) in uid_hash_insert() argument 42 up->next = next; in uid_hash_insert() 44 next->pprev = &up->next; in uid_hash_insert() 45 up->pprev = hashent; in uid_hash_insert() 46 *hashent = up; in uid_hash_insert() 49 static inline void uid_hash_remove(struct user_struct *up) in uid_hash_remove() argument 51 struct user_struct *next = up->next; in uid_hash_remove() 52 struct user_struct **pprev = up->pprev; in uid_hash_remove() 65 struct user_struct *up = next; in uid_hash_find() local 67 next = up->next; in uid_hash_find() [all …]
|
/linux-2.4.37.9/drivers/scsi/ |
D | aha1542.h | 95 #define any2scsi(up, p) \ argument 96 (up)[0] = (((unsigned long)(p)) >> 16) ; \ 97 (up)[1] = (((unsigned long)(p)) >> 8); \ 98 (up)[2] = ((unsigned long)(p)); 100 #define scsi2int(up) ( (((long)*(up)) << 16) + (((long)(up)[1]) << 8) + ((long)(up)[2]) ) argument 102 #define xany2scsi(up, p) \ argument 103 (up)[0] = ((long)(p)) >> 24; \ 104 (up)[1] = ((long)(p)) >> 16; \ 105 (up)[2] = ((long)(p)) >> 8; \ 106 (up)[3] = ((long)(p)); [all …]
|
D | aha1740.h | 90 #define any2scsi(up, p) \ argument 91 (up)[0] = (((unsigned long)(p)) >> 16) ; \ 92 (up)[1] = (((unsigned long)(p)) >> 8); \ 93 (up)[2] = ((unsigned long)(p)); 95 #define scsi2int(up) ( (((long)*(up)) << 16) + (((long)(up)[1]) << 8) + ((long)(up)[2]) ) argument 97 #define xany2scsi(up, p) \ argument 98 (up)[0] = ((long)(p)) >> 24; \ 99 (up)[1] = ((long)(p)) >> 16; \ 100 (up)[2] = ((long)(p)) >> 8; \ 101 (up)[3] = ((long)(p)); [all …]
|
D | pci2000.h | 60 #define ANY2SCSI(up, p) \ argument 61 ((UCHAR *)up)[0] = (((ULONG)(p)) >> 8); \ 62 ((UCHAR *)up)[1] = ((ULONG)(p)); 64 #define SCSI2LONG(up) \ argument 65 ( (((long)*(((UCHAR *)up))) << 16) \ 66 + (((long)(((UCHAR *)up)[1])) << 8) \ 67 + ((long)(((UCHAR *)up)[2])) ) 69 #define XANY2SCSI(up, p) \ argument 70 ((UCHAR *)up)[0] = ((long)(p)) >> 24; \ 71 ((UCHAR *)up)[1] = ((long)(p)) >> 16; \ [all …]
|
D | psi240i.h | 57 #define ANY2SCSI(up, p) \ argument 58 ((UCHAR *)up)[0] = (((ULONG)(p)) >> 8); \ 59 ((UCHAR *)up)[1] = ((ULONG)(p)); 61 #define SCSI2LONG(up) \ argument 62 ( (((long)*(((UCHAR *)up))) << 16) \ 63 + (((long)(((UCHAR *)up)[1])) << 8) \ 64 + ((long)(((UCHAR *)up)[2])) ) 66 #define XANY2SCSI(up, p) \ argument 67 ((UCHAR *)up)[0] = ((long)(p)) >> 24; \ 68 ((UCHAR *)up)[1] = ((long)(p)) >> 16; \ [all …]
|
D | psi_dale.h | 298 #define ANY2SCSI(up, p) \ argument 299 ((UCHAR *)up)[0] = (((ULONG)(p)) >> 8); \ 300 ((UCHAR *)up)[1] = ((ULONG)(p)); 302 #define SCSI2LONG(up) \ argument 303 ( (((long)*(((UCHAR *)up))) << 16) \ 304 + (((long)(((UCHAR *)up)[1])) << 8) \ 305 + ((long)(((UCHAR *)up)[2])) ) 307 #define XANY2SCSI(up, p) \ argument 308 ((UCHAR *)up)[0] = ((long)(p)) >> 24; \ 309 ((UCHAR *)up)[1] = ((long)(p)) >> 16; \ [all …]
|
/linux-2.4.37.9/arch/ppc/boot/simple/ |
D | m8xx_tty.c | 39 volatile smc_uart_t *up; local 49 up = (smc_uart_t *)&cp->cp_dparam[PROFF_CONS]; 106 up->smc_rbase = dpaddr; 107 up->smc_tbase = dpaddr+sizeof(cbd_t); 108 up->smc_rfcr = SMC_EB; 109 up->smc_tfcr = SMC_EB; 175 up->smc_rbase = dpaddr; 176 up->smc_tbase = dpaddr+sizeof(cbd_t); 177 up->smc_rfcr = SMC_EB; 178 up->smc_tfcr = SMC_EB; [all …]
|
D | m8260_tty.c | 27 volatile smc_uart_t *up; in serial_init() local 74 up = (smc_uart_t *)&ip->im_dprambase[PROFF_SMC1]; in serial_init() 166 up->smc_rbase = dpaddr; in serial_init() 167 up->smc_tbase = dpaddr+sizeof(cbd_t); in serial_init() 168 up->smc_rfcr = CPMFCR_EB; in serial_init() 169 up->smc_tfcr = CPMFCR_EB; in serial_init() 170 up->smc_brklen = 0; in serial_init() 171 up->smc_brkec = 0; in serial_init() 172 up->smc_brkcr = 0; in serial_init() 173 up->smc_mrblr = 128; in serial_init() [all …]
|
/linux-2.4.37.9/drivers/usb/ |
D | auerchar.c | 127 up(&auerdev_table_mutex); in auerchar_open() 131 up(&auerdev_table_mutex); in auerchar_open() 134 up(&auerdev_table_mutex); in auerchar_open() 164 up(&cp->mutex); in auerchar_open() 172 ofail:up(&cp->mutex); in auerchar_open() 195 up(&ccp->mutex); in auerchar_ioctl() 199 up(&ccp->mutex); in auerchar_ioctl() 205 up(&cp->mutex); in auerchar_ioctl() 206 up(&ccp->mutex); in auerchar_ioctl() 308 up(&cp->mutex); in auerchar_ioctl() [all …]
|
D | mdc800.c | 509 up (&mdc800->io_lock); in mdc800_usb_probe() 537 up (&mdc800->io_lock); in mdc800_usb_disconnect() 621 up (&mdc800->io_lock); in mdc800_device_open() 647 up(&mdc800->io_lock); in mdc800_device_release() 664 up (&mdc800->io_lock); in mdc800_device_read() 670 up (&mdc800->io_lock); in mdc800_device_read() 675 up (&mdc800->io_lock); in mdc800_device_read() 683 up (&mdc800->io_lock); in mdc800_device_read() 702 up (&mdc800->io_lock); in mdc800_device_read() 717 up (&mdc800->io_lock); in mdc800_device_read() [all …]
|
D | scanner.c | 481 up(&scn_mutex); in open_scanner() 492 up(&scn_mutex); /* Now handled by the above */ in open_scanner() 521 up(&(scn->sem)); /* Wake up any possible contending processes */ in open_scanner() 538 up(&(scn->sem)); in close_scanner() 543 up(&(scn->sem)); in close_scanner() 572 up(&(scn->sem)); in write_scanner() 578 up(&(scn->sem)); in write_scanner() 642 up(&(scn->sem)); in write_scanner() 672 up(&(scn->sem)); in read_scanner() 768 up(&(scn->sem)); in read_scanner() [all …]
|
D | rio500.c | 269 up(&(rio->lock)); in ioctl_rio() 293 up(&(rio->lock)); in write_rio() 316 up(&(rio->lock)); in write_rio() 350 up(&(rio->lock)); in write_rio() 355 up(&(rio->lock)); in write_rio() 376 up(&(rio->lock)); in read_rio() 387 up(&(rio->lock)); in read_rio() 391 up(&(rio->lock)); in read_rio() 408 up(&(rio->lock)); in read_rio() 416 up(&(rio->lock)); in read_rio() [all …]
|
D | usb-skeleton.c | 260 up (&minor_table_mutex); in skel_open() 269 up (&minor_table_mutex); in skel_open() 278 up (&dev->sem); in skel_open() 314 up (&dev->sem); in skel_release() 316 up (&minor_table_mutex); in skel_release() 333 up (&dev->sem); in skel_release() 334 up (&minor_table_mutex); in skel_release() 357 up (&dev->sem); in skel_read() 377 up (&dev->sem); in skel_read() 447 up (&dev->sem); in skel_write() [all …]
|
D | dc2xx.c | 172 up (&camera->sem); in camera_read() 208 up (&camera->sem); in camera_read() 224 up (&camera->sem); in camera_write() 289 up (&camera->sem); in camera_write() 304 up (&state_table_mutex); in camera_open() 308 up (&state_table_mutex); in camera_open() 324 up (&camera->sem); in camera_open() 348 up (&camera->sem); in camera_release() 350 up (&state_table_mutex); in camera_release() 475 up (&state_table_mutex); in camera_probe() [all …]
|
/linux-2.4.37.9/arch/mips/lasat/ |
D | sysctl.c | 55 up(&lasat_info_sem); in sysctl_lasatstring() 61 up(&lasat_info_sem); in sysctl_lasatstring() 74 up(&lasat_info_sem); in proc_dolasatstring() 78 up(&lasat_info_sem); in proc_dolasatstring() 90 up(&lasat_info_sem); in proc_dolasatint() 94 up(&lasat_info_sem); in proc_dolasatint() 107 up(&lasat_info_sem); in sysctl_lasat_intvec() 113 up(&lasat_info_sem); in sysctl_lasat_intvec() 155 up(&lasat_info_sem); in proc_lasat_ip() 166 up(&lasat_info_sem); in proc_lasat_ip() [all …]
|
/linux-2.4.37.9/fs/hpfs/ |
D | dnode.c | 206 if (dd->up != dno || dd->root_dnode) { in fix_up_ptrs() 207 dd->up = dno; in fix_up_ptrs() 284 if (!(ad = hpfs_alloc_dnode(i->i_sb, d->up, &adno, &qbh1, 0))) { in hpfs_add_to_dnode() 311 dno = ad->up = d->up; in hpfs_add_to_dnode() 318 if (!(rd = hpfs_alloc_dnode(i->i_sb, d->up, &rdno, &qbh2, 0))) { in hpfs_add_to_dnode() 329 rd->up = d->up; in hpfs_add_to_dnode() 330 if (!(fnode = hpfs_map_fnode(i->i_sb, d->up, &bh))) { in hpfs_add_to_dnode() 342 d->up = ad->up = i->i_hpfs_dno = rdno; in hpfs_add_to_dnode() 427 if (dnode->up != chk_up) { in move_to_top() 429 dno, chk_up, dnode->up); in move_to_top() [all …]
|
D | buffer.c | 55 if (i) up(&i->i_hpfs_sem); in hpfs_unlock_inode() 73 if (!i1) { if (i2) up(&i2->i_hpfs_sem); return; } in hpfs_unlock_2inodes() 74 if (!i2) { if (i1) up(&i1->i_hpfs_sem); return; } in hpfs_unlock_2inodes() 76 up(&i2->i_hpfs_sem); in hpfs_unlock_2inodes() 77 up(&i1->i_hpfs_sem); in hpfs_unlock_2inodes() 79 up(&i1->i_hpfs_sem); in hpfs_unlock_2inodes() 80 up(&i2->i_hpfs_sem); in hpfs_unlock_2inodes() 81 } else up(&i1->i_hpfs_sem); in hpfs_unlock_2inodes() 109 up(&i1->i_hpfs_sem); in hpfs_unlock_3inodes() 112 up(&i2->i_hpfs_sem); in hpfs_unlock_3inodes() [all …]
|
/linux-2.4.37.9/fs/jfs/ |
D | jfs_unicode.h | 129 wchar_t *up; in UniStrupr() local 131 up = upin; in UniStrupr() 132 while (*up) { /* For all characters */ in UniStrupr() 133 *up = UniToupper(*up); in UniStrupr() 134 up++; in UniStrupr()
|
/linux-2.4.37.9/drivers/usb/host/ |
D | uhci-debug.h | 481 struct uhci_proc *up; in uhci_proc_open() local 486 up = kmalloc(sizeof(*up), GFP_KERNEL); in uhci_proc_open() 487 if (!up) in uhci_proc_open() 490 up->data = kmalloc(MAX_OUTPUT, GFP_KERNEL); in uhci_proc_open() 491 if (!up->data) { in uhci_proc_open() 492 kfree(up); in uhci_proc_open() 497 up->size = uhci_sprint_schedule(uhci, up->data, MAX_OUTPUT); in uhci_proc_open() 500 file->private_data = up; in uhci_proc_open() 510 struct uhci_proc *up = file->private_data; in uhci_proc_lseek() local 524 if (new < 0 || new > up->size) in uhci_proc_lseek() [all …]
|
/linux-2.4.37.9/arch/sh/kernel/ |
D | led_7751se.c | 35 static unsigned bit = 0, up = 1; in heartbeat_7751se() local 50 if (up) { in heartbeat_7751se() 53 up=0; in heartbeat_7751se() 60 up=1; in heartbeat_7751se()
|
D | led_se.c | 42 static unsigned bit = 0, up = 1; in heartbeat_se() local 57 if (up) { in heartbeat_se() 60 up=0; in heartbeat_se() 67 up=1; in heartbeat_se()
|
/linux-2.4.37.9/fs/devfs/ |
D | util.c | 271 up (semaphore); in devfs_alloc_devnum() 279 up (semaphore); in devfs_alloc_devnum() 286 up (semaphore); in devfs_alloc_devnum() 293 up (semaphore); in devfs_alloc_devnum() 301 up (semaphore); in devfs_alloc_devnum() 343 up (semaphore); in devfs_dealloc_devnum() 348 up (semaphore); in devfs_dealloc_devnum() 385 up (&space->semaphore); in devfs_alloc_unique_number() 401 up (&space->semaphore); in devfs_alloc_unique_number() 423 up (&space->semaphore); in devfs_dealloc_unique_number()
|
/linux-2.4.37.9/drivers/mtd/ |
D | mtdcore.c | 60 up(&mtd_table_mutex); in add_mtd_device() 65 up(&mtd_table_mutex); in add_mtd_device() 96 up (&mtd_table_mutex); in del_mtd_device() 102 up(&mtd_table_mutex); in del_mtd_device() 130 up(&mtd_table_mutex); in register_mtd_user() 161 up(&mtd_table_mutex); in unregister_mtd_user() 166 up(&mtd_table_mutex); in unregister_mtd_user() 201 up(&mtd_table_mutex); in __get_mtd_device() 302 up(&mtd_table_mutex); in mtd_pm_callback() 358 up(&mtd_table_mutex); in mtd_read_proc()
|
/linux-2.4.37.9/arch/parisc/kernel/ |
D | signal32.c | 21 put_old_sigset32(old_sigset_t32 *up, old_sigset_t *set) in put_old_sigset32() argument 24 return put_user(set32, up); in put_old_sigset32() 28 get_old_segset32(old_sigset_t32 *up, old_sigset_t *set) in get_old_segset32() argument 33 if ((r = get_user(set32, up)) == 0) in get_old_segset32() 85 put_sigset32(sigset_t32 *up, sigset_t *set, size_t sz) in put_sigset32() argument 92 return copy_to_user(up, &s, sizeof s); in put_sigset32() 96 get_sigset32(sigset_t32 *up, sigset_t *set, size_t sz) in get_sigset32() argument 103 if ((r = copy_from_user(&s, up, sz)) == 0) { in get_sigset32()
|
/linux-2.4.37.9/fs/jffs2/ |
D | dir.c | 117 up(&dir_f->sem); in jffs2_lookup() 183 up(&f->sem); in jffs2_readdir() 250 up(&f->sem); in jffs2_create() 264 up(&f->sem); in jffs2_create() 312 up(&dir_f->sem); in jffs2_create() 324 up(&dir_f->sem); in jffs2_create() 380 up(&dir_f->sem); in jffs2_do_unlink() 386 up(&dir_f->sem); in jffs2_do_unlink() 411 up(&f->sem); in jffs2_do_unlink() 472 up(&dir_f->sem); in jffs2_do_link() [all …]
|