/kernel/linux/linux-5.10/fs/nfs/ |
H A D | nfs4session.c | 39 static void nfs4_shrink_slot_table(struct nfs4_slot_table *tbl, u32 newsize) in nfs4_shrink_slot_table() argument 42 if (newsize >= tbl->max_slots) in nfs4_shrink_slot_table() 46 while (newsize--) in nfs4_shrink_slot_table()
|
/kernel/linux/linux-6.6/fs/nfs/ |
H A D | nfs4session.c | 39 static void nfs4_shrink_slot_table(struct nfs4_slot_table *tbl, u32 newsize) in nfs4_shrink_slot_table() argument 42 if (newsize >= tbl->max_slots) in nfs4_shrink_slot_table() 46 while (newsize--) in nfs4_shrink_slot_table()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
H A D | 3-2.c | 173 If newsize is not 0, the stack size in ta will be set to this value once the thread is created. 176 static int test_stack(pthread_attr_t * ta, size_t newsize) in test_stack() argument 255 if (newsize) { in test_stack() 256 ret = pthread_attr_setstacksize(ta, newsize); in test_stack()
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_tgsi.c | 58 unsigned newsize = emit->size * 2; in svga_shader_expand() local 61 new_buf = REALLOC(emit->buf, emit->size, newsize); in svga_shader_expand() 72 emit->size = newsize; in svga_shader_expand()
|
/third_party/ntfs-3g/include/ntfs-3g/ |
H A D | attrib.h | 353 extern int ntfs_attr_truncate(ntfs_attr *na, const s64 newsize); 354 extern int ntfs_attr_truncate_solid(ntfs_attr *na, const s64 newsize);
|
/third_party/python/Objects/ |
H A D | listobject.c | 30 /* Ensure ob_item has room for at least newsize elements, and set 31 * ob_size to newsize. If newsize > ob_size on entry, the content 35 * Failure is impossible if newsize <= self.allocated on entry, although 40 * Note that self->ob_item may change, and even if newsize is less 44 list_resize(PyListObject *self, Py_ssize_t newsize) in list_resize() argument 51 to accommodate the newsize. If the newsize falls lower than half in list_resize() 54 if (allocated >= newsize && newsize > in list_resize() [all...] |
/kernel/linux/linux-5.10/drivers/md/bcache/ |
H A D | bset.c | 134 size_t newsize = oldsize + u64s; in __bch_keylist_realloc() local 138 newsize = roundup_pow_of_two(newsize); in __bch_keylist_realloc() 140 if (newsize <= KEYLIST_INLINE || in __bch_keylist_realloc() 141 roundup_pow_of_two(oldsize) == newsize) in __bch_keylist_realloc() 144 new_keys = krealloc(old_keys, sizeof(uint64_t) * newsize, GFP_NOIO); in __bch_keylist_realloc()
|
/kernel/linux/linux-6.6/fs/ntfs3/ |
H A D | file.c | 691 loff_t newsize, oldsize; in ntfs3_setattr() local 700 newsize = attr->ia_size; in ntfs3_setattr() 702 if (newsize <= oldsize) in ntfs3_setattr() 703 err = ntfs_truncate(inode, newsize); in ntfs3_setattr() 705 err = ntfs_extend(inode, newsize, 0, NULL); in ntfs3_setattr() 711 i_size_write(inode, newsize); in ntfs3_setattr()
|
/kernel/linux/linux-6.6/drivers/md/bcache/ |
H A D | bset.c | 134 size_t newsize = oldsize + u64s; in __bch_keylist_realloc() local 138 newsize = roundup_pow_of_two(newsize); in __bch_keylist_realloc() 140 if (newsize <= KEYLIST_INLINE || in __bch_keylist_realloc() 141 roundup_pow_of_two(oldsize) == newsize) in __bch_keylist_realloc() 144 new_keys = krealloc(old_keys, sizeof(uint64_t) * newsize, GFP_NOIO); in __bch_keylist_realloc()
|
/kernel/linux/linux-5.10/arch/x86/tools/ |
H A D | relocs.c | 652 unsigned long newsize = r->size + 50000; in add_reloc() local 653 void *mem = realloc(r->offset, newsize * sizeof(r->offset[0])); in add_reloc() 657 newsize); in add_reloc() 659 r->size = newsize; in add_reloc()
|
/kernel/linux/linux-5.10/security/ |
H A D | commoncap.c | 507 size_t newsize; in cap_convert_nscap() local 528 newsize = sizeof(struct vfs_ns_cap_data); in cap_convert_nscap() 529 nscap = kmalloc(newsize, GFP_ATOMIC); in cap_convert_nscap() 542 return newsize; in cap_convert_nscap()
|
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
H A D | xfs_attr.c | 541 int newsize, forkoff, retval; in xfs_attr_shortform_addname() local 566 newsize = xfs_attr_sf_totsize(args->dp); in xfs_attr_shortform_addname() 567 newsize += xfs_attr_sf_entsize_byname(args->namelen, args->valuelen); in xfs_attr_shortform_addname() 569 forkoff = xfs_attr_shortform_bytesfit(args->dp, newsize); in xfs_attr_shortform_addname()
|
/kernel/linux/linux-5.10/fs/nilfs2/ |
H A D | ioctl.c | 1034 __u64 newsize; in nilfs_ioctl_resize() local 1045 if (copy_from_user(&newsize, argp, sizeof(newsize))) in nilfs_ioctl_resize() 1048 ret = nilfs_resize_fs(inode->i_sb, newsize); in nilfs_ioctl_resize()
|
/kernel/linux/linux-6.6/fs/nilfs2/ |
H A D | ioctl.c | 1019 __u64 newsize; in nilfs_ioctl_resize() local 1030 if (copy_from_user(&newsize, argp, sizeof(newsize))) in nilfs_ioctl_resize() 1033 ret = nilfs_resize_fs(inode->i_sb, newsize); in nilfs_ioctl_resize()
|
/kernel/linux/linux-6.6/arch/x86/tools/ |
H A D | relocs.c | 717 unsigned long newsize = r->size + 50000; in add_reloc() local 718 void *mem = realloc(r->offset, newsize * sizeof(r->offset[0])); in add_reloc() 722 newsize); in add_reloc() 724 r->size = newsize; in add_reloc()
|
/kernel/linux/linux-6.6/security/ |
H A D | commoncap.c | 541 size_t newsize; in cap_convert_nscap() local 566 newsize = sizeof(struct vfs_ns_cap_data); in cap_convert_nscap() 567 nscap = kmalloc(newsize, GFP_ATOMIC); in cap_convert_nscap() 579 return newsize; in cap_convert_nscap()
|
/third_party/node/deps/openssl/openssl/crypto/conf/ |
H A D | conf_def.c | 713 size_t newsize; in str_copy() local 771 newsize = strlen(p) + buf->length - (e - from); in str_copy() 772 if (newsize > MAX_CONF_VALUE_LENGTH) { in str_copy() 776 if (!BUF_MEM_grow_clean(buf, newsize)) { in str_copy()
|
/third_party/openssl/crypto/conf/ |
H A D | conf_def.c | 713 size_t newsize; in str_copy() local 771 newsize = strlen(p) + buf->length - (e - from); in str_copy() 772 if (newsize > MAX_CONF_VALUE_LENGTH) { in str_copy() 776 if (!BUF_MEM_grow_clean(buf, newsize)) { in str_copy()
|
/third_party/python/Parser/ |
H A D | pegen.c | 188 int newsize = p->size * 2; in _resize_tokens_array() local 189 Token **new_tokens = PyMem_Realloc(p->tokens, newsize * sizeof(Token *)); in _resize_tokens_array() 196 for (int i = p->size; i < newsize; i++) { in _resize_tokens_array() 204 p->size = newsize; in _resize_tokens_array()
|
/third_party/python/Modules/_io/ |
H A D | winconsoleio.c | 797 DWORD newsize = new_buffersize(self, len); in _io__WindowsConsoleIO_readall_impl() local 798 if (newsize > BUFMAX) in _io__WindowsConsoleIO_readall_impl() 800 if (newsize < bufsize) { in _io__WindowsConsoleIO_readall_impl() 807 bufsize = newsize; in _io__WindowsConsoleIO_readall_impl()
|
/kernel/linux/linux-5.10/drivers/block/rnbd/ |
H A D | rnbd-clt.h | 145 int rnbd_clt_resize_disk(struct rnbd_clt_dev *dev, size_t newsize);
|
/kernel/linux/linux-5.10/fs/jfs/ |
H A D | jfs_xtree.h | 105 extern s64 xtTruncate(tid_t tid, struct inode *ip, s64 newsize, int type);
|
/kernel/linux/linux-6.6/fs/jfs/ |
H A D | jfs_xtree.h | 99 extern s64 xtTruncate(tid_t tid, struct inode *ip, s64 newsize, int type);
|
/kernel/linux/linux-6.6/drivers/block/rnbd/ |
H A D | rnbd-clt.h | 141 int rnbd_clt_resize_disk(struct rnbd_clt_dev *dev, sector_t newsize);
|
/kernel/linux/linux-5.10/arch/mips/boot/tools/ |
H A D | relocs.c | 455 unsigned long newsize = r->size + 50000; in add_reloc() local 456 void *mem = realloc(r->offset, newsize * sizeof(r->offset[0])); in add_reloc() 462 r->size = newsize; in add_reloc()
|