Searched refs:length (Results 501 - 525 of 3995) sorted by relevance

<<21222324252627282930>>

/linux-master/fs/gfs2/
H A Dbmap.c43 static int punch_hole(struct gfs2_inode *ip, u64 offset, u64 length);
419 * gfs2_extent_length - Returns length of an extent of blocks
424 * Returns: The length of the extent (minimum of one block)
600 iomap->length = hole_size << inode->i_blkbits;
669 size_t dblks = iomap->length >> inode->i_blkbits;
774 iomap->length = (u64)dblks << inode->i_blkbits;
833 * @length: Length to map, in bytes
840 static int __gfs2_iomap_get(struct inode *inode, loff_t pos, loff_t length, argument
856 if (!length)
870 if (pos + length > max_siz
1008 gfs2_iomap_begin_write(struct inode *inode, loff_t pos, loff_t length, unsigned flags, struct iomap *iomap, struct metapath *mp) argument
1093 gfs2_iomap_begin(struct inode *inode, loff_t pos, loff_t length, unsigned flags, struct iomap *iomap, struct iomap *srcmap) argument
1137 gfs2_iomap_end(struct inode *inode, loff_t pos, loff_t length, ssize_t written, unsigned flags, struct iomap *iomap) argument
1218 loff_t length = bh_map->b_size; local
1299 gfs2_block_zero_range(struct inode *inode, loff_t from, unsigned int length) argument
1407 gfs2_iomap_get(struct inode *inode, loff_t pos, loff_t length, struct iomap *iomap) argument
1418 gfs2_iomap_alloc(struct inode *inode, loff_t pos, loff_t length, struct iomap *iomap) argument
1713 punch_hole(struct gfs2_inode *ip, u64 offset, u64 length) argument
2338 stuffed_zero_range(struct inode *inode, loff_t offset, loff_t length) argument
2359 gfs2_journaled_truncate_range(struct inode *inode, loff_t offset, loff_t length) argument
2395 __gfs2_punch_hole(struct file *file, loff_t offset, loff_t length) argument
[all...]
/linux-master/drivers/hid/
H A Dhid-cp2112.c101 __be16 length; member in struct:cp2112_read_req_report
107 __be16 length; member in struct:cp2112_write_read_req_report
115 u8 length; member in struct:cp2112_write_req_report
121 __be16 length; member in struct:cp2112_force_read_report
129 __be16 length; member in struct:cp2112_xfer_status_report
136 u8 length; /* length in bytes of everything after .report */
415 report.length = cpu_to_be16(size);
440 static int cp2112_read_req(void *buf, u8 slave_address, u16 length) argument
444 if (length <
453 cp2112_write_read_req(void *buf, u8 slave_address, u16 length, u8 command, u8 *data, u8 data_length) argument
981 u8 length; local
[all...]
/linux-master/drivers/media/common/videobuf2/
H A Dvideobuf2-v4l2.c76 if (b->length < vb->num_planes || b->length > VB2_MAX_PLANES) {
78 "incorrect planes array length, expected %d, got %d\n",
79 vb->num_planes, b->length);
93 * the plane length and that the data offset doesn't exceed the bytesused value.
97 unsigned int length; local
106 length = (b->memory == VB2_MEMORY_USERPTR ||
108 ? b->m.planes[plane].length
109 : vb->planes[plane].length;
111 ? b->m.planes[plane].bytesused : length;
[all...]
/linux-master/drivers/s390/scsi/
H A Dzfcp_dbf.c40 void zfcp_dbf_pl_write(struct zfcp_dbf *dbf, void *data, u16 length, char *area, argument
51 while (offset < length) {
53 (u16) (length - offset));
225 /* status read buffer payload length */
226 rec->pl_len = (!srb->length) ? 0 : srb->length -
282 u16 length; local
296 length = min((u16)sizeof(struct qdio_buffer),
300 memcpy(payload->data, (char *)pl[payload->counter], length);
301 debug_event(dbf->pay, level, payload, zfcp_dbf_plen(length));
548 u16 length; local
629 u16 length; local
650 u16 length; local
[all...]
/linux-master/drivers/char/ipmi/
H A Dssif_bmc.c28 /* Transaction includes the address, the command, the length and the PEC byte */
52 u8 length; member in struct:ssif_part_buffer
347 part->pec = i2c_smbus_pec(part->pec, &part->length, 1);
348 if (part->length)
349 part->pec = i2c_smbus_pec(part->pec, part->payload, part->length);
357 part->length = (u8)ssif_bmc->response.len;
360 memset(part->payload + part->length, 0, MAX_PAYLOAD_PER_TRANSACTION - part->length);
361 memcpy(&part->payload[0], &ssif_bmc->response.payload[0], part->length);
373 * Read Start length i
[all...]
/linux-master/drivers/net/ethernet/realtek/
H A Datp.c198 static void write_packet(long ioaddr, int length, unsigned char *packet, int pad, int mode);
199 static void trigger_send(long ioaddr, int length);
204 static void read_block(long ioaddr, int length, unsigned char *buffer, int data_mode);
491 static void trigger_send(long ioaddr, int length) argument
493 write_reg_byte(ioaddr, TxCNT0, length & 0xff);
494 write_reg(ioaddr, TxCNT1, length >> 8);
498 static void write_packet(long ioaddr, int length, unsigned char *packet, int pad_len, int data_mode) argument
500 if (length & 1)
502 length++;
512 } while (--length > pad_le
558 int length; local
805 read_block(long ioaddr, int length, unsigned char *p, int data_mode) argument
[all...]
/linux-master/fs/coda/
H A Dupcall.c131 const char *name, int length, int * type,
140 insize = max_t(unsigned int, offset + length +1, OUTSIZE(lookup));
147 memcpy((char *)(inp) + offset, name, length);
148 *((char *)inp + offset + length) = '\0';
202 const char *name, int length,
211 insize = max_t(unsigned int, offset + length + 1, OUTSIZE(mkdir));
218 memcpy((char *)(inp) + offset, name, length);
219 *((char *)inp + offset + length) = '\0';
270 const char *name, int length, int excl, int mode,
279 insize = max_t(unsigned int, offset + length
130 venus_lookup(struct super_block *sb, struct CodaFid *fid, const char *name, int length, int * type, struct CodaFid *resfid) argument
201 venus_mkdir(struct super_block *sb, struct CodaFid *dirfid, const char *name, int length, struct CodaFid *newfid, struct coda_vattr *attrs) argument
269 venus_create(struct super_block *sb, struct CodaFid *dirfid, const char *name, int length, int excl, int mode, struct CodaFid *newfid, struct coda_vattr *attrs) argument
302 venus_rmdir(struct super_block *sb, struct CodaFid *dirfid, const char *name, int length) argument
325 venus_remove(struct super_block *sb, struct CodaFid *dirfid, const char *name, int length) argument
347 venus_readlink(struct super_block *sb, struct CodaFid *fid, char *buffer, int *length) argument
[all...]
/linux-master/drivers/media/platform/amphion/
H A Dvpu_core.c57 if (core->fw.length < pfw->size) {
59 pfw->size, core->fw.length);
64 memset(core->fw.virt, 0, core->fw.length);
87 u32 count = core->act.length / core->res->act_size;
147 if (!buf->length)
150 buf->virt = dma_alloc_coherent(dev, buf->length, &buf->phys, gfp);
164 dma_free_coherent(buf->dev, buf->length, buf->virt, buf->phys);
167 buf->length = 0;
452 inst->act.length = core->res->act_size;
564 core->fw.length
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dbit.c37 bit->length = nvbios_rd16(bios, entry + 2);
/linux-master/arch/sparc/kernel/
H A Diommu_common.h45 int nr = iommu_num_pages(paddr, outs->dma_length + sg->length,
/linux-master/arch/alpha/kernel/
H A Derr_ev7.c41 ((unsigned long)el_ptr + el_ptr->length);
57 ((unsigned long)el_ptr + el_ptr->length);
61 ((unsigned long)subpacket + subpacket->length), i++) {
271 return (struct el_subpacket *)((unsigned long)header + header->length);
/linux-master/drivers/s390/char/
H A Dsclp_diag.h25 * length of Diagnostic Test FTP Service event buffer
41 * @length: buffer size resp. bytes transferred
56 u64 length; member in struct:sclp_diag_ftp
/linux-master/drivers/staging/ks7010/
H A Deap_packet.h17 /* followed by length octets of data */
25 unsigned short length; member in struct:ieee802_1x_hdr
26 /* followed by length octets of data */
/linux-master/drivers/net/ethernet/intel/e1000e/
H A Dmanage.h9 s32 e1000e_mng_write_dhcp_info(struct e1000_hw *hw, u8 *buffer, u16 length);
/linux-master/include/uapi/linux/
H A Drio_mport_cdev.h51 __u32 length; /* length in bytes */ member in struct:rio_mport_maint_io
131 __u64 length; member in struct:rio_mmap
137 __u64 length; /* length of DMA memory */ member in struct:rio_dma_mem
196 __u64 length; /* Length in bytes */ member in struct:rio_transfer_io
/linux-master/drivers/scsi/megaraid/
H A Dmegaraid_mm.h48 * @length :
78 uint32_t length; member in struct:mimd::__anon1048::__anon1049
/linux-master/tools/usb/
H A Dffs-test.c132 .length = cpu_to_le32(sizeof descriptors),
227 __u32 length, fs_count = 0, hs_count = 0, count; local
241 length = le32_to_cpu(in->header.length);
242 if (length <= sizeof in->header)
244 length -= sizeof in->header;
253 if (length < 4) \
256 length -= 4; \
278 if (length < *descs_end)
280 length
[all...]
/linux-master/drivers/net/wireless/ti/wl1251/
H A Drx.h63 u16 length; /* Paylod length, including headers */ member in struct:wl1251_rx_descriptor
/linux-master/sound/pci/asihpi/
H A Dhpi6000.h29 u32 length; member in struct:hpi_hif_6000
/linux-master/sound/sh/
H A Daica.h50 uint32_t length; /* Sample length */ member in struct:aica_channel
/linux-master/arch/arm64/kernel/
H A Dsys32.c89 u32, __pad, arg_u32p(length))
91 return ksys_truncate(pathname, arg_u64(length));
95 arg_u32p(length))
97 return ksys_ftruncate(fd, arg_u64(length));
/linux-master/drivers/staging/rtl8712/
H A Dmlme_linux.c154 wrqu.data.length = p - buff;
155 wrqu.data.length = (wrqu.data.length < IW_CUSTOM_MAX) ?
156 wrqu.data.length : IW_CUSTOM_MAX;
/linux-master/drivers/media/usb/cx231xx/
H A Dcx231xx-vbi.h42 u8 *p_line, u32 length, int field_number);
/linux-master/lib/zlib_inflate/
H A Dinflate.h22 EXLEN, /* i: waiting for extra length (gzip) */
31 STORED, /* i: waiting for stored size (length and complement) */
34 LENLENS, /* i: waiting for code length code lengths */
35 CODELENS, /* i: waiting for length/lit and distance code lengths */
36 LEN, /* i: waiting for length/lit code */
37 LENEXT, /* i: waiting for length extra bits */
43 LENGTH, /* i: waiting for 32-bit length (gzip) */
94 unsigned length; /* literal or length of data to copy */ member in struct:inflate_state
99 code const *lencode; /* starting table for length/litera
[all...]
/linux-master/drivers/s390/net/
H A Dsmsgiucv.c60 buffer = kmalloc(msg->length + 1, GFP_ATOMIC | GFP_DMA);
65 rc = iucv_message_receive(path, msg, 0, buffer, msg->length, NULL);
67 buffer[msg->length] = 0;
68 EBCASC(buffer, msg->length);

Completed in 268 milliseconds

<<21222324252627282930>>