Home
last modified time | relevance | path

Searched refs:dsize (Results 1 – 25 of 30) sorted by relevance

12

/linux-4.19.296/lib/mpi/
Dmpih-div.c59 mpi_ptr_t np, mpi_size_t nsize, mpi_ptr_t dp, mpi_size_t dsize) in mpihelp_divrem() argument
63 switch (dsize) { in mpihelp_divrem()
71 return 1 / dsize; in mpihelp_divrem()
169 np += nsize - dsize; in mpihelp_divrem()
170 dX = dp[dsize - 1]; in mpihelp_divrem()
171 d1 = dp[dsize - 2]; in mpihelp_divrem()
172 n0 = np[dsize - 1]; in mpihelp_divrem()
176 || mpihelp_cmp(np, dp, dsize - 1) >= 0) { in mpihelp_divrem()
177 mpihelp_sub_n(np, np, dp, dsize); in mpihelp_divrem()
178 n0 = np[dsize - 1]; in mpihelp_divrem()
[all …]
Dmpi-internal.h164 mpi_ptr_t dp, mpi_size_t dsize);
/linux-4.19.296/fs/jffs2/
Dread.c55 crc, je32_to_cpu(ri->dsize), je32_to_cpu(ri->csize), in jffs2_read_dnode()
65 if (ri->compr == JFFS2_COMPR_ZERO && !je32_to_cpu(ri->dsize) && in jffs2_read_dnode()
67 ri->dsize = ri->csize; in jffs2_read_dnode()
71 D1(if(ofs + len > je32_to_cpu(ri->dsize)) { in jffs2_read_dnode()
73 len, ofs, je32_to_cpu(ri->dsize)); in jffs2_read_dnode()
90 if (ri->compr == JFFS2_COMPR_NONE && len == je32_to_cpu(ri->dsize)) { in jffs2_read_dnode()
100 if (len < je32_to_cpu(ri->dsize)) { in jffs2_read_dnode()
101 decomprbuf = kmalloc(je32_to_cpu(ri->dsize), GFP_KERNEL); in jffs2_read_dnode()
134 je32_to_cpu(ri->dsize), decomprbuf); in jffs2_read_dnode()
135 …compr | (ri->usercompr << 8), readbuf, decomprbuf, je32_to_cpu(ri->csize), je32_to_cpu(ri->dsize)); in jffs2_read_dnode()
[all …]
Dwrite.c175 if ((je32_to_cpu(ri->dsize) >= PAGE_SIZE) || in jffs2_write_dnode()
177 (je32_to_cpu(ri->dsize)+je32_to_cpu(ri->offset) == je32_to_cpu(ri->isize)))) { in jffs2_write_dnode()
190 fn->size = je32_to_cpu(ri->dsize); in jffs2_write_dnode()
194 flash_ofs & ~3, flash_ofs & 3, je32_to_cpu(ri->dsize), in jffs2_write_dnode()
385 ri->dsize = cpu_to_je32(datalen); in jffs2_write_inode_range()
Dgc.c651 if (je32_to_cpu(node->i.dsize)) { in jffs2_garbage_collect_pristine()
829 ri.dsize = cpu_to_je32(mdatalen); in jffs2_garbage_collect_metadata()
1078 ri.dsize = cpu_to_je32(end - start); in jffs2_garbage_collect_hole()
1374 ri.dsize = cpu_to_je32(datalen); in jffs2_garbage_collect_dnode()
Dreadinode.c851 if (rd->compr == JFFS2_COMPR_ZERO && !je32_to_cpu(rd->dsize) && csize) in read_dnode()
854 tn->fn->size = je32_to_cpu(rd->dsize); in read_dnode()
858 je32_to_cpu(rd->offset), je32_to_cpu(rd->dsize), csize); in read_dnode()
1262 latest_node->isize = latest_node->dsize; in jffs2_do_read_inode_internal()
Dfs.c120 ri->csize = ri->dsize = cpu_to_je32(mdatalen); in jffs2_do_setattr()
125 ri->dsize = cpu_to_je32(iattr->ia_size - inode->i_size); in jffs2_do_setattr()
Dfile.c174 ri.dsize = cpu_to_je32((uint32_t)pos - inode->i_size); in jffs2_write_begin()
Ddir.c329 ri->isize = ri->dsize = ri->csize = cpu_to_je32(inode->i_size); in jffs2_symlink()
660 ri->dsize = ri->csize = cpu_to_je32(devlen); in jffs2_mknod()
/linux-4.19.296/drivers/s390/char/
Dsclp_sd.c44 u32 dsize; member
212 evbuf->dsize = *dsize_ptr; in sclp_sd_sync()
240 *dsize_ptr = evbuf->dsize; in sclp_sd_sync()
243 pr_debug("success (dsize=%u, esize=%u)\n", evbuf->dsize, in sclp_sd_sync()
286 u32 dsize = 0, esize = 0; in sclp_sd_store_data() local
296 rc = sclp_sd_sync(page, SD_EQ_SIZE, di, 0, 0, &dsize, &esize); in sclp_sd_store_data()
299 if (dsize == 0) in sclp_sd_store_data()
303 data = vzalloc(array_size((size_t)dsize, PAGE_SIZE)); in sclp_sd_store_data()
310 asce = base_asce_alloc((unsigned long) data, dsize); in sclp_sd_store_data()
318 rc = sclp_sd_sync(page, SD_EQ_STORE_DATA, di, asce, (u64) data, &dsize, in sclp_sd_store_data()
[all …]
/linux-4.19.296/drivers/isdn/i4l/
Disdnhdlc.c132 int *count, u8 *dst, int dsize) in isdnhdlc_decode() argument
301 if (hdlc->dstpos < dsize) in isdnhdlc_decode()
355 int *count, u8 *dst, int dsize) in isdnhdlc_encode() argument
368 while (dsize > 0) { in isdnhdlc_encode()
398 while (dsize--) in isdnhdlc_encode()
400 return dsize; in isdnhdlc_encode()
410 dsize--; in isdnhdlc_encode()
570 if (dsize > 1) in isdnhdlc_encode()
571 dsize = 1; in isdnhdlc_encode()
602 dsize = 0; in isdnhdlc_encode()
[all …]
/linux-4.19.296/include/linux/isdn/
Dhdlc.h75 int slen, int *count, u8 *dst, int dsize);
80 u16 slen, int *count, u8 *dst, int dsize);
/linux-4.19.296/fs/hfsplus/
Dunicode.c348 int size, dsize, decompose; in hfsplus_asc2uni() local
358 dstr = decompose_unichar(c, &dsize, dhangul); in hfsplus_asc2uni()
362 if (outlen + dsize > max_unistr_len) in hfsplus_asc2uni()
366 } while (--dsize > 0); in hfsplus_asc2uni()
401 int dsize; in hfsplus_hash_dentry() local
407 dstr = decompose_unichar(c, &dsize, dhangul); in hfsplus_hash_dentry()
417 } while (--dsize > 0); in hfsplus_hash_dentry()
/linux-4.19.296/fs/ntfs/
Drunlist.c219 int dsize, runlist_element *src, int ssize, int loc) in ntfs_rl_append() argument
228 if ((loc + 1) < dsize) in ntfs_rl_append()
232 dst = ntfs_rl_realloc(dst, dsize, dsize + ssize - right); in ntfs_rl_append()
248 ntfs_rl_mm(dst, marker, loc + 1 + right, dsize - (loc + 1 + right)); in ntfs_rl_append()
286 int dsize, runlist_element *src, int ssize, int loc) in ntfs_rl_insert() argument
316 dst = ntfs_rl_realloc(dst, dsize, dsize + ssize - left + disc); in ntfs_rl_insert()
335 ntfs_rl_mm(dst, marker, loc, dsize - loc); in ntfs_rl_insert()
382 int dsize, runlist_element *src, int ssize, int loc) in ntfs_rl_replace() argument
394 if ((loc + 1) < dsize) in ntfs_rl_replace()
404 dst = ntfs_rl_realloc(dst, dsize, dsize + delta); in ntfs_rl_replace()
[all …]
/linux-4.19.296/include/net/
Dllc_pdu.h354 int dsize; in llc_pdu_init_as_test_rsp() local
356 dsize = ntohs(eth_hdr(ev_skb)->h_proto) - 3; in llc_pdu_init_as_test_rsp()
357 memcpy(((u8 *)pdu) + 3, ((u8 *)ev_pdu) + 3, dsize); in llc_pdu_init_as_test_rsp()
358 skb_put(skb, dsize); in llc_pdu_init_as_test_rsp()
/linux-4.19.296/lib/
Dstring.c354 size_t dsize = strlen(dest); in strlcat() local
356 size_t res = dsize + len; in strlcat()
359 BUG_ON(dsize >= count); in strlcat()
361 dest += dsize; in strlcat()
362 count -= dsize; in strlcat()
/linux-4.19.296/include/linux/
Dhyperv.h149 u32 read_loc, write_loc, dsize, read; in hv_get_bytes_to_read() local
151 dsize = rbi->ring_datasize; in hv_get_bytes_to_read()
156 (dsize - read_loc) + write_loc; in hv_get_bytes_to_read()
163 u32 read_loc, write_loc, dsize, write; in hv_get_bytes_to_write() local
165 dsize = rbi->ring_datasize; in hv_get_bytes_to_write()
169 write = write_loc >= read_loc ? dsize - (write_loc - read_loc) : in hv_get_bytes_to_write()
/linux-4.19.296/fs/gfs2/
Daops.c463 u64 dsize = i_size_read(&ip->i_inode); in stuffed_readpage() local
483 memcpy(kaddr, dibh->b_data + sizeof(struct gfs2_dinode), dsize); in stuffed_readpage()
484 memset(kaddr + dsize, 0, PAGE_SIZE - dsize); in stuffed_readpage()
Dxattr.c42 static int ea_calc_size(struct gfs2_sbd *sdp, unsigned int nsize, size_t dsize, in ea_calc_size() argument
48 *size = ALIGN(sizeof(struct gfs2_ea_header) + nsize + dsize, 8); in ea_calc_size()
55 (sizeof(__be64) * DIV_ROUND_UP(dsize, jbsize)), 8); in ea_calc_size()
60 static int ea_check_size(struct gfs2_sbd *sdp, unsigned int nsize, size_t dsize) in ea_check_size() argument
64 if (dsize > GFS2_EA_MAX_DATA_LEN) in ea_check_size()
67 ea_calc_size(sdp, nsize, dsize, &size); in ea_check_size()
Dbmap.c73 u64 dsize = i_size_read(inode); in gfs2_unstuffer_page() local
75 memcpy(kaddr, dibh->b_data + sizeof(struct gfs2_dinode), dsize); in gfs2_unstuffer_page()
76 memset(kaddr + dsize, 0, PAGE_SIZE - dsize); in gfs2_unstuffer_page()
/linux-4.19.296/include/uapi/linux/
Dcoff.h135 char dsize[4]; /* initialized data " " */ member
Djffs2.h157 jint32_t dsize; /* Size of the node's data. (after decompression) */ member
/linux-4.19.296/drivers/hid/i2c-hid/
Di2c-hid-core.c909 unsigned int dsize; in i2c_hid_fetch_hid_descriptor() local
940 dsize = le16_to_cpu(hdesc->wHIDDescLength); in i2c_hid_fetch_hid_descriptor()
941 if (dsize != sizeof(struct i2c_hid_desc)) { in i2c_hid_fetch_hid_descriptor()
943 dsize); in i2c_hid_fetch_hid_descriptor()
946 i2c_hid_dbg(ihid, "HID Descriptor: %*ph\n", dsize, ihid->hdesc_buffer); in i2c_hid_fetch_hid_descriptor()
/linux-4.19.296/include/linux/netfilter/ipset/
Dip_set.h262 size_t dsize; member
/linux-4.19.296/fs/xfs/libxfs/
Dxfs_attr_leaf.c429 int dsize; in xfs_attr_shortform_bytesfit() local
461 dsize = dp->i_df.if_bytes; in xfs_attr_shortform_bytesfit()
474 dsize = XFS_BMDR_SPACE_CALC(MINDBTPTRS); in xfs_attr_shortform_bytesfit()
488 dsize = XFS_BMAP_BROOT_SPACE(mp, dp->i_df.if_broot); in xfs_attr_shortform_bytesfit()
496 minforkoff = max(dsize, XFS_BMDR_SPACE_CALC(MINDBTPTRS)); in xfs_attr_shortform_bytesfit()

12