/linux-2.4.37.9/net/sctp/ |
D | sysctl.c | 56 .maxlen = sizeof(long), 67 .maxlen = sizeof(long), 78 .maxlen = sizeof(long), 89 .maxlen = sizeof(long), 100 .maxlen = sizeof(int), 108 .maxlen = sizeof(int), 116 .maxlen = sizeof(int), 124 .maxlen = sizeof(int), 132 .maxlen = sizeof(long), 143 .maxlen = sizeof(long), [all …]
|
/linux-2.4.37.9/fs/isofs/ |
D | joliet.c | 44 wcsntombs_be(__u8 *s, const __u8 *pwcs, int inlen, int maxlen) in wcsntombs_be() argument 53 while ((*ip || ip[1]) && (maxlen > 0) && (inlen > 0)) { in wcsntombs_be() 56 size = utf8_wctomb(op, c, maxlen); in wcsntombs_be() 59 maxlen--; in wcsntombs_be() 62 maxlen -= size; in wcsntombs_be()
|
/linux-2.4.37.9/fs/nls/ |
D | nls_base.c | 108 utf8_wctomb(__u8 *s, wchar_t wc, int maxlen) in utf8_wctomb() argument 119 for (t = utf8_table; t->cmask && maxlen; t++, maxlen--) { in utf8_wctomb() 136 utf8_wcstombs(__u8 *s, const wchar_t *pwcs, int maxlen) in utf8_wcstombs() argument 144 while (*ip && maxlen > 0) { in utf8_wcstombs() 146 size = utf8_wctomb(op, *ip, maxlen); in utf8_wcstombs() 149 maxlen--; in utf8_wcstombs() 152 maxlen -= size; in utf8_wcstombs()
|
/linux-2.4.37.9/fs/xfs/ |
D | xfs_rtalloc.c | 235 xfs_extlen_t maxlen, /* maximum length to allocate */ in xfs_rtallocate_extent_block() argument 263 error = xfs_rtcheck_range(mp, tp, i, maxlen, 1, &next, &stat); in xfs_rtallocate_extent_block() 271 error = xfs_rtallocate_range(mp, tp, i, maxlen, rbpp, in xfs_rtallocate_extent_block() 276 *len = maxlen; in xfs_rtallocate_extent_block() 286 if (minlen < maxlen) { in xfs_rtallocate_extent_block() 309 if (minlen < maxlen && besti != -1) { in xfs_rtallocate_extent_block() 348 xfs_extlen_t maxlen, /* maximum length to allocate */ in xfs_rtallocate_extent_exact() argument 360 ASSERT(minlen % prod == 0 && maxlen % prod == 0); in xfs_rtallocate_extent_exact() 364 error = xfs_rtcheck_range(mp, tp, bno, maxlen, 1, &next, &isfree); in xfs_rtallocate_extent_exact() 372 error = xfs_rtallocate_range(mp, tp, bno, maxlen, rbpp, rsb); in xfs_rtallocate_extent_exact() [all …]
|
D | xfs_alloc.c | 212 ASSERT(rlen <= args->maxlen); in xfs_alloc_fix_len() 213 if (args->prod <= 1 || rlen < args->mod || rlen == args->maxlen || in xfs_alloc_fix_len() 228 ASSERT(rlen <= args->maxlen); in xfs_alloc_fix_len() 449 (void *)(__psunsigned_t)args->maxlen, in xfs_alloc_trace_alloc() 574 ASSERT(args->maxlen > 0); in xfs_alloc_ag_vextent() 575 ASSERT(args->minlen <= args->maxlen); in xfs_alloc_ag_vextent() 609 ASSERT(args->len >= args->minlen && args->len <= args->maxlen); in xfs_alloc_ag_vextent() 692 maxend = args->agbno + args->maxlen; in xfs_alloc_ag_vextent_exact() 797 if ((error = xfs_alloc_lookup_ge(cnt_cur, 0, args->maxlen, &i))) in xfs_alloc_ag_vextent_near() 858 !error && j && (blen < args->maxlen || bdiff > 0); in xfs_alloc_ag_vextent_near() [all …]
|
D | xfs_alloc.h | 73 xfs_extlen_t maxlen; /* maximum size of extent */ member
|
/linux-2.4.37.9/drivers/isdn/hysdn/ |
D | hysdn_sched.c | 74 hysdn_sched_tx(hysdn_card * card, uchar * buf, word volatile *len, word volatile *chan, word maxlen) in hysdn_sched_tx() argument 84 if (card->async_len <= maxlen) { in hysdn_sched_tx() 94 (maxlen >= ERRLOG_CMD_REQ_SIZE)) { in hysdn_sched_tx() 102 (maxlen >= ERRLOG_CMD_STOP_SIZE)) { in hysdn_sched_tx() 113 if (skb->len <= maxlen) { in hysdn_sched_tx() 126 if (skb->len <= maxlen) { in hysdn_sched_tx()
|
/linux-2.4.37.9/drivers/isdn/hisax/ |
D | hfc_pci.c | 293 int total, maxlen, new_z2; in hfcpci_empty_fifo() local 323 maxlen = count; /* complete transfer */ in hfcpci_empty_fifo() 325 maxlen = B_FIFO_SIZE + B_SUB_VAL - zp->z2; /* maximum */ in hfcpci_empty_fifo() 328 memcpy(ptr, ptr1, maxlen); /* copy data */ in hfcpci_empty_fifo() 329 count -= maxlen; in hfcpci_empty_fifo() 332 ptr += maxlen; in hfcpci_empty_fifo() 352 int maxlen; in receive_dmsg() local 389 maxlen = rcnt; /* complete transfer */ in receive_dmsg() 391 maxlen = D_FIFO_SIZE - zp->z2; /* maximum */ in receive_dmsg() 394 memcpy(ptr, ptr1, maxlen); /* copy data */ in receive_dmsg() [all …]
|
/linux-2.4.37.9/kernel/ |
D | sysctl.c | 559 if (table->data && table->maxlen) { in do_sysctl_strategy() 564 if (len > table->maxlen) in do_sysctl_strategy() 565 len = table->maxlen; in do_sysctl_strategy() 574 if (len > table->maxlen) in do_sysctl_strategy() 575 len = table->maxlen; in do_sysctl_strategy() 870 if (!table->data || !table->maxlen || !*lenp || in proc_dostring() 886 if (len >= table->maxlen) in proc_dostring() 887 len = table->maxlen-1; in proc_dostring() 894 if (len > table->maxlen) in proc_dostring() 895 len = table->maxlen; in proc_dostring() [all …]
|
/linux-2.4.37.9/net/khttpd/ |
D | sysctl.c | 269 if ((table->data==0) || (table->maxlen==0) || (*lenp==0) || in proc_dosecurestring() 285 if (len >= table->maxlen) in proc_dosecurestring() 286 len = table->maxlen-1; in proc_dosecurestring() 295 if (len > table->maxlen) in proc_dosecurestring() 296 len = table->maxlen; in proc_dosecurestring()
|
/linux-2.4.37.9/include/linux/ |
D | libata-compat.h | 130 pci_iomap(struct pci_dev *dev, int bar, unsigned long maxlen) in pci_iomap() argument 138 if (maxlen && len > maxlen) in pci_iomap() 139 len = maxlen; in pci_iomap()
|
/linux-2.4.37.9/drivers/net/wan/ |
D | hd6457x.c | 274 u32 maxlen; in sca_rx() local 289 maxlen = winsize(card) - buff; in sca_rx() 293 if (len > maxlen) { in sca_rx() 294 memcpy_fromio(skb->data, winbase(card) + buff, maxlen); in sca_rx() 296 memcpy_fromio(skb->data + maxlen, winbase(card), len - maxlen); in sca_rx() 707 u32 maxlen; in sca_xmit() local 734 maxlen = winsize(card) - buff; in sca_xmit() 737 if (len > maxlen) { in sca_xmit() 738 memcpy_toio(winbase(card) + buff, skb->data, maxlen); in sca_xmit() 740 memcpy_toio(winbase(card), skb->data + maxlen, len - maxlen); in sca_xmit()
|
/linux-2.4.37.9/arch/i386/kernel/ |
D | mfgpt-compat.h | 227 static inline void __iomem *pci_iomap(struct pci_dev *dev, int bar, unsigned long maxlen) in pci_iomap() argument 235 if (maxlen && len > maxlen) in pci_iomap() 236 len = maxlen; in pci_iomap()
|
/linux-2.4.37.9/fs/adfs/ |
D | dir_f.c | 51 static inline int adfs_readname(char *buf, char *ptr, int maxlen) in adfs_readname() argument 55 while (*ptr >= ' ' && maxlen--) { in adfs_readname() 67 static inline void adfs_writename(char *to, char *from, int maxlen) in adfs_writename() argument 71 for (i = 0; i < maxlen; i++) { in adfs_writename() 80 for (; i < maxlen; i++) in adfs_writename()
|
/linux-2.4.37.9/include/linux/sunrpc/ |
D | xdr.h | 89 u32 * xdr_decode_string(u32 *p, char **sp, int *lenp, int maxlen); 90 u32 * xdr_decode_string_inplace(u32 *p, char **sp, int *lenp, int maxlen);
|
/linux-2.4.37.9/net/ipv4/ |
D | route.c | 2353 maxlen: sizeof(int), 2362 maxlen: sizeof(int), 2371 maxlen: sizeof(int), 2380 maxlen: sizeof(int), 2388 maxlen: sizeof(int), 2396 maxlen: sizeof(int), 2405 maxlen: sizeof(int), 2414 maxlen: sizeof(int), 2423 maxlen: sizeof(int), 2431 maxlen: sizeof(int), [all …]
|
/linux-2.4.37.9/arch/cris/drivers/ |
D | usb-host.c | 1015 int maxlen; in etrax_usb_setup_epid() local 1042 maxlen = usb_maxpacket(urb->dev, urb->pipe, usb_pipeout(urb->pipe)); in etrax_usb_setup_epid() 1060 IO_FIELD(R_USB_EPT_DATA_ISO, max_len, maxlen) | in etrax_usb_setup_epid() 1068 IO_FIELD(R_USB_EPT_DATA, max_len, maxlen) | in etrax_usb_setup_epid() 1082 epid, devnum, endpoint, maxlen, out_traffic ? "OUT" : "IN"); in etrax_usb_setup_epid() 1123 int maxlen; in etrax_usb_lookup_epid() local 1131 maxlen = usb_maxpacket(urb->dev, urb->pipe, usb_pipeout(urb->pipe)); in etrax_usb_lookup_epid() 1156 (IO_EXTRACT(R_USB_EPT_DATA_ISO, max_len, data) == maxlen)) { in etrax_usb_lookup_epid() 1170 (IO_EXTRACT(R_USB_EPT_DATA, max_len, data) == maxlen)) { in etrax_usb_lookup_epid() 1749 char maxlen; in etrax_usb_add_to_bulk_sb_list() local [all …]
|
/linux-2.4.37.9/net/sunrpc/ |
D | xdr.c | 72 xdr_decode_string(u32 *p, char **sp, int *lenp, int maxlen) in xdr_decode_string() argument 77 if ((len = ntohl(*p++)) > maxlen) in xdr_decode_string() 93 xdr_decode_string_inplace(u32 *p, char **sp, int *lenp, int maxlen) in xdr_decode_string_inplace() argument 97 if ((len = ntohl(*p++)) > maxlen) in xdr_decode_string_inplace()
|
/linux-2.4.37.9/drivers/gsc/ |
D | eisa_enumerator.c | 326 unsigned int maxlen; in parse_slot_config() local 341 maxlen = es->config_data_length < HPEE_MAX_LENGTH ? in parse_slot_config() 343 while ((pos < maxlen) && (num_func <= es->num_functions)) { in parse_slot_config()
|
/linux-2.4.37.9/drivers/media/video/ |
D | w9966.c | 192 static int w9966_findlen(int near, int size, int maxlen); 450 static int w9966_findlen(int near, int size, int maxlen) in w9966_findlen() argument 456 for(len = size+1; len < maxlen; len++) in w9966_findlen() 480 const int maxlen = max - min; in w9966_calcscale() local 482 const int newlen = w9966_findlen(len, size, maxlen); in w9966_calcscale() 486 if (newlen > maxlen || newlen < size) in w9966_calcscale()
|
/linux-2.4.37.9/net/ipv4/netfilter/ |
D | ip_fw_compat_masq.c | 247 unsigned int *len, unsigned int maxlen) in masq_iterate() argument 261 if (*len + newlen > maxlen) in masq_iterate()
|
/linux-2.4.37.9/fs/smbfs/ |
D | proc.c | 255 static int smb_build_path(struct smb_sb_info *server, char * buf, int maxlen, in smb_build_path() argument 261 if (maxlen < 2) in smb_build_path() 264 if (maxlen > SMB_MAXPATHLEN + 1) in smb_build_path() 265 maxlen = SMB_MAXPATHLEN + 1; in smb_build_path() 284 if (maxlen < 3) in smb_build_path() 287 len = server->ops->convert(path, maxlen-2, in smb_build_path() 295 maxlen -= len+1; in smb_build_path() 306 if (maxlen < 3) in smb_build_path() 309 len = server->ops->convert(path, maxlen-2, in smb_build_path() 315 maxlen -= len+1; in smb_build_path() [all …]
|
/linux-2.4.37.9/fs/affs/ |
D | namei.c | 336 int i, maxlen, error; in affs_symlink() local 342 maxlen = AFFS_SB->s_hashsize * sizeof(u32) - 1; in affs_symlink() 366 while (i < maxlen && (c = *symname++)) { in affs_symlink()
|
/linux-2.4.37.9/drivers/net/ |
D | aironet4500_proc.c | 452 awc_proc_priv[device_number].proc_table[group].maxlen = sizeof(awc_proc_buff) -1; in awc_proc_set_device() 476 … awc_proc_priv[device_number].proc_table[group].child[rid].maxlen = sizeof(awc_proc_buff) -1; in awc_proc_set_device() 479 awc_proc_priv[device_number].proc_table[group].child[rid].maxlen = sizeof(awc_int_buff); in awc_proc_set_device() 505 awc_proc_priv[device_number].proc_table[group].maxlen = sizeof(awc_proc_buff) -1; in awc_proc_set_device()
|
/linux-2.4.37.9/fs/befs/ |
D | linuxvfs.c | 549 int maxlen = in_len; /* The utf8->nls conversion cant make more chars */ in befs_utf2nls() local 558 *out = result = kmalloc(maxlen, GFP_NOFS); in befs_utf2nls() 625 int maxlen = 3 * in_len; in befs_nls2utf() local 634 *out = result = kmalloc(maxlen, GFP_NOFS); in befs_nls2utf()
|