/linux-2.6.39/fs/ocfs2/ |
D | reservations.c | 295 unsigned int clen, char *disk_bitmap) in ocfs2_resmap_restart() argument 303 resmap->m_bitmap_len = clen; in ocfs2_resmap_restart() 478 unsigned int cstart, clen; in __ocfs2_resv_find_window() local 499 clen = ocfs2_resmap_find_free_bits(resmap, wanted, goal, in __ocfs2_resv_find_window() 501 &cstart, &clen); in __ocfs2_resv_find_window() 507 BUG_ON(goal == 0 && clen == 0); in __ocfs2_resv_find_window() 509 if (clen == 0) in __ocfs2_resv_find_window() 513 resv->r_len = clen; in __ocfs2_resv_find_window() 552 clen = ocfs2_resmap_find_free_bits(resmap, wanted, goal, in __ocfs2_resv_find_window() 554 &cstart, &clen); in __ocfs2_resv_find_window() [all …]
|
D | reservations.h | 111 unsigned int clen, char *disk_bitmap); 138 int *cstart, int *clen); 157 u32 cstart, u32 clen);
|
/linux-2.6.39/net/irda/ircomm/ |
D | ircomm_core.c | 53 struct sk_buff *skb, int clen); 247 int clen = 0; in ircomm_connect_indication() local 253 clen = skb->data[0]; in ircomm_connect_indication() 362 int clen; in ircomm_process_data() local 366 clen = skb->data[0]; in ircomm_process_data() 374 if (unlikely(skb->len < (clen + 1))) { in ircomm_process_data() 385 if (clen > 0) in ircomm_process_data() 386 ircomm_control_indication(self, skb, clen); in ircomm_process_data() 389 skb_pull(skb, clen+1); in ircomm_process_data() 429 struct sk_buff *skb, int clen) in ircomm_control_indication() argument [all …]
|
D | ircomm_ttp.c | 61 int clen); 170 int clen) in ircomm_ttp_data_request() argument 176 IRDA_DEBUG(2, "%s(), clen=%d\n", __func__ , clen); in ircomm_ttp_data_request() 189 skb->data[0] = clen; in ircomm_ttp_data_request()
|
D | ircomm_tty_attach.c | 522 int clen; in ircomm_tty_connect_indication() local 534 clen = skb->data[0]; in ircomm_tty_connect_indication() 535 if (clen) in ircomm_tty_connect_indication() 537 IRDA_MIN(skb->len, clen), in ircomm_tty_connect_indication()
|
/linux-2.6.39/drivers/staging/zram/ |
D | zram_drv.c | 138 u32 clen; in zram_free_page() local 157 clen = PAGE_SIZE; in zram_free_page() 165 clen = xv_get_object_size(obj) - sizeof(struct zobj_header); in zram_free_page() 169 if (clen <= PAGE_SIZE / 2) in zram_free_page() 173 zram_stat64_sub(zram, &zram->stats.compr_size, clen); in zram_free_page() 219 size_t clen; in zram_read() local 249 clen = PAGE_SIZE; in zram_read() 257 user_mem, &clen); in zram_read() 294 size_t clen; in zram_write() local 322 ret = lzo1x_1_compress(user_mem, PAGE_SIZE, src, &clen, in zram_write() [all …]
|
/linux-2.6.39/arch/x86/kernel/ |
D | setup.c | 327 unsigned long slop, clen, mapaddr; in relocate_initrd() local 350 clen = end_of_lowmem - ramdisk_image; in relocate_initrd() 352 memcpy(q, p, clen); in relocate_initrd() 353 q += clen; in relocate_initrd() 354 ramdisk_image += clen; in relocate_initrd() 355 ramdisk_size -= clen; in relocate_initrd() 361 clen = ramdisk_size; in relocate_initrd() 362 if (clen > MAX_MAP_CHUNK-slop) in relocate_initrd() 363 clen = MAX_MAP_CHUNK-slop; in relocate_initrd() 365 p = early_memremap(mapaddr, clen+slop); in relocate_initrd() [all …]
|
/linux-2.6.39/arch/sparc/kernel/ |
D | vio.c | 193 int err, tlen, clen; in vio_create_one() local 239 compat = mdesc_get_property(hp, mp, "device-type", &clen); in vio_create_one() 241 clen = 0; in vio_create_one() 242 } else if (clen > VIO_MAX_COMPAT_LEN) { in vio_create_one() 244 clen, type); in vio_create_one() 257 memcpy(vdev->compat, compat, clen); in vio_create_one() 260 vdev->compat_len = clen; in vio_create_one()
|
/linux-2.6.39/net/mac80211/ |
D | scan.c | 88 int clen, srlen; in ieee80211_bss_info_update() local 124 clen = IEEE80211_MAX_SUPP_RATES; in ieee80211_bss_info_update() 125 if (clen > elems->supp_rates_len) in ieee80211_bss_info_update() 126 clen = elems->supp_rates_len; in ieee80211_bss_info_update() 127 memcpy(bss->supp_rates, elems->supp_rates, clen); in ieee80211_bss_info_update() 128 srlen += clen; in ieee80211_bss_info_update() 131 clen = IEEE80211_MAX_SUPP_RATES - srlen; in ieee80211_bss_info_update() 132 if (clen > elems->ext_supp_rates_len) in ieee80211_bss_info_update() 133 clen = elems->ext_supp_rates_len; in ieee80211_bss_info_update() 134 memcpy(bss->supp_rates + srlen, elems->ext_supp_rates, clen); in ieee80211_bss_info_update() [all …]
|
/linux-2.6.39/drivers/net/ |
D | declance.c | 329 unsigned short *tp, *fp, clen; in cp_to_buf() local 335 clen = len >> 1; in cp_to_buf() 339 while (clen--) { in cp_to_buf() 344 clen = len & 1; in cp_to_buf() 347 while (clen--) { in cp_to_buf() 354 clen = len >> 4; in cp_to_buf() 357 while (clen--) { in cp_to_buf() 372 clen = len & 15; in cp_to_buf() 375 while (clen--) { in cp_to_buf() 385 unsigned short *tp, *fp, clen; in cp_from_buf() local [all …]
|
/linux-2.6.39/drivers/infiniband/hw/ipath/ |
D | ipath_diag.c | 328 u32 plen, clen, pbufn; in ipath_diagpkt_write() local 381 clen = dp.len >> 2; in ipath_diagpkt_write() 475 __iowrite32_copy(piobuf + 2, tmpbuf, clen - 1); in ipath_diagpkt_write() 477 __raw_writel(tmpbuf[clen - 1], piobuf + clen + 1); in ipath_diagpkt_write() 479 __iowrite32_copy(piobuf + 2, tmpbuf, clen); in ipath_diagpkt_write()
|
/linux-2.6.39/net/ipv6/ |
D | esp6.c | 153 int clen; in esp6_output() local 182 clen = ALIGN(skb->len + 2 + tfclen, blksize); in esp6_output() 184 clen = ALIGN(clen, esp->padlen); in esp6_output() 185 plen = clen - skb->len - tfclen; in esp6_output() 225 pskb_put(skb, trailer, clen - skb->len + alen); in esp6_output() 237 clen + alen); in esp6_output() 249 aead_givcrypt_set_crypt(req, sg, sg, clen, iv); in esp6_output()
|
/linux-2.6.39/drivers/staging/zcache/ |
D | zcache.c | 609 void *cdata, unsigned clen) in zv_create() argument 617 ret = xv_malloc(xvpool, clen + sizeof(struct zv_hdr), in zv_create() 626 memcpy((char *)zv + sizeof(struct zv_hdr), cdata, clen); in zv_create() 652 size_t clen = PAGE_SIZE; in zv_decompress() local 662 size, to_va, &clen); in zv_decompress() 665 BUG_ON(clen != PAGE_SIZE); in zv_decompress() 908 size_t clen; in zcache_pampd_create() local 914 ret = zcache_compress(page, &cdata, &clen); in zcache_pampd_create() 918 if (clen == 0 || clen > zbud_max_buddy_size()) { in zcache_pampd_create() 923 page, cdata, clen); in zcache_pampd_create() [all …]
|
/linux-2.6.39/net/ipv4/ |
D | esp4.c | 128 int clen; in esp_output() local 156 clen = ALIGN(skb->len + 2 + tfclen, blksize); in esp_output() 158 clen = ALIGN(clen, esp->padlen); in esp_output() 159 plen = clen - skb->len - tfclen; in esp_output() 199 pskb_put(skb, trailer, clen - skb->len + alen); in esp_output() 246 clen + alen); in esp_output() 258 aead_givcrypt_set_crypt(req, sg, sg, clen, iv); in esp_output()
|
/linux-2.6.39/drivers/tty/ |
D | n_gsm.c | 1046 static void gsm_control_modem(struct gsm_mux *gsm, u8 *data, int clen) in gsm_control_modem() argument 1051 int len = clen; in gsm_control_modem() 1082 gsm_control_reply(gsm, CMD_MSC, data, clen); in gsm_control_modem() 1096 static void gsm_control_rls(struct gsm_mux *gsm, u8 *data, int clen) in gsm_control_rls() argument 1101 int len = clen; in gsm_control_rls() 1134 gsm_control_reply(gsm, CMD_RLS, data, clen); in gsm_control_rls() 1152 u8 *data, int clen) in gsm_control_message() argument 1168 gsm_control_reply(gsm, CMD_TEST, data, clen); in gsm_control_message() 1184 gsm_control_modem(gsm, data, clen); in gsm_control_message() 1188 gsm_control_rls(gsm, data, clen); in gsm_control_message() [all …]
|
/linux-2.6.39/drivers/net/wireless/ath/carl9170/ |
D | rx.c | 802 unsigned int tlen, wlen = 0, clen = 0; in carl9170_rx_stream() local 811 clen = le16_to_cpu(rx_stream->length); in carl9170_rx_stream() 812 wlen = ALIGN(clen, 4); in carl9170_rx_stream() 888 ar->rx_failover_missing = clen - tlen; in carl9170_rx_stream() 891 __carl9170_rx(ar, rx_stream->payload, clen); in carl9170_rx_stream() 910 "data:%d, rx:%d, pending:%d ]\n", clen, wlen, tlen, in carl9170_rx_stream()
|
/linux-2.6.39/drivers/scsi/fcoe/ |
D | fcoe_transport.c | 99 unsigned long off, len, clen; in fcoe_fc_crc() local 110 clen = min(len, PAGE_SIZE - (off & ~PAGE_MASK)); in fcoe_fc_crc() 113 crc = crc32(crc, data + (off & ~PAGE_MASK), clen); in fcoe_fc_crc() 115 off += clen; in fcoe_fc_crc() 116 len -= clen; in fcoe_fc_crc()
|
/linux-2.6.39/drivers/infiniband/hw/qib/ |
D | qib_diag.c | 545 u32 plen, clen, pbufn; in qib_diagpkt_write() local 592 clen = dp.len >> 2; in qib_diagpkt_write() 637 qib_pio_copy(piobuf + 2, tmpbuf, clen - 1); in qib_diagpkt_write() 639 __raw_writel(tmpbuf[clen - 1], piobuf + clen + 1); in qib_diagpkt_write() 641 qib_pio_copy(piobuf + 2, tmpbuf, clen); in qib_diagpkt_write()
|
/linux-2.6.39/include/linux/netfilter/ |
D | nf_conntrack_sip.h | 59 unsigned int clen; member 71 .clen = (__cname) ? sizeof(__cname) - 1 : 0, \
|
/linux-2.6.39/drivers/isdn/hisax/ |
D | l3_1tr6.c | 522 u_char clen = 1; in l3_1tr6_disconnect_req() local 529 clen = 0; in l3_1tr6_disconnect_req() 541 *p++ = clen; /* Laenge */ in l3_1tr6_disconnect_req() 542 if (clen) in l3_1tr6_disconnect_req() 584 u_char clen = 1; in l3_1tr6_t305() local 592 clen = 0; in l3_1tr6_t305() 600 *p++ = clen; /* Laenge */ in l3_1tr6_t305() 601 if (clen) in l3_1tr6_t305()
|
/linux-2.6.39/drivers/macintosh/ |
D | smu.c | 920 unsigned int clen = min(len, chunk); in smu_read_datablock() local 932 params[6] = clen; in smu_read_datablock() 940 if (cmd.reply_len != clen) { in smu_read_datablock() 943 cmd.reply_len, clen); in smu_read_datablock() 946 len -= clen; in smu_read_datablock() 947 addr += clen; in smu_read_datablock() 948 dest += clen; in smu_read_datablock()
|
/linux-2.6.39/include/net/irda/ |
D | ircomm_core.h | 48 int (*data_request)(struct ircomm_cb *, struct sk_buff *, int clen);
|
/linux-2.6.39/drivers/scsi/ |
D | gdth_ioctl.h | 92 u32 clen; /* SCSI cmd. length(6,10,12) */ member 111 u32 clen; /* SCSI cmd. length(6,..,16) */ member
|
/linux-2.6.39/net/netfilter/ |
D | nf_conntrack_sip.c | 428 else if (hdr->cname && limit - dptr >= hdr->clen + 1 && in ct_sip_get_header() 429 strnicmp(dptr, hdr->cname, hdr->clen) == 0 && in ct_sip_get_header() 430 !isalpha(*(dptr + hdr->clen))) in ct_sip_get_header() 431 dptr += hdr->clen; in ct_sip_get_header() 1417 unsigned int matchoff, matchlen, clen; in sip_help_tcp() local 1452 clen = simple_strtoul(dptr + matchoff, (char **)&end, 10); in sip_help_tcp() 1461 end += strlen("\r\n\r\n") + clen; in sip_help_tcp()
|
/linux-2.6.39/drivers/net/wireless/ath/ar9170/ |
D | main.c | 934 unsigned int i, tlen, resplen, wlen = 0, clen = 0; in ar9170_rx() local 941 clen = tbuf[1] << 8 | tbuf[0]; in ar9170_rx() 942 wlen = ALIGN(clen, 4); in ar9170_rx() 1011 ar->rx_failover_missing = clen - tlen; in ar9170_rx() 1014 resplen = clen; in ar9170_rx() 1036 ar9170_handle_mpdu(ar, respbuf, clen); in ar9170_rx() 1053 clen, wlen, tlen, ar->rx_failover_missing); in ar9170_rx()
|