Home
last modified time | relevance | path

Searched refs:rlen (Results 1 – 25 of 27) sorted by relevance

12

/linux-2.4.37.9/crypto/
Dtcrypt.h56 unsigned char rlen; member
821 .rlen = 8,
828 .rlen = 8,
835 .rlen = 8,
846 .rlen = 24,
855 .rlen = 8,
864 .rlen = 16,
879 .rlen = 32,
892 .rlen = 24,
903 .rlen = 16,
[all …]
Dtcrypt.c346 hexdump(q, cipher_tv[i].rlen); in test_cipher()
349 memcmp(q, cipher_tv[i].result, cipher_tv[i].rlen) ? "fail" : in test_cipher()
/linux-2.4.37.9/arch/s390/kernel/
Dcpcmd.c15 void cpcmd(char *cmd, char *response, int rlen) in cpcmd() argument
25 if (response != NULL && rlen > 0) { in cpcmd()
34 "a" (response), "d" (rlen), "m" (mask) in cpcmd()
36 EBCASC(response, rlen); in cpcmd()
/linux-2.4.37.9/arch/s390x/kernel/
Dcpcmd.c18 void cpcmd(char *cmd, char *response, int rlen) in cpcmd() argument
29 if (response != NULL && rlen > 0) { in cpcmd()
40 "a" (response), "d" (rlen), "m" (mask) in cpcmd()
42 EBCASC(response, rlen); in cpcmd()
/linux-2.4.37.9/fs/xfs/
Dxfs_alloc.c207 xfs_extlen_t rlen; in xfs_alloc_fix_len() local
210 rlen = args->len; in xfs_alloc_fix_len()
211 ASSERT(rlen >= args->minlen); in xfs_alloc_fix_len()
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()
214 (args->mod == 0 && rlen < args->prod)) in xfs_alloc_fix_len()
216 k = rlen % args->prod; in xfs_alloc_fix_len()
220 if ((int)(rlen = rlen - k - args->mod) < (int)args->minlen) in xfs_alloc_fix_len()
223 if ((int)(rlen = rlen - args->prod - (args->mod - k)) < in xfs_alloc_fix_len()
227 ASSERT(rlen >= args->minlen); in xfs_alloc_fix_len()
[all …]
/linux-2.4.37.9/drivers/usb/
Duss720.c372 int rlen; in parport_uss720_epp_write_data() local
379 i = usb_bulk_msg(usbdev, usb_sndbulkpipe(usbdev, 1), (void *)buf, length, &rlen, HZ*20); in parport_uss720_epp_write_data()
381 printk(KERN_ERR "uss720: sendbulk ep 1 buf %p len %Zu rlen %u\n", buf, length, rlen); in parport_uss720_epp_write_data()
383 return rlen; in parport_uss720_epp_write_data()
435 int rlen; in parport_uss720_ecp_write_data() local
442 i = usb_bulk_msg(usbdev, usb_sndbulkpipe(usbdev, 1), (void *)buffer, len, &rlen, HZ*20); in parport_uss720_ecp_write_data()
444 printk(KERN_ERR "uss720: sendbulk ep 1 buf %p len %Zu rlen %u\n", buffer, len, rlen); in parport_uss720_ecp_write_data()
446 return rlen; in parport_uss720_ecp_write_data()
453 int rlen; in parport_uss720_ecp_read_data() local
460 i = usb_bulk_msg(usbdev, usb_rcvbulkpipe(usbdev, 2), buffer, len, &rlen, HZ*20); in parport_uss720_ecp_read_data()
[all …]
/linux-2.4.37.9/fs/ext3/
Ddir.c44 const int rlen = le16_to_cpu(de->rec_len); in ext3_check_dir_entry() local
46 if (rlen < EXT3_DIR_REC_LEN(1)) in ext3_check_dir_entry()
48 else if (rlen % 4 != 0) in ext3_check_dir_entry()
50 else if (rlen < EXT3_DIR_REC_LEN(de->name_len)) in ext3_check_dir_entry()
52 else if (((char *) de - bh->b_data) + rlen > dir->i_sb->s_blocksize) in ext3_check_dir_entry()
64 rlen, de->name_len); in ext3_check_dir_entry()
/linux-2.4.37.9/net/core/
Drtnetlink.c327 u32 rlen; in rtnetlink_rcv_msg() local
340 rlen = NLMSG_ALIGN(nlh->nlmsg_len); in rtnetlink_rcv_msg()
341 if (rlen > skb->len) in rtnetlink_rcv_msg()
342 rlen = skb->len; in rtnetlink_rcv_msg()
343 skb_pull(skb, rlen); in rtnetlink_rcv_msg()
405 u32 rlen; in rtnetlink_rcv_skb() local
410 rlen = NLMSG_ALIGN(nlh->nlmsg_len); in rtnetlink_rcv_skb()
411 if (rlen > skb->len) in rtnetlink_rcv_skb()
412 rlen = skb->len; in rtnetlink_rcv_skb()
423 skb_pull(skb, rlen); in rtnetlink_rcv_skb()
/linux-2.4.37.9/arch/ia64/kernel/
Dunwind_decoder.c164 unw_word rlen; in unw_decode_r1() local
166 rlen = (code & 0x1f); in unw_decode_r1()
167 UNW_DEC_PROLOGUE(R1, body, rlen, arg); in unw_decode_r1()
175 unw_word rlen; in unw_decode_r2() local
181 rlen = unw_decode_uleb128 (&dp); in unw_decode_r2()
182 UNW_DEC_PROLOGUE_GR(R2, rlen, mask, grsave, arg); in unw_decode_r2()
189 unw_word rlen; in unw_decode_r3() local
191 rlen = unw_decode_uleb128 (&dp); in unw_decode_r3()
192 UNW_DEC_PROLOGUE(R3, ((code & 0x3) == 1), rlen, arg); in unw_decode_r3()
/linux-2.4.37.9/fs/ntfs/
Dinode.c652 static void dump_runlist(const ntfs_runlist *rl, const int rlen);
1329 static void dump_runlist(const ntfs_runlist *rl, const int rlen) in dump_runlist() argument
1335 ntfs_debug(DEBUG_OTHER, "%s(): rlen = %i.\n", __FUNCTION__, rlen); in dump_runlist()
1337 for (i = 0, ct = 0; i < rlen; ct += rl[i++].len) { in dump_runlist()
1345 i + 1 < rlen ? "" : " (run list end)"); in dump_runlist()
1373 int rlen, rl_size, rl2_pos; in splice_runlists() local
1384 rlen = *r1len + r2len + 1; in splice_runlists()
1385 rl_size = (rlen * sizeof(ntfs_runlist) + PAGE_SIZE - 1) & in splice_runlists()
1388 __FUNCTION__, rlen, rl_size); in splice_runlists()
1400 rl = ntfs_vmalloc(rlen << sizeof(ntfs_runlist)); in splice_runlists()
[all …]
Dattr.c271 int rlen, rl2_len, err = 0; in ntfs_extend_attr() local
290 rlen = attr->d.r.len; in ntfs_extend_attr()
291 if (rlen > 0) in ntfs_extend_attr()
292 cluster = rl[rlen - 1].lcn + rl[rlen - 1].len; in ntfs_extend_attr()
309 if (rlen > 0) { in ntfs_extend_attr()
310 err = splice_runlists(&rl, &rlen, rl2, rl2_len); in ntfs_extend_attr()
318 rlen = rl2_len; in ntfs_extend_attr()
321 attr->d.r.len = rlen; in ntfs_extend_attr()
/linux-2.4.37.9/fs/xfs/linux-2.4/
Dxfs_file.c249 size_t rlen = PAGE_CACHE_SIZE; in linvfs_readdir() local
258 if ((read_buf = (caddr_t)kmalloc(rlen, GFP_KERNEL))) in linvfs_readdir()
260 rlen >>= 1; in linvfs_readdir()
261 } while (rlen >= 1024); in linvfs_readdir()
275 uio.uio_resid = iov.iov_len = rlen; in linvfs_readdir()
287 size = rlen - uio.uio_resid; in linvfs_readdir()
/linux-2.4.37.9/drivers/isdn/
Disdn_v110.c454 int rlen; in isdn_v110_encode() local
475 rlen = skb->len; in isdn_v110_encode()
476 nframes = (rlen + 3) / 4; in isdn_v110_encode()
480 rlen = v->maxsize / 40; in isdn_v110_encode()
493 mlen = EncodeMatrix(skb->data, rlen, v110buf, size); in isdn_v110_encode()
513 *((int *)skb_push(nskb, sizeof(int))) = rlen; in isdn_v110_encode()
/linux-2.4.37.9/include/asm-s390/
Dcpcmd.h12 extern void cpcmd(char *cmd, char *response, int rlen);
/linux-2.4.37.9/include/asm-s390x/
Dcpcmd.h12 extern void cpcmd(char *cmd, char *response, int rlen);
/linux-2.4.37.9/fs/ufs/
Ddir.c294 int rlen = fs16_to_cpu(sb, de->d_reclen); in ufs_check_dir_entry() local
296 if (rlen < UFS_DIR_REC_LEN(1)) in ufs_check_dir_entry()
298 else if (rlen % 4 != 0) in ufs_check_dir_entry()
300 else if (rlen < UFS_DIR_REC_LEN(ufs_get_de_namlen(sb, de))) in ufs_check_dir_entry()
302 else if (((char *) de - bh->b_data) + rlen > dir->i_sb->s_blocksize) in ufs_check_dir_entry()
313 rlen, ufs_get_de_namlen(sb, de)); in ufs_check_dir_entry()
/linux-2.4.37.9/arch/ppc/xmon/
Dstart.c66 int rlen = 0; in chrp_find_phys_io_base() local
81 ranges = (unsigned int *) get_property(node, "ranges", &rlen); in chrp_find_phys_io_base()
83 while ((rlen -= np * sizeof(unsigned int)) >= 0) { in chrp_find_phys_io_base()
/linux-2.4.37.9/arch/ppc64/kernel/
DpSeries_pci.c249 unsigned int memno, rlen, i, index; in find_and_init_phbs() local
312 ranges = (unsigned int *) get_property(Pci_Node, "ranges", &rlen); in find_and_init_phbs()
313 PPCDBG(PPCDBG_PHBINIT, "\trange_stride = 0x%lx, rlen = 0x%x\n", range_stride, rlen); in find_and_init_phbs()
315 for (i = 0; i < (rlen/sizeof(*ranges)); i+=range_stride) { in find_and_init_phbs()
/linux-2.4.37.9/drivers/net/
D3c505.c601 int rlen; in receive_packet() local
607 rlen = (len + 1) & ~1; in receive_packet()
608 skb = dev_alloc_skb(rlen + 2); in receive_packet()
618 target = skb_put(skb, rlen); in receive_packet()
619 if ((unsigned long)(target + rlen) >= MAX_DMA_ADDRESS) { in receive_packet()
632 adapter->current_dma.length = rlen; in receive_packet()
643 set_dma_count(dev->dma, rlen); in receive_packet()
Dsun3lance.c138 unsigned short rlen; member
357 MEM->init.rlen = (RX_LOG_RING_SIZE << 13) | in lance_probe()
464 MEM->init.rlen = (RX_LOG_RING_SIZE << 13) | in lance_init_ring()
/linux-2.4.37.9/drivers/net/wan/
Dsyncppp.c1110 int rlen; in sppp_lcp_conf_parse_options() local
1118 for (rlen=0; len>1 && p[1]; len-=p[1], p+=p[1]) { in sppp_lcp_conf_parse_options()
1144 rlen += p[1]; in sppp_lcp_conf_parse_options()
1146 if (rlen) in sppp_lcp_conf_parse_options()
1147 sppp_cp_send (sp, PPP_LCP, LCP_CONF_REJ, h->ident, rlen, buf); in sppp_lcp_conf_parse_options()
1149 return (rlen == 0); in sppp_lcp_conf_parse_options()
/linux-2.4.37.9/arch/ppc/kernel/
Dpci.c946 int rlen = 0; in pci_process_bridge_OF_ranges() local
957 ranges = (unsigned int *) get_property(dev, "ranges", &rlen); in pci_process_bridge_OF_ranges()
959 while ((rlen -= np * sizeof(unsigned int)) >= 0) { in pci_process_bridge_OF_ranges()
982 rlen = 0; in pci_process_bridge_OF_ranges()
984 ranges = (unsigned int *) get_property(dev, "ranges", &rlen); in pci_process_bridge_OF_ranges()
985 while ((rlen -= np * sizeof(unsigned int)) >= 0) { in pci_process_bridge_OF_ranges()
Dprom.c510 int rlen = 0; in map_addr() local
522 ranges = (unsigned int *) get_property(np, "ranges", &rlen); in map_addr()
523 while ((rlen -= (na + 5) * sizeof(unsigned int)) >= 0) { in map_addr()
/linux-2.4.37.9/net/sctp/
Dsocket.c1455 int rlen; in sctp_skb_pull() local
1465 rlen = sctp_skb_pull(list, len); in sctp_skb_pull()
1466 skb->len -= (len-rlen); in sctp_skb_pull()
1467 skb->data_len -= (len-rlen); in sctp_skb_pull()
1469 if (!rlen) in sctp_skb_pull()
1472 len = rlen; in sctp_skb_pull()
/linux-2.4.37.9/drivers/ide/ppc/
Dpmac.c1050 unsigned long rbase, rlen; in pmac_ide_probe() local
1072 rlen = pci_resource_len(pdev, 0); in pmac_ide_probe()
1074 base = (unsigned long) ioremap(rbase, rlen); in pmac_ide_probe()

12