/linux-2.4.37.9/arch/mips/kernel/ |
D | ipc.c | 25 asmlinkage int sys_ipc (uint call, int first, int second, in sys_ipc() argument 35 return sys_semtimedop (first, (struct sembuf *)ptr, second, in sys_ipc() 38 return sys_semtimedop (first, (struct sembuf *)ptr, second, in sys_ipc() 41 return sys_semget (first, second, third); in sys_ipc() 48 return sys_semctl (first, second, third, fourth); in sys_ipc() 53 second, third); in sys_ipc() 65 return sys_msgrcv (first, tmp.msgp, second, in sys_ipc() 71 second, fifth, third); in sys_ipc() 74 return sys_msgget ((key_t) first, second); in sys_ipc() 76 return sys_msgctl (first, second, (struct msqid_ds *) ptr); in sys_ipc() [all …]
|
/linux-2.4.37.9/arch/cris/kernel/ |
D | sys_cris.c | 102 asmlinkage int sys_ipc (uint call, int first, int second, in sys_ipc() argument 112 return sys_semtimedop (first, (struct sembuf *)ptr, second, NULL); in sys_ipc() 114 return sys_semtimedop (first, (struct sembuf *)ptr, second, in sys_ipc() 117 return sys_semget (first, second, third); in sys_ipc() 124 return sys_semctl (first, second, third, fourth); in sys_ipc() 129 second, third); in sys_ipc() 141 return sys_msgrcv (first, tmp.msgp, second, in sys_ipc() 147 second, fifth, third); in sys_ipc() 150 return sys_msgget ((key_t) first, second); in sys_ipc() 152 return sys_msgctl (first, second, (struct msqid_ds *) ptr); in sys_ipc() [all …]
|
/linux-2.4.37.9/arch/x86_64/ia32/ |
D | ipc32.c | 238 semctl32 (int first, int second, int third, void *uptr) in semctl32() argument 267 err = sys_semctl(first, second, third, fourth); in semctl32() 275 err = sys_semctl(first, second, third|IPC_64, fourth); in semctl32() 292 do_sys32_msgsnd (int first, int second, int third, void *uptr) in do_sys32_msgsnd() argument 299 if (second >= MAXBUF-sizeof(struct msgbuf)) in do_sys32_msgsnd() 301 p = kmalloc(second + sizeof(struct msgbuf), GFP_USER); in do_sys32_msgsnd() 305 err |= (copy_from_user(p->mtext, &up->mtext, second) ? -EFAULT : 0); in do_sys32_msgsnd() 310 err = sys_msgsnd(first, p, second, third); in do_sys32_msgsnd() 318 do_sys32_msgrcv (int first, int second, int msgtyp, int third, int version, void *uptr) in do_sys32_msgrcv() argument 338 if (second >= MAXBUF-sizeof(struct msgbuf)) in do_sys32_msgrcv() [all …]
|
/linux-2.4.37.9/arch/i386/kernel/ |
D | sys_i386.c | 132 asmlinkage int sys_ipc (uint call, int first, int second, in sys_ipc() argument 142 return sys_semtimedop (first, (struct sembuf *)ptr, second, NULL); in sys_ipc() 144 return sys_semtimedop (first, (struct sembuf *)ptr, second, in sys_ipc() 147 return sys_semget (first, second, third); in sys_ipc() 154 return sys_semctl (first, second, third, fourth); in sys_ipc() 159 second, third); in sys_ipc() 171 return sys_msgrcv (first, tmp.msgp, second, in sys_ipc() 177 second, fifth, third); in sys_ipc() 180 return sys_msgget ((key_t) first, second); in sys_ipc() 182 return sys_msgctl (first, second, (struct msqid_ds *) ptr); in sys_ipc() [all …]
|
/linux-2.4.37.9/arch/sh64/kernel/ |
D | sys_sh64.c | 203 asmlinkage int sys_ipc(uint call, int first, int second, in sys_ipc() argument 214 return sys_semop (first, (struct sembuf *)ptr, second); in sys_ipc() 216 return sys_semget (first, second, third); in sys_ipc() 223 return sys_semctl (first, second, third, fourth); in sys_ipc() 233 second, third); in sys_ipc() 245 return sys_msgrcv (first, tmp.msgp, second, in sys_ipc() 251 second, fifth, third); in sys_ipc() 254 return sys_msgget ((key_t) first, second); in sys_ipc() 256 return sys_msgctl (first, second, in sys_ipc() 268 second, &raddr); in sys_ipc() [all …]
|
/linux-2.4.37.9/arch/s390x/kernel/ |
D | sys_s390.c | 127 asmlinkage int sys_ipc (uint call, int first, long second, in sys_ipc() argument 135 return sys_semop (first, (struct sembuf *)ptr, second); in sys_ipc() 137 return sys_semget (first, second, third); in sys_ipc() 144 return sys_semctl (first, second, third, fourth); in sys_ipc() 148 second, third); in sys_ipc() 157 second, tmp.msgtyp, third); in sys_ipc() 159 return sys_msgget ((key_t) first, second); in sys_ipc() 161 return sys_msgctl (first, second, (struct msqid_ds *) ptr); in sys_ipc() 165 ret = sys_shmat (first, (char *) ptr, second, &raddr); in sys_ipc() 174 return sys_shmget (first, second, third); in sys_ipc() [all …]
|
/linux-2.4.37.9/arch/alpha/lib/ |
D | csum_partial_copy.c | 155 unsigned long second; in csum_partial_cfu_dest_aligned() local 157 err |= __get_user_u(second, src+1); in csum_partial_cfu_dest_aligned() 161 extqh(second, soff, first); in csum_partial_cfu_dest_aligned() 164 first = second; in csum_partial_cfu_dest_aligned() 174 unsigned long second; in csum_partial_cfu_dest_aligned() local 175 err |= __get_user_u(second, lastsrc); in csum_partial_cfu_dest_aligned() 178 extqh(second, soff, first); in csum_partial_cfu_dest_aligned() 267 unsigned long second, word; in csum_partial_cfu_unaligned() local 270 err |= __get_user_u(second, src+1); in csum_partial_cfu_unaligned() 274 extqh(second, soff, first); in csum_partial_cfu_unaligned() [all …]
|
/linux-2.4.37.9/arch/arm/kernel/ |
D | sys_arm.c | 163 asmlinkage int sys_ipc (uint call, int first, int second, int third, void *ptr, long fifth) in sys_ipc() argument 172 return sys_semop (first, (struct sembuf *)ptr, second); in sys_ipc() 174 return sys_semget (first, second, third); in sys_ipc() 181 return sys_semctl (first, second, third, fourth); in sys_ipc() 186 second, third); in sys_ipc() 196 return sys_msgrcv (first, tmp.msgp, second, in sys_ipc() 202 second, fifth, third); in sys_ipc() 205 return sys_msgget ((key_t) first, second); in sys_ipc() 207 return sys_msgctl (first, second, (struct msqid_ds *) ptr); in sys_ipc() 213 ret = sys_shmat (first, (char *) ptr, second, &raddr); in sys_ipc() [all …]
|
/linux-2.4.37.9/arch/sh/kernel/ |
D | sys_sh.c | 135 asmlinkage int sys_ipc(uint call, int first, int second, in sys_ipc() argument 146 return sys_semop (first, (struct sembuf *)ptr, second); in sys_ipc() 148 return sys_semget (first, second, third); in sys_ipc() 155 return sys_semctl (first, second, third, fourth); in sys_ipc() 165 second, third); in sys_ipc() 177 return sys_msgrcv (first, tmp.msgp, second, in sys_ipc() 183 second, fifth, third); in sys_ipc() 186 return sys_msgget ((key_t) first, second); in sys_ipc() 188 return sys_msgctl (first, second, in sys_ipc() 200 second, &raddr); in sys_ipc() [all …]
|
/linux-2.4.37.9/arch/ppc/kernel/ |
D | syscalls.c | 60 sys_ipc(uint call, int first, int second, int third, void *ptr, long fifth) in sys_ipc() argument 70 ret = sys_semtimedop(first, (struct sembuf *)ptr, second, NULL); in sys_ipc() 73 ret = sys_semtimedop(first, (struct sembuf *)ptr, second, in sys_ipc() 77 ret = sys_semget(first, second, third); in sys_ipc() 87 ret = sys_semctl(first, second, third, fourth); in sys_ipc() 91 ret = sys_msgsnd(first, (struct msgbuf *) ptr, second, third); in sys_ipc() 105 ret = sys_msgrcv(first, tmp.msgp, second, tmp.msgtyp, in sys_ipc() 111 second, fifth, third); in sys_ipc() 116 ret = sys_msgget((key_t) first, second); in sys_ipc() 119 ret = sys_msgctl(first, second, (struct msqid_ds *) ptr); in sys_ipc() [all …]
|
/linux-2.4.37.9/arch/ppc64/kernel/ |
D | syscalls.c | 66 sys_ipc (uint call, int first, int second, long third, void *ptr, long fifth) in sys_ipc() argument 78 ret = sys_semop (first, (struct sembuf *)ptr, second); in sys_ipc() 81 ret = sys_semget (first, second, third); in sys_ipc() 91 ret = sys_semctl (first, second, third, fourth); in sys_ipc() 95 ret = sys_msgsnd (first, (struct msgbuf *) ptr, second, third); in sys_ipc() 110 second, tmp.msgtyp, third); in sys_ipc() 115 second, fifth, third); in sys_ipc() 120 ret = sys_msgget ((key_t) first, second); in sys_ipc() 123 ret = sys_msgctl (first, second, (struct msqid_ds *) ptr); in sys_ipc() 133 ret = sys_shmat (first, (char *) ptr, second, &raddr); in sys_ipc() [all …]
|
/linux-2.4.37.9/arch/mips64/kernel/ |
D | syscall.c | 257 asmlinkage int sys_ipc (uint call, int first, int second, in sys_ipc() argument 267 return sys_semop (first, (struct sembuf *)ptr, second); in sys_ipc() 269 return sys_semget (first, second, third); in sys_ipc() 276 return sys_semctl (first, second, third, fourth); in sys_ipc() 281 second, third); in sys_ipc() 293 return sys_msgrcv (first, tmp.msgp, second, in sys_ipc() 299 second, fifth, third); in sys_ipc() 302 return sys_msgget ((key_t) first, second); in sys_ipc() 304 return sys_msgctl (first, second, (struct msqid_ds *) ptr); in sys_ipc() 310 ret = sys_shmat (first, (char *) ptr, second, &raddr); in sys_ipc() [all …]
|
/linux-2.4.37.9/arch/s390/kernel/ |
D | sys_s390.c | 142 asmlinkage int sys_ipc (uint call, int first, int second, in sys_ipc() argument 150 return sys_semop (first, (struct sembuf *)ptr, second); in sys_ipc() 152 return sys_semget (first, second, third); in sys_ipc() 159 return sys_semctl (first, second, third, fourth); in sys_ipc() 163 second, third); in sys_ipc() 172 second, tmp.msgtyp, third); in sys_ipc() 174 return sys_msgget ((key_t) first, second); in sys_ipc() 176 return sys_msgctl (first, second, (struct msqid_ds *) ptr); in sys_ipc() 180 ret = sys_shmat (first, (char *) ptr, second, &raddr); in sys_ipc() 189 return sys_shmget (first, second, third); in sys_ipc() [all …]
|
/linux-2.4.37.9/arch/mips/ddb5xxx/common/ |
D | rtc_ds1386.c | 48 unsigned int year, month, day, hour, minute, second; in rtc_ds1386_get_time() local 60 second = BCD_TO_BIN(READ_RTC(0x1)); in rtc_ds1386_get_time() 79 return mktime(year, month, day, hour, minute, second); in rtc_ds1386_get_time() 88 u8 year, month, day, hour, minute, second; in rtc_ds1386_set_time() local 137 second = BIN_TO_BCD(tm.tm_sec); in rtc_ds1386_set_time() 138 if (second != READ_RTC(0x1)) { in rtc_ds1386_set_time() 139 WRITE_RTC(0x1, second); in rtc_ds1386_set_time()
|
/linux-2.4.37.9/arch/mips/pmc-sierra/big_sur/ |
D | setup.c | 65 unsigned int year, month, day, hour, minute, second; in rtc_ds_get_time() local 70 second = BCD_TO_BIN(BIG_SUR_RTC_READ(0x7f8 + 1) & 0x7f); in rtc_ds_get_time() 81 return mktime(year, month, day, hour, minute, second); in rtc_ds_get_time() 89 u8 year, month, day, hour, minute, second; in rtc_ds_set_time() local 143 second = BIN_TO_BCD(tm.tm_sec); in rtc_ds_set_time() 144 if (second != cmos_second) { in rtc_ds_set_time() 145 BIG_SUR_RTC_WRITE(second, (0x7f8 + 1)); in rtc_ds_set_time()
|
/linux-2.4.37.9/arch/sparc/kernel/ |
D | sys_sparc.c | 116 asmlinkage int sys_ipc (uint call, int first, int second, int third, void *ptr, long fifth) in sys_ipc() argument 126 err = sys_semtimedop (first, (struct sembuf *)ptr, second, NULL); in sys_ipc() 129 err = sys_semtimedop (first, (struct sembuf *)ptr, second, (const struct timespec *) fifth); in sys_ipc() 132 err = sys_semget (first, second, third); in sys_ipc() 142 err = sys_semctl (first, second, third, fourth); in sys_ipc() 153 second, third); in sys_ipc() 165 err = sys_msgrcv (first, tmp.msgp, second, tmp.msgtyp, third); in sys_ipc() 169 err = sys_msgrcv (first, (struct msgbuf *) ptr, second, fifth, third); in sys_ipc() 173 err = sys_msgget ((key_t) first, second); in sys_ipc() 176 err = sys_msgctl (first, second, (struct msqid_ds *) ptr); in sys_ipc() [all …]
|
/linux-2.4.37.9/drivers/ide/pci/ |
D | opti621.c | 254 pio_clocks_t first, second; in opti621_tune_drive() local 265 compute_clocks(pio2, &second); in opti621_tune_drive() 268 ax = (first.address_time < second.address_time) ? second.address_time : first.address_time; in opti621_tune_drive() 273 cycle2 = ((second.data_time-1)<<4) | (second.recovery_time-2); in opti621_tune_drive() 283 hwif->name, ax, second.data_time, in opti621_tune_drive() 284 second.recovery_time, drdy); in opti621_tune_drive()
|
/linux-2.4.37.9/arch/m68k/kernel/ |
D | sys_m68k.c | 182 asmlinkage int sys_ipc (uint call, int first, int second, in sys_ipc() argument 193 return sys_semop (first, (struct sembuf *)ptr, second); in sys_ipc() 195 return sys_semget (first, second, third); in sys_ipc() 202 return sys_semctl (first, second, third, fourth); in sys_ipc() 211 second, third); in sys_ipc() 222 return sys_msgrcv (first, tmp.msgp, second, in sys_ipc() 228 second, fifth, third); in sys_ipc() 231 return sys_msgget ((key_t) first, second); in sys_ipc() 233 return sys_msgctl (first, second, in sys_ipc() 245 second, &raddr); in sys_ipc() [all …]
|
/linux-2.4.37.9/drivers/char/ |
D | ds1742.c | 108 unsigned int year, month, day, hour, minute, second; in rtc_ds1742_get_time() local 112 second = BCD_TO_BIN(CMOS_READ(RTC_SECONDS) & RTC_SECONDS_MASK); in rtc_ds1742_get_time() 123 return mktime(year, month, day, hour, minute, second); in rtc_ds1742_get_time() 129 u8 year, month, day, hour, minute, second; in rtc_ds1742_set_time() local 181 second = BIN_TO_BCD(tm.tm_sec); in rtc_ds1742_set_time() 182 if (second != cmos_second) { in rtc_ds1742_set_time() 183 CMOS_WRITE(second & RTC_SECONDS_MASK,RTC_SECONDS); in rtc_ds1742_set_time()
|
/linux-2.4.37.9/fs/isofs/ |
D | util.c | 20 int year, month, day, hour, minute, second, tz; in iso_date() local 28 second = p[5]; in iso_date() 46 + second; in iso_date()
|
/linux-2.4.37.9/drivers/media/video/ |
D | msp3400.c | 80 int main, second; /* sound carrier */ member 497 msp3400c_setcarrier(client,msp->second,msp->main); in msp3400c_setstereo() 530 msp3400c_setcarrier(client,msp->second,msp->main); in msp3400c_setstereo() 594 if (msp->main == msp->second) { in msp3400c_print_mode() 604 msp->second/910000,(msp->second/910)%1000); in msp3400c_print_mode() 607 msp->second/910000,(msp->second/910)%1000); in msp3400c_print_mode() 609 msp->main != msp->second) { in msp3400c_print_mode() 611 msp->second/910000,(msp->second/910)%1000); in msp3400c_print_mode() 899 msp->second = carrier_detect_55[max2].cdo; in msp3400c_thread() 906 msp->second = carrier_detect_55[max2].cdo; in msp3400c_thread() [all …]
|
/linux-2.4.37.9/arch/sparc64/kernel/ |
D | sys_sparc.c | 176 asmlinkage int sys_ipc (unsigned call, int first, int second, unsigned long third, void *ptr, long … in sys_ipc() argument 185 err = sys_semtimedop (first, (struct sembuf *)ptr, second, NULL); in sys_ipc() 188 err = sys_semtimedop (first, (struct sembuf *)ptr, second, (const struct timespec *) fifth); in sys_ipc() 191 err = sys_semget (first, second, (int)third); in sys_ipc() 201 err = sys_semctl (first, second | IPC_64, (int)third, fourth); in sys_ipc() 212 second, (int)third); in sys_ipc() 215 err = sys_msgrcv (first, (struct msgbuf *) ptr, second, fifth, (int)third); in sys_ipc() 218 err = sys_msgget ((key_t) first, second); in sys_ipc() 221 err = sys_msgctl (first, second | IPC_64, (struct msqid_ds *) ptr); in sys_ipc() 231 err = sys_shmat (first, (char *) ptr, second, &raddr); in sys_ipc() [all …]
|
/linux-2.4.37.9/drivers/cdrom/ |
D | mcdx.c | 394 stuffp->stop.dt.second = msf->cdmsf_sec1; in mcdx_audio_ioctl() 431 entry->cdte_addr.msf.second = in mcdx_audio_ioctl() 432 bcd2uint(tp->dt.second); in mcdx_audio_ioctl() 462 sub->cdsc_absaddr.msf.second = in mcdx_audio_ioctl() 463 bcd2uint(q.dt.second); in mcdx_audio_ioctl() 467 sub->cdsc_reladdr.msf.second = in mcdx_audio_ioctl() 468 bcd2uint(q.tt.second); in mcdx_audio_ioctl() 473 sub->cdsc_absaddr.msf.second, in mcdx_audio_ioctl() 476 sub->cdsc_reladdr.msf.second, in mcdx_audio_ioctl() 521 stuffp->multi.msf_last.second, in mcdx_audio_ioctl() [all …]
|
D | optcd.c | 579 + addr->msf.second * CD_FRAMES in msf2lba() 589 addr->msf.second = bcd2bin(addr->msf.second); in msf_bcd2bin() 667 qp->cdsc_reladdr.msf.second = d5; in get_q_channel() 687 qp->cdsc_absaddr.msf.second = d9; in get_q_channel() 753 toc[i].cdsc_reladdr.msf.second, in toc_debug_info() 756 toc[i].cdsc_absaddr.msf.second, in toc_debug_info() 817 disk_info.first_track.second = in read_toc() 818 toc[disk_info.first].cdsc_absaddr.msf.second; in read_toc() 825 disk_info.disk_length.second = in read_toc() 826 toc[QINFO_DISKLENGTH].cdsc_absaddr.msf.second-2; in read_toc() [all …]
|
/linux-2.4.37.9/drivers/scsi/ |
D | README.aha152x | 41 override for the second controller 72 configuration override for second controller 77 IOPORT for first and second controller 80 IRQ for first and second controller 83 SCSIID for first and second controller 86 allow targets to disconnect for first and second controller 89 use parity for first and second controller 92 enable synchronous transfers for first and second controller 95 reset DELAY for first and second controller 98 enable extended translation for first and second controller
|