Searched refs:rsize (Results 76 - 100 of 138) sorted by relevance

123456

/linux-master/fs/ntfs3/
H A Dattrib.c234 u32 used, asize, rsize, aoff, align; local
252 rsize = le32_to_cpu(attr->res.data_size);
258 len = (rsize + align - 1) >> sbi->cluster_bits;
281 if (!rsize) {
284 err = ntfs_sb_write_run(sbi, run, 0, data, rsize, 0);
296 memcpy(kaddr, data, rsize);
297 memset(kaddr + rsize, 0, PAGE_SIZE - rsize);
322 attr->nres.data_size = cpu_to_le64(rsize);
362 u32 rsize local
[all...]
/linux-master/drivers/hid/
H A Dhid-core.c690 device->rsize = 0;
1245 device->rsize = size;
1978 u32 rsize, csize = size; local
1991 rsize = hid_compute_report_size(report);
1996 if (report_enum->numbered && rsize >= max_buffer_size)
1997 rsize = max_buffer_size - 1;
1998 else if (rsize > max_buffer_size)
1999 rsize = max_buffer_size;
2001 if (csize < rsize) {
2003 csize, rsize);
[all...]
H A Dhid-apple.c610 unsigned int *rsize)
614 if(*rsize >=71 && rdesc[70] == 0x65 && rdesc[64] == 0x65) {
620 if ((asc->quirks & APPLE_RDESC_JIS) && *rsize >= 60 &&
635 if ((asc->quirks & APPLE_RDESC_BATTERY) && *rsize == 83 &&
639 *rsize = *rsize - 1;
640 rdesc = kmemdup(rdesc + 1, *rsize, GFP_KERNEL);
609 apple_report_fixup(struct hid_device *hdev, __u8 *rdesc, unsigned int *rsize) argument
H A Dhid-sony.c603 unsigned int *rsize)
605 *rsize = sizeof(motion_rdesc);
610 unsigned int *rsize)
612 *rsize = sizeof(ps3remote_rdesc);
747 unsigned int *rsize)
758 if ((sc->quirks & VAIO_RDESC_CONSTANT) && *rsize >= 56 &&
771 return motion_fixup(hdev, rdesc, rsize);
774 return ps3remote_fixup(hdev, rdesc, rsize);
780 if ((sc->quirks & SIXAXIS_CONTROLLER_USB) && *rsize >= 45 &&
602 motion_fixup(struct hid_device *hdev, u8 *rdesc, unsigned int *rsize) argument
609 ps3remote_fixup(struct hid_device *hdev, u8 *rdesc, unsigned int *rsize) argument
746 sony_report_fixup(struct hid_device *hdev, u8 *rdesc, unsigned int *rsize) argument
H A Dhid-magicmouse.c911 unsigned int *rsize)
924 *rsize == 83 && rdesc[46] == 0x84 && rdesc[58] == 0x85) {
927 *rsize = *rsize - 1;
928 rdesc = kmemdup(rdesc + 1, *rsize, GFP_KERNEL);
910 magicmouse_report_fixup(struct hid_device *hdev, __u8 *rdesc, unsigned int *rsize) argument
H A Dhid-steelseries.c574 unsigned int *rsize)
580 if (*rsize >= 115 && rdesc[11] == 0x02 && rdesc[13] == 0xc8
584 *rsize = sizeof(steelseries_srws1_rdesc_fixed);
573 steelseries_srws1_report_fixup(struct hid_device *hdev, __u8 *rdesc, unsigned int *rsize) argument
H A Dhid-microsoft.c60 unsigned int *rsize)
69 if ((quirks & MS_RDESC) && *rsize == 571 && rdesc[557] == 0x19 &&
59 ms_report_fixup(struct hid_device *hdev, __u8 *rdesc, unsigned int *rsize) argument
H A Dhid-uclogic-core.c54 unsigned int *rsize)
60 *rsize = drvdata->desc_size;
53 uclogic_report_fixup(struct hid_device *hdev, __u8 *rdesc, unsigned int *rsize) argument
H A Dhid-cougar.c107 unsigned int *rsize)
106 cougar_report_fixup(struct hid_device *hdev, __u8 *rdesc, unsigned int *rsize) argument
/linux-master/drivers/gpu/drm/arm/
H A Dmalidp_hw.c575 u8 ln_size = (conf >> 4) & 0x3, rsize; local
583 rsize = 64;
588 rsize = 128;
593 rsize = 40;
601 hwdev->rotation_memory[0] = hwdev->rotation_memory[1] = rsize * SZ_1K;
911 u8 ln_size = (conf >> 4) & 0x3, rsize; local
924 rsize = 128;
929 rsize = 80;
932 hwdev->rotation_memory[0] = hwdev->rotation_memory[1] = rsize * SZ_1K;
/linux-master/drivers/staging/ks7010/
H A Dks7010_sdio.c546 u8 status, rsize, byte; local
588 rsize = byte & RSIZE_MASK;
589 if (rsize != 0) /* Read schedule */
590 ks_wlan_hw_rx(priv, (size_t)(rsize << 4));
604 } while (rsize);
/linux-master/drivers/spi/
H A Dspi-uniphier.c280 int rsize; local
283 rsize = min(bytes_per_word(priv->bits_per_word), priv->rx_bytes);
284 priv->rx_bytes -= rsize;
289 switch (rsize) {
301 priv->rx_buf += rsize;
/linux-master/net/sunrpc/xprtrdma/
H A Dverbs.c193 unsigned int rsize, wsize; local
196 rsize = RPCRDMA_V1_DEF_INLINE_SIZE;
202 rsize = rpcrdma_decode_buffer_size(pmsg->cp_send_size);
206 if (rsize < ep->re_inline_recv)
207 ep->re_inline_recv = rsize;
/linux-master/drivers/infiniband/hw/qib/
H A Dqib_driver.c447 const u32 rsize = dd->rcvhdrentsize; /* words */ local
448 const u32 maxcnt = dd->rcvhdrcnt * rsize; /* words */
519 l += rsize;
/linux-master/fs/netfs/
H A Dio.c463 if (rreq->rsize && subreq->len > rreq->rsize)
464 subreq->len = rreq->rsize;
/linux-master/drivers/usb/atm/
H A Dcxacru.c194 u8 *wdata, int wsize, u8 *rdata, int rsize);
609 u8 *wdata, int wsize, u8 *rdata, int rsize)
617 int rbuflen = ((rsize - 1) / stride + 1) * CMD_PACKET_SIZE;
679 for (offb = offd = 0; offd < rsize && offb < actlen; offb += CMD_PACKET_SIZE) {
694 if (offd >= rsize)
696 memcpy(rdata + offd, rbuf + offb + 4, min_t(int, stride, rsize - offd));
608 cxacru_cm(struct cxacru_data *instance, enum cxacru_cm_request cm, u8 *wdata, int wsize, u8 *rdata, int rsize) argument
/linux-master/drivers/hid/usbhid/
H A Dhid-core.c986 unsigned int rsize = 0; local
1025 rsize = le16_to_cpu(hdesc->desc[n].wDescriptorLength);
1027 if (!rsize || rsize > HID_MAX_DESCRIPTOR_SIZE) {
1028 dbg_hid("weird size of report descriptor (%u)\n", rsize);
1032 rdesc = kmalloc(rsize, GFP_KERNEL);
1039 HID_DT_REPORT, rdesc, rsize);
1046 ret = hid_parse_report(hid, rdesc, rsize);
/linux-master/fs/smb/client/
H A Dfile.c141 size_t rsize = 0; local
150 if (cifs_sb->ctx->rsize == 0)
151 cifs_sb->ctx->rsize =
156 rc = server->ops->wait_mtu_credits(server, cifs_sb->ctx->rsize, &rsize,
163 subreq->len = min_t(size_t, subreq->len, rsize);
246 rreq->rsize = cifs_sb->ctx->rsize;
262 * Expand the size of a readahead to the size of the rsize, if at least as
263 * large as a page, allowing for the possibility that rsize i
268 unsigned int rsize = rreq->rsize; local
[all...]
H A Dsmb2ops.c488 unsigned int rsize; local
490 /* start with specified rsize, or default */
491 rsize = ctx->rsize ? ctx->rsize : CIFS_DEFAULT_IOSIZE;
492 rsize = min_t(unsigned int, rsize, server->max_read);
495 rsize = min_t(unsigned int, rsize, SMB2_MAX_BUFFER_SIZE);
497 return rsize;
504 unsigned int rsize; local
[all...]
/linux-master/include/math-emu/
H A Dop-2.h569 #define _FP_FRAC_ASSEMBLE_2(r, X, rsize) \
570 (void) (((rsize) <= _FP_W_TYPE_SIZE) \
578 #define _FP_FRAC_DISASSEMBLE_2(X, r, rsize) \
581 X##_f1 = (rsize <= _FP_W_TYPE_SIZE ? 0 : r >> _FP_W_TYPE_SIZE); \
/linux-master/include/linux/
H A Dnfs_fs_sb.h163 unsigned int rsize; /* read size */ member in struct:nfs_server
/linux-master/net/rxrpc/
H A Doutput.c87 int rsize; local
139 rsize = max_t(int, call->rx_winsize - qsize, 0);
140 txb->ack_rwind = rsize;
143 trailer->rwind = htonl(rsize);
/linux-master/sound/ppc/
H A Dpmac.c52 unsigned int rsize = sizeof(struct dbdma_cmd) * (size + 1); local
54 rec->space = dma_alloc_coherent(&chip->pdev->dev, rsize,
59 memset(rec->space, 0, rsize);
69 unsigned int rsize = sizeof(struct dbdma_cmd) * (rec->size + 1); local
71 dma_free_coherent(&chip->pdev->dev, rsize, rec->space, rec->dma_base);
/linux-master/fs/ceph/
H A Dsuper.c211 fsparam_u32 ("rsize", Opt_rsize),
461 fsopt->rsize = ALIGN(result.uint_32, PAGE_SIZE);
756 if (fsopt->rsize != CEPH_MAX_READ_SIZE)
757 seq_printf(m, ",rsize=%u", fsopt->rsize);
1285 sb->s_bdi->io_pages = fsc->mount_options->rsize >> PAGE_SHIFT;
1447 fsopt->rsize = CEPH_MAX_READ_SIZE;
/linux-master/fs/nfs/
H A Dsuper.c464 seq_printf(m, ",rsize=%u", nfss->rsize);
996 ctx->rsize != nfss->rsize ||
1126 if (a->rsize != b->rsize)

Completed in 1366 milliseconds

123456