/linux-2.4.37.9/net/core/ |
D | iovec.c | 90 int copy = min_t(unsigned int, iov->iov_len, len); in memcpy_toiovec() 117 int copy = min_t(unsigned int, iov->iov_len, len); in memcpy_tokerneliovec() 143 int copy = min_t(unsigned int, len, iov->iov_len); in memcpy_fromiovec() 178 int copy = min_t(unsigned int, len, iov->iov_len - offset); in memcpy_fromiovecend() 217 int copy = min_t(unsigned int, len, iov->iov_len - offset); in csum_partial_copy_fromiovecend()
|
/linux-2.4.37.9/net/khttpd/ |
D | rfc.c | 329 Head->FileNameLength = min_t(unsigned int, 255, tmp - Buffer + PrefixLen); in ParseHeader() 331 strncat(Head->FileName,Buffer,min_t(unsigned int, 255 - PrefixLen, tmp - Buffer)); in ParseHeader() 344 strncpy(Head->IMS,Buffer,min_t(unsigned int, 127,EOL-Buffer-1)); in ParseHeader() 354 strncpy(Head->Agent,Buffer,min_t(unsigned int, 127,EOL-Buffer-1)); in ParseHeader() 365 strncpy(Head->Host,Buffer,min_t(unsigned int, 127,EOL-Buffer-1)); in ParseHeader()
|
D | datasending.c | 108 ReadSize = min_t(int, 4 * 4096, CurrentRequest->FileLength - CurrentRequest->BytesSent); in DataSending() 109 ReadSize = min_t(int, ReadSize, Space); in DataSending()
|
D | waitheaders.c | 253 time_Unix2RFC(min_t(unsigned int, Request->Time,CurrentTime_i),Request->TimeS); in DecodeHeader()
|
/linux-2.4.37.9/drivers/sound/dmasound/ |
D | trans_16.c | 77 used = count = min_t(unsigned long, userCount, frameLeft); in pmac_ct_law() 108 used = count = min_t(unsigned long, userCount, frameLeft); in pmac_ct_s8() 139 used = count = min_t(unsigned long, userCount, frameLeft); in pmac_ct_u8() 169 used = count = min_t(unsigned long, userCount, frameLeft); in pmac_ct_s16() 200 used = count = min_t(unsigned long, userCount, frameLeft); in pmac_ct_u16() 459 used = count = min_t(unsigned long, userCount, frameLeft); in pmac_ct_s8_read() 492 used = count = min_t(unsigned long, userCount, frameLeft); in pmac_ct_u8_read() 523 used = count = min_t(unsigned long, userCount, frameLeft); in pmac_ct_s16_read() 554 used = count = min_t(unsigned long, userCount, frameLeft); in pmac_ct_u16_read()
|
D | dmasound_paula.c | 167 count = min_t(unsigned long, userCount, frameLeft) & ~1; in ami_ct_s8() 174 count = min_t(unsigned long, userCount, frameLeft)>>1 & ~1; in ami_ct_s8() 201 count = min_t(size_t, userCount, frameLeft) & ~1; \ 213 count = min_t(size_t, userCount, frameLeft)>>1 & ~1; \ 254 count = min_t(size_t, userCount, frameLeft)>>1 & ~1; \ 269 count = min_t(size_t, userCount, frameLeft)>>2 & ~1; \
|
D | dmasound_atari.c | 164 count = min_t(unsigned long, userCount, frameLeft); in ata_ct_law() 187 count = min_t(unsigned long, userCount, frameLeft); in ata_ct_s8() 206 count = min_t(unsigned long, userCount, frameLeft); in ata_ct_u8() 217 count = min_t(unsigned long, userCount, frameLeft)>>1; in ata_ct_u8() 240 count = min_t(unsigned long, userCount, frameLeft)>>1; in ata_ct_s16be() 253 count = min_t(unsigned long, userCount, frameLeft) & ~3; in ata_ct_s16be() 271 count = min_t(unsigned long, userCount, frameLeft)>>1; in ata_ct_u16be() 285 count = min_t(unsigned long, userCount, frameLeft)>>2; in ata_ct_u16be() 309 count = min_t(unsigned long, userCount, frameLeft)>>1; in ata_ct_s16le() 323 count = min_t(unsigned long, userCount, frameLeft)>>2; in ata_ct_s16le() [all …]
|
D | dmasound_q40.c | 70 used = count = min_t(size_t, userCount, frameLeft); in q40_ct_law() 90 used = count = min_t(size_t, userCount, frameLeft); in q40_ct_s8() 109 used = count = min_t(size_t, userCount, frameLeft); in q40_ct_u8()
|
/linux-2.4.37.9/fs/romfs/ |
D | inode.c | 127 if (romfs_checksum(rsb, min_t(int, sz, 512))) { in romfs_read_super() 196 maxsize = min_t(unsigned long, count, avail); in romfs_strnlen() 209 maxsize = min_t(unsigned long, count - res, ROMBSIZE); in romfs_strnlen() 234 maxsize = min_t(unsigned long, count, avail); in romfs_copyfrom() 247 maxsize = min_t(unsigned long, count - res, ROMBSIZE); in romfs_copyfrom() 411 readlen = min_t(unsigned long, avail, PAGE_SIZE); in romfs_readpage()
|
/linux-2.4.37.9/drivers/net/wan/ |
D | cycx_x25.c | 263 card->u.x.hi_pvc = min_t(unsigned int, conf->u.x25.hi_pvc, 4095); in cyx_init() 264 card->u.x.lo_pvc = min_t(unsigned int, conf->u.x25.lo_pvc, card->u.x.hi_pvc); in cyx_init() 268 card->u.x.hi_svc = min_t(unsigned int, conf->u.x25.hi_svc, 4095); in cyx_init() 269 card->u.x.lo_svc = min_t(unsigned int, conf->u.x25.lo_svc, card->u.x.hi_svc); in cyx_init() 280 cfg.n2win = min_t(unsigned int, conf->u.x25.hdlc_window, 7); in cyx_init() 283 cfg.n3win = min_t(unsigned int, conf->u.x25.pkt_window, 7); in cyx_init() 286 cfg.t1 = min_t(unsigned int, conf->u.x25.t1, 30); in cyx_init() 289 cfg.t2 = min_t(unsigned int, conf->u.x25.t2, 30); in cyx_init() 292 cfg.t21 = min_t(unsigned int, conf->u.x25.t11_t21, 30); in cyx_init() 295 cfg.t23 = min_t(unsigned int, conf->u.x25.t13_t23, 30); in cyx_init() [all …]
|
D | sdla_x25.c | 657 card->u.x.hi_pvc = min_t(unsigned int, conf->u.x25.hi_pvc, MAX_LCN_NUM); in wpx_init() 658 card->u.x.lo_pvc = min_t(unsigned int, conf->u.x25.lo_pvc, card->u.x.hi_pvc); in wpx_init() 662 card->u.x.hi_svc = min_t(unsigned int, conf->u.x25.hi_svc, MAX_LCN_NUM); in wpx_init() 663 card->u.x.lo_svc = min_t(unsigned int, conf->u.x25.lo_svc, card->u.x.hi_svc); in wpx_init() 688 u.cfg.hdlcWindow = min_t(unsigned int, conf->u.x25.hdlc_window, 7); in wpx_init() 690 u.cfg.pktWindow = min_t(unsigned int, conf->u.x25.pkt_window, 7); in wpx_init() 693 u.cfg.t1 = min_t(unsigned int, conf->u.x25.t1, 30); in wpx_init() 695 u.cfg.t2 = min_t(unsigned int, conf->u.x25.t2, 29); in wpx_init() 697 u.cfg.t4 = min_t(unsigned int, conf->u.x25.t4, 240); in wpx_init() 699 u.cfg.n2 = min_t(unsigned int, conf->u.x25.n2, 30); in wpx_init() [all …]
|
D | comx-hw-locomx.c | 326 return min_t(int, count, len - off); in locomx_read_proc() 341 copy_from_user(page, buffer, count = min_t(unsigned long, count, PAGE_SIZE)); in locomx_write_proc()
|
D | comx.c | 155 to_copy = min_t(int, free ? free : ch->debug_size, in comx_debug() 156 min_t(int, ch->debug_size - ch->debug_end, len)); in comx_debug() 571 return min_t(int, count, len - off); in comx_read_proc() 601 return min_t(int, count, len - off); in comx_root_read_proc()
|
/linux-2.4.37.9/fs/ufs/ |
D | util.c | 174 len = min_t(unsigned int, size, uspi->s_fsize); in _ubh_ubhcpymem_() 190 len = min_t(unsigned int, size, uspi->s_fsize); in _ubh_memcpyubh_()
|
/linux-2.4.37.9/drivers/char/ |
D | ppdev.c | 125 kbuffer = kmalloc(min_t(size_t, count, PP_BUFFER_SIZE), GFP_KERNEL); in pp_read() 138 ssize_t need = min_t(unsigned long, count, PP_BUFFER_SIZE); in pp_read() 206 kbuffer = kmalloc(min_t(size_t, count, PP_BUFFER_SIZE), GFP_KERNEL); in pp_write() 219 ssize_t n = min_t(unsigned long, count - bytes_written, PP_BUFFER_SIZE); in pp_write()
|
/linux-2.4.37.9/fs/ncpfs/ |
D | file.c | 155 size_t to_read = min_t(unsigned int, in ncp_file_read() 237 size_t to_write = min_t(unsigned int, in ncp_file_write()
|
D | mmap.c | 61 to_read = min_t(unsigned int, to_read, count - already_read); in ncp_file_mmap_nopage()
|
D | ncpsign_kernel.c | 103 min_t(unsigned int,(*size)-sizeof(struct ncp_request_header)+1,52)); in sign_packet()
|
/linux-2.4.37.9/drivers/usb/host/ |
D | hc_sl811_rh.c | 439 len = min_t(unsigned int, leni, in rh_submit_urb() 440 min_t(unsigned int, sizeof (root_hub_hub_des), wLength)); in rh_submit_urb()
|
D | usb-ohci.c | 1879 min_t(unsigned int, len, in rh_send_irq() 1880 min_t(unsigned int, rh_len, sizeof(data)))); in rh_send_irq() 2066 len = min_t(unsigned int, in rh_submit_urb() 2068 min_t(unsigned int, in rh_submit_urb() 2073 len = min_t(unsigned int, in rh_submit_urb() 2075 min_t(unsigned int, in rh_submit_urb() 2085 OK(min_t(int, leni, len)); in rh_submit_urb() 2120 len = min_t(unsigned int, leni, in rh_submit_urb() 2121 min_t(unsigned int, data_buf [0], wLength)); in rh_submit_urb() 2138 len = min_t(int, len, leni); in rh_submit_urb()
|
/linux-2.4.37.9/net/bluetooth/cmtp/ |
D | capi.c | 257 int len = min_t(uint, CAPI_MANUFACTURER_LEN, in cmtp_recv_interopmsg() 289 int len = min_t(uint, CAPI_SERIAL_LEN, in cmtp_recv_interopmsg() 309 int len = min_t(uint, skb->len - CAPI_MSG_BASELEN - 6, in cmtp_recv_interopmsg()
|
D | core.c | 241 size = min_t(uint, ((tail < 258) ? (tail - 2) : (tail - 3)), skb->len); in cmtp_process_transmit() 366 session->mtu = min_t(uint, l2cap_pi(sock->sk)->omtu, l2cap_pi(sock->sk)->imtu); in cmtp_add_connection()
|
/linux-2.4.37.9/include/linux/ |
D | kernel.h | 174 #define min_t(type,x,y) \ macro
|
/linux-2.4.37.9/net/wanrouter/ |
D | wanproc.c | 263 len = min_t(unsigned int, pos - offs, count); in router_proc_read() 809 len = min_t(unsigned int, pos - offs, count); in router_proc_read() 845 len = min_t(unsigned int, pos - offs, count); in router_proc_read()
|
/linux-2.4.37.9/include/net/sctp/ |
D | sctp.h | 443 frag = min_t(int, frag, sp->user_frag); in sctp_frag_point() 445 frag = min_t(int, frag, SCTP_MAX_CHUNK_LEN); in sctp_frag_point()
|