Searched refs:max_size (Results 1 - 140 of 140) sorted by relevance

/linux-4.1.27/drivers/acpi/
H A Dcustom_method.c26 static u32 max_size; cm_write() local
39 uncopied_bytes = max_size = table.length; cm_write()
40 buf = kzalloc(max_size, GFP_KERNEL); cm_write()
48 if ((*ppos > max_size) || cm_write()
49 (*ppos + count > max_size) || cm_write()
/linux-4.1.27/tools/vm/
H A Dpage_owner_sort.c27 static int max_size; variable
66 if (list_size == max_size) { add_list()
67 printf("max_size too small??\n"); add_list()
107 max_size = st.st_size / 100; /* hack ... */ main()
109 list = malloc(max_size * sizeof(*list)); main()
H A Dslabinfo.c763 unsigned long long min_size = max, max_size = 0, totals() local
858 if (size > max_size) totals()
859 max_size = size; totals()
969 store_size(b3, max_size);store_size(b4, total_size); totals()
/linux-4.1.27/net/sched/
H A Dsch_tbf.c104 u32 max_size; member in struct:tbf_sched_data
196 if (qdisc_pkt_len(skb) > q->max_size) { tbf_enqueue()
197 if (skb_is_gso(skb) && skb_gso_mac_seglen(skb) <= q->max_size) tbf_enqueue()
321 u64 max_size; tbf_change() local
350 max_size = nla_get_u32(tb[TCA_TBF_BURST]); tbf_change()
351 buffer = psched_l2t_ns(&rate, max_size); tbf_change()
353 max_size = min_t(u64, psched_ns_t2l(&rate, buffer), ~0U); tbf_change()
369 max_size = min_t(u32, max_size, pburst); tbf_change()
372 max_size = min_t(u64, max_size, psched_ns_t2l(&peak, mtu)); tbf_change()
378 if (max_size < psched_mtu(qdisc_dev(sch))) tbf_change()
380 max_size, qdisc_dev(sch)->name, tbf_change()
383 if (!max_size) { tbf_change()
411 q->max_size = max_size; tbf_change()
/linux-4.1.27/arch/s390/appldata/
H A Dappldata_os.c171 int rc, max_size; appldata_os_init() local
173 max_size = sizeof(struct appldata_os_data) + appldata_os_init()
175 if (max_size > APPLDATA_MAX_REC_SIZE) { appldata_os_init()
177 "record size %i\n", max_size, APPLDATA_MAX_REC_SIZE); appldata_os_init()
182 appldata_os_data = kzalloc(max_size, GFP_KERNEL | GFP_DMA); appldata_os_init()
/linux-4.1.27/drivers/md/
H A Ddm-linear.c134 struct bio_vec *biovec, int max_size) linear_merge()
140 return max_size; linear_merge()
145 return min(max_size, q->merge_bvec_fn(q, bvm, biovec)); linear_merge()
133 linear_merge(struct dm_target *ti, struct bvec_merge_data *bvm, struct bio_vec *biovec, int max_size) linear_merge() argument
H A Ddm-flakey.c391 struct bio_vec *biovec, int max_size) flakey_merge()
397 return max_size; flakey_merge()
402 return min(max_size, q->merge_bvec_fn(q, bvm, biovec)); flakey_merge()
390 flakey_merge(struct dm_target *ti, struct bvec_merge_data *bvm, struct bio_vec *biovec, int max_size) flakey_merge() argument
H A Ddm-stripe.c416 struct bio_vec *biovec, int max_size) stripe_merge()
427 return max_size; stripe_merge()
432 return min(max_size, q->merge_bvec_fn(q, bvm, biovec)); stripe_merge()
415 stripe_merge(struct dm_target *ti, struct bvec_merge_data *bvm, struct bio_vec *biovec, int max_size) stripe_merge() argument
H A Ddm-log-writes.c732 struct bio_vec *biovec, int max_size) log_writes_merge()
738 return max_size; log_writes_merge()
743 return min(max_size, q->merge_bvec_fn(q, bvm, biovec)); log_writes_merge()
731 log_writes_merge(struct dm_target *ti, struct bvec_merge_data *bvm, struct bio_vec *biovec, int max_size) log_writes_merge() argument
H A Ddm-verity.c652 struct bio_vec *biovec, int max_size) verity_merge()
658 return max_size; verity_merge()
663 return min(max_size, q->merge_bvec_fn(q, bvm, biovec)); verity_merge()
651 verity_merge(struct dm_target *ti, struct bvec_merge_data *bvm, struct bio_vec *biovec, int max_size) verity_merge() argument
H A Ddm.c1724 int max_size = 0; dm_merge_bvec() local
1738 max_size = (max_sectors << SECTOR_SHIFT) - bvm->bi_size; dm_merge_bvec()
1739 if (max_size < 0) dm_merge_bvec()
1740 max_size = 0; dm_merge_bvec()
1747 if (max_size && ti->type->merge) dm_merge_bvec()
1748 max_size = ti->type->merge(ti, bvm, biovec, max_size); dm_merge_bvec()
1753 * entries. So always set max_size to 0, and the code below allows dm_merge_bvec()
1757 max_size = 0; dm_merge_bvec()
1764 if (max_size <= biovec->bv_len && !(bvm->bi_size >> SECTOR_SHIFT)) dm_merge_bvec()
1765 max_size = biovec->bv_len; dm_merge_bvec()
1767 return max_size; dm_merge_bvec()
H A Ddm-era-target.c1677 struct bio_vec *biovec, int max_size) era_merge()
1683 return max_size; era_merge()
1687 return min(max_size, q->merge_bvec_fn(q, bvm, biovec)); era_merge()
1676 era_merge(struct dm_target *ti, struct bvec_merge_data *bvm, struct bio_vec *biovec, int max_size) era_merge() argument
H A Ddm-crypt.c2022 struct bio_vec *biovec, int max_size) crypt_merge()
2028 return max_size; crypt_merge()
2033 return min(max_size, q->merge_bvec_fn(q, bvm, biovec)); crypt_merge()
2021 crypt_merge(struct dm_target *ti, struct bvec_merge_data *bvm, struct bio_vec *biovec, int max_size) crypt_merge() argument
H A Ddm-snap.c2325 struct bio_vec *biovec, int max_size) origin_merge()
2331 return max_size; origin_merge()
2335 return min(max_size, q->merge_bvec_fn(q, bvm, biovec)); origin_merge()
2324 origin_merge(struct dm_target *ti, struct bvec_merge_data *bvm, struct bio_vec *biovec, int max_size) origin_merge() argument
H A Ddm-thin.c3577 struct bio_vec *biovec, int max_size) pool_merge()
3583 return max_size; pool_merge()
3587 return min(max_size, q->merge_bvec_fn(q, bvm, biovec)); pool_merge()
4007 struct bio_vec *biovec, int max_size) thin_merge()
4013 return max_size; thin_merge()
4018 return min(max_size, q->merge_bvec_fn(q, bvm, biovec)); thin_merge()
3576 pool_merge(struct dm_target *ti, struct bvec_merge_data *bvm, struct bio_vec *biovec, int max_size) pool_merge() argument
4006 thin_merge(struct dm_target *ti, struct bvec_merge_data *bvm, struct bio_vec *biovec, int max_size) thin_merge() argument
H A Ddm-cache-target.c3318 struct bio_vec *biovec, int max_size) cache_bvec_merge()
3324 return max_size; cache_bvec_merge()
3327 return min(max_size, q->merge_bvec_fn(q, bvm, biovec)); cache_bvec_merge()
3316 cache_bvec_merge(struct dm_target *ti, struct bvec_merge_data *bvm, struct bio_vec *biovec, int max_size) cache_bvec_merge() argument
/linux-4.1.27/drivers/staging/lustre/lnet/lnet/
H A Dlib-md.c98 lmd->md_max_size = umd->max_size; lnet_md_build()
127 (umd->max_size < 0 || lnet_md_build()
128 umd->max_size > total_length)) /* illegal max_size */ lnet_md_build()
148 (umd->max_size < 0 || lnet_md_build()
149 umd->max_size > total_length)) /* illegal max_size */ lnet_md_build()
158 (umd->max_size < 0 || lnet_md_build()
159 umd->max_size > (int)umd->length)) /* illegal max_size */ lnet_md_build()
215 umd->max_size = lmd->md_max_size; lnet_md_deconstruct()
249 * zero or because the available memory becomes less than \a umd.max_size.
H A Dapi-ni.c1695 md.max_size = 0; lnet_ping_target_init()
1803 md.max_size = 0; lnet_ping()
/linux-4.1.27/fs/ext4/
H A Dsymlink.c36 u32 plen, max_size = inode->i_sb->s_blocksize; ext4_follow_link() local
47 max_size = sizeof(EXT4_I(inode)->i_data); ext4_follow_link()
64 max_size) { ext4_follow_link()
/linux-4.1.27/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_ioctl.c124 unsigned int max_size; vmw_fill_compat_cap() local
129 max_size = (size - pair_offset) / sizeof(SVGA3dCapPair); vmw_fill_compat_cap()
131 if (max_size > SVGA3D_DEVCAP_MAX) vmw_fill_compat_cap()
132 max_size = SVGA3D_DEVCAP_MAX; vmw_fill_compat_cap()
135 (pair_offset + max_size * sizeof(SVGA3dCapPair)) / sizeof(u32); vmw_fill_compat_cap()
139 for (i = 0; i < max_size; ++i) { vmw_fill_compat_cap()
177 if (arg->max_size < size) vmw_get_cap_3d_ioctl()
178 size = arg->max_size; vmw_get_cap_3d_ioctl()
/linux-4.1.27/arch/x86/kernel/cpu/microcode/
H A Damd.c150 u32 max_size; verify_patch_size() local
159 max_size = F14H_MPB_MAX_SIZE; verify_patch_size()
162 max_size = F15H_MPB_MAX_SIZE; verify_patch_size()
165 max_size = F16H_MPB_MAX_SIZE; verify_patch_size()
168 max_size = F1XH_MPB_MAX_SIZE; verify_patch_size()
172 if (patch_size > min_t(u32, size, max_size)) { verify_patch_size()
/linux-4.1.27/arch/x86/power/
H A Dhibernate_64.c123 int arch_hibernation_header_save(void *addr, unsigned int max_size) arch_hibernation_header_save() argument
127 if (max_size < sizeof(struct restore_data_record)) arch_hibernation_header_save()
/linux-4.1.27/drivers/usb/class/
H A Dusbtmc.c162 int max_size; usbtmc_ioctl_abort_bulk_in() local
195 max_size = 0; usbtmc_ioctl_abort_bulk_in()
200 max_size = usb_endpoint_maxp(&current_setting->endpoint[n].desc); usbtmc_ioctl_abort_bulk_in()
202 if (max_size == 0) { usbtmc_ioctl_abort_bulk_in()
208 dev_dbg(&data->intf->dev, "wMaxPacketSize is %d\n", max_size); usbtmc_ioctl_abort_bulk_in()
227 } while ((actual == max_size) && usbtmc_ioctl_abort_bulk_in()
230 if (actual == max_size) { usbtmc_ioctl_abort_bulk_in()
281 } while ((actual == max_size) && usbtmc_ioctl_abort_bulk_in()
284 if (actual == max_size) { usbtmc_ioctl_abort_bulk_in()
719 int max_size; usbtmc_ioctl_clear() local
747 max_size = 0; usbtmc_ioctl_clear()
752 max_size = usb_endpoint_maxp(desc); usbtmc_ioctl_clear()
755 if (max_size == 0) { usbtmc_ioctl_clear()
761 dev_dbg(dev, "wMaxPacketSize is %d\n", max_size); usbtmc_ioctl_clear()
806 } while ((actual == max_size) && usbtmc_ioctl_clear()
809 if (actual == max_size) { usbtmc_ioctl_clear()
/linux-4.1.27/net/netfilter/ipvs/
H A Dip_vs_lblc.c110 int max_size; /* maximum size of entries */ member in struct:ip_vs_lblc_table
315 if (atomic_read(&tbl->entries) <= tbl->max_size) { ip_vs_lblc_check_expire()
320 goal = (atomic_read(&tbl->entries) - tbl->max_size)*4/3; ip_vs_lblc_check_expire()
321 if (goal > tbl->max_size/2) ip_vs_lblc_check_expire()
322 goal = tbl->max_size/2; ip_vs_lblc_check_expire()
369 tbl->max_size = IP_VS_LBLC_TAB_SIZE*16; ip_vs_lblc_init_svc()
H A Dip_vs_lblcr.c279 int max_size; /* maximum size of entries */ member in struct:ip_vs_lblcr_table
479 if (atomic_read(&tbl->entries) <= tbl->max_size) { ip_vs_lblcr_check_expire()
484 goal = (atomic_read(&tbl->entries) - tbl->max_size)*4/3; ip_vs_lblcr_check_expire()
485 if (goal > tbl->max_size/2) ip_vs_lblcr_check_expire()
486 goal = tbl->max_size/2; ip_vs_lblcr_check_expire()
532 tbl->max_size = IP_VS_LBLCR_TAB_SIZE*16; ip_vs_lblcr_init_svc()
/linux-4.1.27/include/net/
H A Dinet_frag.h46 * @max_size: (ipv4 only) maximum received fragment size with IP_DF set
60 u16 max_size; member in struct:inet_frag_queue
H A Dbond_3ad.h286 int max_size = sizeof(churn_description) / sizeof(churn_description[0]); bond_3ad_churn_desc() local
288 if (state >= max_size) bond_3ad_churn_desc()
289 state = max_size - 1; bond_3ad_churn_desc()
/linux-4.1.27/arch/powerpc/platforms/embedded6xx/
H A Dwii.c102 unsigned long max_size = (256<<20); wii_mmu_mapin_mem2() local
107 for (bl = 128<<10; bl < max_size; bl <<= 1) { wii_mmu_mapin_mem2()
/linux-4.1.27/fs/befs/
H A Dbefs_fs_types.h223 fs64 max_size; member in struct:__anon10761
233 befs_off_t max_size; member in struct:__anon10762
H A Ddebug.c238 fs64_to_cpu(sb, super->max_size)); befs_dump_index_entry()
H A Dbtree.c160 sup->max_size = fs64_to_cpu(sb, od_sup->max_size); befs_bt_read_super()
/linux-4.1.27/fs/ceph/
H A Dcaps.c981 u64 size, u64 max_size, send_cap_msg()
999 seq, issue_seq, mseq, follows, size, max_size, send_cap_msg()
1026 fc->max_size = cpu_to_le64(max_size); send_cap_msg()
1115 * Make note of max_size reported/requested from mds, revoked caps
1138 u64 size, max_size; variable
1220 max_size = ci->i_wanted_max_size;
1221 ci->i_requested_max_size = max_size;
1241 size, max_size, &mtime, &atime, time_warp_seq,
1581 * journal max_size=0. ceph_check_caps()
1655 /* request larger max_size from MDS? */ ceph_check_caps()
1658 dout("requesting new max_size\n"); ceph_check_caps()
1665 dout("i_size approaching max_size\n"); ceph_check_caps()
2098 * to (when applicable), and check against max_size here as well.
2099 * Note that caller is responsible for ensuring max_size increases are
2200 * max_size. If necessary, tell the MDS we want to write to
2208 /* do we need to explicitly request a larger max_size? */ check_max_size()
2211 dout("write %p at large endoff %llu, req max_size\n", check_max_size()
2228 * due to a small max_size, make sure we check_max_size (and possibly
2492 u64 max_size = le64_to_cpu(grant->max_size); variable
2505 dout(" size %llu max_size %llu, i_size %llu\n", size, max_size,
2607 if (ci->i_auth_cap == cap && max_size != ci->i_max_size) {
2608 dout("max_size %lld -> %llu\n",
2609 ci->i_max_size, max_size);
2610 ci->i_max_size = max_size;
2611 if (max_size >= ci->i_wanted_max_size) {
3070 /* make sure we re-request max_size, if necessary */
3100 u64 size, max_size; ceph_handle_caps() local
3124 max_size = le64_to_cpu(h->max_size); ceph_handle_caps()
977 send_cap_msg(struct ceph_mds_session *session, u64 ino, u64 cid, int op, int caps, int wanted, int dirty, u32 seq, u64 flush_tid, u32 issue_seq, u32 mseq, u64 size, u64 max_size, struct timespec *mtime, struct timespec *atime, u64 time_warp_seq, kuid_t uid, kgid_t gid, umode_t mode, u64 xattr_version, struct ceph_buffer *xattrs_buf, u64 follows, bool inline_data) send_cap_msg() argument
H A Dinode.c761 /* only update max_size on auth cap */ fill_inode()
763 ci->i_max_size != le64_to_cpu(info->max_size)) { fill_inode()
764 dout("max_size %lld -> %llu\n", ci->i_max_size, fill_inode()
765 le64_to_cpu(info->max_size)); fill_inode()
766 ci->i_max_size = le64_to_cpu(info->max_size); fill_inode()
1492 /* tell the MDS if we are approaching max_size */ ceph_inode_set_size()
H A Dsuper.h311 u64 i_requested_max_size; /* max_size we've requested */
/linux-4.1.27/sound/firewire/bebob/
H A Dbebob_proc.c24 u32 max_size; member in struct:hw_info
63 snd_iprintf(buffer, "Max Size:\t%d\n", info->max_size); proc_read_hw_info()
/linux-4.1.27/drivers/regulator/
H A Dda9211-regulator.c148 int i, max_size; da9211_set_current_limit() local
154 max_size = ARRAY_SIZE(da9211_current_limits)-1; da9211_set_current_limit()
158 max_size = ARRAY_SIZE(da9213_current_limits)-1; da9211_set_current_limit()
165 for (i = max_size; i >= 0; i--) { da9211_set_current_limit()
/linux-4.1.27/include/linux/
H A Dpercpu_ida.h70 unsigned long max_size, unsigned long batch_size); percpu_ida_init()
H A Drhashtable.h105 * @max_size: Maximum size while expanding
121 unsigned int max_size; member in struct:rhashtable_params
264 (!ht->p.max_size || tbl->size < ht->p.max_size); rht_grow_above_75()
289 (!ht->p.max_size || tbl->size < ht->p.max_size); rht_grow_above_100()
H A Ddevice-mapper.h86 struct bio_vec *biovec, int max_size);
H A Defi.h526 u64 *max_size,
/linux-4.1.27/arch/x86/platform/efi/
H A Dquirks.c66 u64 storage_size, remaining_size, max_size; efi_query_variable_store() local
72 &remaining_size, &max_size); efi_query_variable_store()
116 &remaining_size, &max_size); efi_query_variable_store()
H A Defi_64.c580 unsigned long count, u64 *max_size, efi_thunk_query_capsule_caps()
579 efi_thunk_query_capsule_caps(efi_capsule_header_t **capsules, unsigned long count, u64 *max_size, int *reset_type) efi_thunk_query_capsule_caps() argument
/linux-4.1.27/arch/powerpc/mm/
H A Dppc_mmu_32.c78 unsigned long max_size = (256<<20); mmu_mapin_ram() local
90 for (bl = 128<<10; bl < max_size; bl <<= 1) { mmu_mapin_ram()
100 for (bl = 128<<10; bl < max_size; bl <<= 1) mmu_mapin_ram()
/linux-4.1.27/drivers/xen/
H A Defi.c204 *max_variable_size = efi_data(op).u.query_variable_info.max_size; xen_efi_query_variable_info()
243 u64 *max_size, xen_efi_query_capsule_caps()
258 *max_size = efi_data(op).u.query_capsule_capabilities.max_capsule_size; xen_efi_query_capsule_caps()
241 xen_efi_query_capsule_caps(efi_capsule_header_t **capsules, unsigned long count, u64 *max_size, int *reset_type) xen_efi_query_capsule_caps() argument
/linux-4.1.27/arch/x86/kernel/
H A Dtboot.c367 u32 max_size; tboot_log_read() local
379 max_size = readl(log_base + LOG_MAX_SIZE_OFF); tboot_log_read()
380 if (*ppos >= max_size) { tboot_log_read()
385 if (*ppos + count > max_size) tboot_log_read()
386 count = max_size - *ppos; tboot_log_read()
/linux-4.1.27/drivers/scsi/fnic/
H A Dfnic_trace.c736 int max_size = fnic_fc_trace_max_pages * PAGE_SIZE * 3; copy_and_format_trace_data() local
746 max_size - len, copy_and_format_trace_data()
759 max_size - len, "%c", fc_trace[j]); copy_and_format_trace_data()
762 max_size - len, "%02x", fc_trace[j] & 0xff); copy_and_format_trace_data()
764 max_size - len, " "); copy_and_format_trace_data()
770 + len, max_size - len, copy_and_format_trace_data()
777 max_size - len, "\n"); copy_and_format_trace_data()
/linux-4.1.27/drivers/edac/
H A Dedac_mc_sysfs.c244 ssize_t max_size = 0; channel_dimm_label_store() local
246 max_size = min((ssize_t) count, (ssize_t) EDAC_MC_LABEL_LEN - 1); channel_dimm_label_store()
247 strncpy(rank->dimm->label, data, max_size); channel_dimm_label_store()
248 rank->dimm->label[max_size] = '\0'; channel_dimm_label_store()
250 return max_size; channel_dimm_label_store()
503 ssize_t max_size = 0; dimmdev_label_store() local
505 max_size = min((ssize_t) count, (ssize_t) EDAC_MC_LABEL_LEN - 1); dimmdev_label_store()
506 strncpy(dimm->label, data, max_size); dimmdev_label_store()
507 dimm->label[max_size] = '\0'; dimmdev_label_store()
509 return max_size; dimmdev_label_store()
/linux-4.1.27/drivers/media/platform/vivid/
H A Dvivid-vid-common.c612 /* v4l2_rect helper function: width and height of r should be <= max_size */ rect_set_max_size()
613 void rect_set_max_size(struct v4l2_rect *r, const struct v4l2_rect *max_size) rect_set_max_size() argument
615 if (r->width > max_size->width) rect_set_max_size()
616 r->width = max_size->width; rect_set_max_size()
617 if (r->height > max_size->height) rect_set_max_size()
618 r->height = max_size->height; rect_set_max_size()
H A Dvivid-vid-common.h43 void rect_set_max_size(struct v4l2_rect *r, const struct v4l2_rect *max_size);
/linux-4.1.27/drivers/gpu/drm/i915/
H A Dintel_fbdev.c560 unsigned int max_size = 0; intel_fbdev_init_bios() local
575 if (intel_crtc->plane_config.size > max_size) { for_each_crtc()
580 max_size = plane_config->size; for_each_crtc()
632 if (cur_size > max_size) { for_each_crtc()
635 cur_size, max_size); for_each_crtc()
643 max_size, cur_size); for_each_crtc()
/linux-4.1.27/drivers/gpu/drm/ttm/
H A Dttm_page_alloc.c91 unsigned max_size; member in struct:ttm_pool_opts
168 m->options.max_size = val; ttm_pool_store()
195 val = m->options.max_size; ttm_pool_show()
708 if (pool->npages > _manager->options.max_size) { ttm_put_pages()
709 npages = pool->npages - _manager->options.max_size; ttm_put_pages()
832 _manager->options.max_size = max_pages; ttm_page_alloc_init()
H A Dttm_page_alloc_dma.c143 unsigned max_size; member in struct:ttm_pool_opts
222 m->options.max_size = val; ttm_pool_store()
249 val = m->options.max_size; ttm_pool_show()
964 if (pool->npages_free > _manager->options.max_size) { ttm_dma_unpopulate()
965 npages = pool->npages_free - _manager->options.max_size; ttm_dma_unpopulate()
1093 _manager->options.max_size = max_pages; ttm_dma_page_alloc_init()
/linux-4.1.27/lib/
H A Dflex_array.c93 int max_size = 0; flex_array_alloc() local
99 max_size = FLEX_ARRAY_NR_BASE_PTRS * elems_per_part; flex_array_alloc()
102 /* max_size will end up 0 if element_size > PAGE_SIZE */ flex_array_alloc()
103 if (total > max_size) flex_array_alloc()
H A Drhashtable.c740 if (params->max_size) rhashtable_init()
741 ht->p.max_size = rounddown_pow_of_two(params->max_size); rhashtable_init()
747 ht->p.insecure_max_entries = ht->p.max_size * 2; rhashtable_init()
H A Dpercpu_ida.c287 unsigned long max_size, unsigned long batch_size) __percpu_ida_init()
296 pool->percpu_max_size = max_size; __percpu_ida_init()
286 __percpu_ida_init(struct percpu_ida *pool, unsigned long nr_tags, unsigned long max_size, unsigned long batch_size) __percpu_ida_init() argument
/linux-4.1.27/security/integrity/ima/
H A Dima_crypto.c111 * @max_size: Maximum amount of memory to allocate.
116 * max_size amount of memory and then splitting that until zero order is
124 static void *ima_alloc_pages(loff_t max_size, size_t *allocated_size, ima_alloc_pages() argument
132 order = min(get_order(max_size), order); ima_alloc_pages()
/linux-4.1.27/sound/pci/emu10k1/
H A Dmemory.c106 int max_size = npages; search_empty_map_area() local
120 else if (size > max_size) { search_empty_map_area()
122 max_size = size; search_empty_map_area()
129 if (size >= max_size) { search_empty_map_area()
/linux-4.1.27/drivers/mtd/ubi/
H A Dfastmap-wl.c136 if (pool->size < pool->max_size) { ubi_refill_pools()
149 if (wl_pool->size < wl_pool->max_size) { ubi_refill_pools()
H A Dfastmap.c656 fm->max_pool_size = be16_to_cpu(fmpl1->max_size); ubi_attach_fastmap()
657 fm->max_wl_pool_size = be16_to_cpu(fmpl2->max_size); ubi_attach_fastmap()
1047 ubi->fm_pool.max_size = ubi->fm->max_pool_size; ubi_scan_fastmap()
1048 ubi->fm_wl_pool.max_size = ubi->fm->max_wl_pool_size; ubi_scan_fastmap()
1050 ubi_msg(ubi, "fastmap pool size: %d", ubi->fm_pool.max_size); ubi_scan_fastmap()
1052 ubi->fm_wl_pool.max_size); ubi_scan_fastmap()
1149 fmpl1->max_size = cpu_to_be16(ubi->fm_pool.max_size); ubi_write_fastmap()
1160 fmpl2->max_size = cpu_to_be16(ubi->fm_wl_pool.max_size); ubi_write_fastmap()
H A Dbuild.c945 * fm_pool.max_size is 5% of the total number of PEBs but it's also ubi_attach_mtd_dev()
948 ubi->fm_pool.max_size = min(((int)mtd_div_by_eb(ubi->mtd->size, ubi_attach_mtd_dev()
950 if (ubi->fm_pool.max_size < UBI_FM_MIN_POOL_SIZE) ubi_attach_mtd_dev()
951 ubi->fm_pool.max_size = UBI_FM_MIN_POOL_SIZE; ubi_attach_mtd_dev()
953 ubi->fm_wl_pool.max_size = ubi->fm_pool.max_size / 2; ubi_attach_mtd_dev()
965 ubi_msg(ubi, "default fastmap pool size: %d", ubi->fm_pool.max_size); ubi_attach_mtd_dev()
967 ubi->fm_wl_pool.max_size); ubi_attach_mtd_dev()
H A Dubi.h251 * @max_size: maximal size of the pool
253 * A pool gets filled with up to max_size.
262 int max_size; member in struct:ubi_fm_pool
H A Dubi-media.h456 * @max_size: maximal pool size
462 __be16 max_size; member in struct:ubi_fm_scan_pool
/linux-4.1.27/drivers/firmware/efi/
H A Druntime-wrappers.c274 u64 *max_size, virt_efi_query_capsule_caps()
284 status = efi_call_virt(query_capsule_caps, capsules, count, max_size, virt_efi_query_capsule_caps()
272 virt_efi_query_capsule_caps(efi_capsule_header_t **capsules, unsigned long count, u64 *max_size, int *reset_type) virt_efi_query_capsule_caps() argument
/linux-4.1.27/drivers/gpu/drm/cirrus/
H A Dcirrus_main.c321 const int max_size = cdev->mc.vram_size; cirrus_check_framebuffer() local
331 if (pitch * height > max_size) cirrus_check_framebuffer()
/linux-4.1.27/fs/jfs/
H A Dxattr.c74 int max_size; /* largest xattr that fits in current buffer */ member in struct:ea_buffer
459 ea_buf->max_size = 0; ea_get()
466 ea_buf->max_size = sizeof (ji->i_inline_ea); ea_get()
478 ea_buf->max_size = sizeof (ji->i_inline_ea); ea_get()
503 ea_buf->max_size = (size + sb->s_blocksize - 1) & ea_get()
548 ea_buf->max_size = (min_size + sb->s_blocksize - 1) & ea_get()
568 ea_buf->max_size = (ea_size + sb->s_blocksize - 1) & ea_get()
765 if (new_size > ea_buf.max_size) { __jfs_setxattr()
/linux-4.1.27/net/ipv4/
H A Dip_fragment.c478 skb->len + ihl > qp->q.max_size) ip_frag_queue()
479 qp->q.max_size = skb->len + ihl; ip_frag_queue()
609 IPCB(head)->frag_max_size = qp->q.max_size; ip_frag_reasm()
612 /* max_size != 0 implies at least one fragment had IP_DF set */ ip_frag_reasm()
613 iph->frag_off = qp->q.max_size ? htons(IP_DF) : 0; ip_frag_reasm()
H A Droute.c2585 .procname = "max_size",
/linux-4.1.27/tools/perf/util/
H A Devsel.c1396 static inline bool overflow(const void *endp, u16 max_size, const void *offset, overflow() argument
1399 return size > max_size || offset + size > endp; overflow()
1402 #define OVERFLOW_CHECK(offset, size, max_size) \
1404 if (overflow(endp, (max_size), (offset), (size))) \
1417 u16 max_size = event->header.size; perf_evsel__parse_sample() local
1418 const void *endp = (void *)event + max_size; perf_evsel__parse_sample()
1545 OVERFLOW_CHECK(array, sz, max_size); perf_evsel__parse_sample()
1564 OVERFLOW_CHECK(array, sz, max_size); perf_evsel__parse_sample()
1581 OVERFLOW_CHECK(array, data->raw_size, max_size); perf_evsel__parse_sample()
1596 OVERFLOW_CHECK(array, sz, max_size); perf_evsel__parse_sample()
1609 OVERFLOW_CHECK(array, sz, max_size); perf_evsel__parse_sample()
1626 OVERFLOW_CHECK(array, sz, max_size); perf_evsel__parse_sample()
1668 OVERFLOW_CHECK(array, sz, max_size); perf_evsel__parse_sample()
H A Dcallchain.c33 unsigned long max_size = round_down(USHRT_MAX, sizeof(u64)); get_stack_size() local
42 if (!size || size > max_size) get_stack_size()
51 max_size, str); get_stack_size()
/linux-4.1.27/drivers/net/ethernet/intel/igbvf/
H A Dvf.c287 * @max_size: value to assign to max frame size
289 void e1000_rlpml_set_vf(struct e1000_hw *hw, u16 max_size) e1000_rlpml_set_vf() argument
295 msgbuf[1] = max_size; e1000_rlpml_set_vf()
/linux-4.1.27/drivers/staging/rtl8723au/core/
H A Drtw_efuse.c529 u16 max_size; efuse_GetMaxSize23a() local
532 (void *)&max_size); efuse_GetMaxSize23a()
533 return max_size; efuse_GetMaxSize23a()
/linux-4.1.27/drivers/net/wireless/ti/wlcore/
H A Dinit.c40 size_t max_size; wl1271_init_templates_config() local
111 max_size = sizeof(struct wl12xx_arp_rsp_template) + wl1271_init_templates_config()
115 max_size, wl1271_init_templates_config()
/linux-4.1.27/arch/parisc/kernel/
H A Dcache.c119 if (btlb_info.max_size==0) { show_cache_info()
126 btlb_info.max_size, (int)4096, show_cache_info()
127 btlb_info.max_size>>8, show_cache_info()
H A Dfirmware.c600 btlb->max_size = 0; pdc_btlb_info()
/linux-4.1.27/drivers/misc/vmw_vmci/
H A Dvmci_context.h142 size_t *max_size, struct vmci_datagram **dg);
H A Dvmci_context.c505 * size is less than max_size. If larger max_size is set to
510 size_t *max_size, vmci_ctx_dequeue_datagram()
532 if (*max_size < dq_entry->dg_size) { vmci_ctx_dequeue_datagram()
533 *max_size = dq_entry->dg_size; vmci_ctx_dequeue_datagram()
536 (u32) *max_size); vmci_ctx_dequeue_datagram()
509 vmci_ctx_dequeue_datagram(struct vmci_ctx *context, size_t *max_size, struct vmci_datagram **dg) vmci_ctx_dequeue_datagram() argument
/linux-4.1.27/drivers/net/ethernet/intel/ixgbevf/
H A Dvf.h209 void ixgbevf_rlpml_set_vf(struct ixgbe_hw *hw, u16 max_size);
H A Dvf.c617 * @max_size: value to assign to max frame size
619 void ixgbevf_rlpml_set_vf(struct ixgbe_hw *hw, u16 max_size) ixgbevf_rlpml_set_vf() argument
624 msgbuf[1] = max_size; ixgbevf_rlpml_set_vf()
/linux-4.1.27/drivers/gpu/drm/radeon/
H A Dradeon_gem.c50 unsigned long max_size; radeon_gem_object_create() local
62 max_size = rdev->mc.gtt_size - rdev->gart_pin_size; radeon_gem_object_create()
63 if (size > max_size) { radeon_gem_object_create()
65 size >> 20, max_size >> 20); radeon_gem_object_create()
/linux-4.1.27/include/linux/crush/
H A Dcrush.h73 __u8 max_size; member in struct:crush_rule_mask
/linux-4.1.27/arch/tile/kernel/
H A Dsetup.c437 int max_size = maxnodemem_pfn[i]; setup_memory() local
438 if (max_size > 0) { setup_memory()
440 i, max_size); setup_memory()
441 range.size = PFN_PHYS(max_size); setup_memory()
448 int max_size = maxmem_pfn - physpages; setup_memory() local
449 if (max_size > 0) { setup_memory()
451 i, max_size); setup_memory()
452 range.size = PFN_PHYS(max_size); setup_memory()
/linux-4.1.27/block/
H A Dblk-settings.c346 * @max_size: max size of segment in bytes
352 void blk_queue_max_segment_size(struct request_queue *q, unsigned int max_size) blk_queue_max_segment_size() argument
354 if (max_size < PAGE_CACHE_SIZE) { blk_queue_max_segment_size()
355 max_size = PAGE_CACHE_SIZE; blk_queue_max_segment_size()
357 __func__, max_size); blk_queue_max_segment_size()
360 q->limits.max_segment_size = max_size; blk_queue_max_segment_size()
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_mbx.c330 if ((len < total_len) && (msg_len <= mbx->max_size)) fm10k_mbx_validate_msg_size()
1050 mbx->max_size = mbx->rx.size - 1; fm10k_mbx_reset_work()
1062 * fm10k_mbx_update_max_size - Update the max_size and drop any large messages
1064 * @size: new value for max_size
1066 * This function updates the max_size value and drops any outgoing messages
1067 * at the head of the Tx FIFO if they are larger than max_size. It does not
1070 * than max_size aren't pushed into the memory buffer.
1076 mbx->max_size = size; fm10k_mbx_update_max_size()
1139 mbx->max_size = mbx->rx.size - 1; fm10k_mbx_process_connect()
1285 /* if open then reset max_size and go back to connect */ fm10k_mbx_process_error()
1576 mbx->max_size = FM10K_MBX_MSG_MAX_SIZE; fm10k_pfvf_mbx_init()
1681 mbx->max_size = FM10K_MBX_MSG_MAX_SIZE; fm10k_sm_mbx_connect()
2121 mbx->max_size = FM10K_MBX_MSG_MAX_SIZE; fm10k_sm_mbx_init()
H A Dfm10k_mbx.h280 u16 max_size, mbmem_len; member in struct:fm10k_mbx_info
/linux-4.1.27/include/trace/events/
H A Dbtrfs.h923 __field( u64, max_size )
932 __entry->max_size = cluster->max_size;
938 "size = %Lu, max_size = %Lu, bitmap = %d",
943 __entry->size, __entry->max_size, __entry->bitmap)
/linux-4.1.27/sound/drivers/vx/
H A Dvx_pcm.c206 info->max_size = rmh.Stat[1]; vx_set_ibl()
210 info->size, info->max_size, info->min_size, info->granularity); vx_set_ibl()
817 // int max_size, nchunks; vx_pcm_prepare()
1202 if (chip->ibl.size > chip->ibl.max_size) vx_init_audio_io()
1203 chip->ibl.size = chip->ibl.max_size; vx_init_audio_io()
H A Dvx_core.c640 chip->ibl.min_size, chip->ibl.max_size, chip->ibl.size, vx_proc_read()
/linux-4.1.27/drivers/staging/lustre/include/linux/lnet/
H A Dtypes.h218 int max_size; member in struct:__anon9906
246 * - LNET_MD_MAX_SIZE: The max_size field is valid.
253 * \a max_size.
/linux-4.1.27/drivers/staging/ozwpan/
H A Dozproto.c754 static char *oz_get_next_device_name(char *s, char *dname, int max_size) oz_get_next_device_name() argument
758 while (*s && (*s != ',') && max_size > 1) { oz_get_next_device_name()
760 max_size--; oz_get_next_device_name()
/linux-4.1.27/drivers/video/fbdev/
H A Doffb.c540 unsigned long max_size = 0; offb_init_nodriver() local
620 if (rsize > max_size) { offb_init_nodriver()
621 max_size = rsize; offb_init_nodriver()
H A Dsh_mobile_lcdcfb.c2605 unsigned int max_size; sh_mobile_lcdc_channel_init() local
2621 max_size = 0; sh_mobile_lcdc_channel_init()
2634 if (size > max_size) { sh_mobile_lcdc_channel_init()
2636 max_size = size; sh_mobile_lcdc_channel_init()
2640 if (!max_size) sh_mobile_lcdc_channel_init()
2641 max_size = MAX_XRES * MAX_YRES; sh_mobile_lcdc_channel_init()
2676 ch->fb_size = max_size * format->bpp / 8 * 2; sh_mobile_lcdc_channel_init()
/linux-4.1.27/net/ipv6/netfilter/
H A Dnf_conntrack_reasm.c350 if (payload_len > fq->q.max_size) nf_ct_frag6_queue()
351 fq->q.max_size = payload_len; nf_ct_frag6_queue()
466 IP6CB(head)->frag_max_size = sizeof(struct ipv6hdr) + fq->q.max_size; nf_ct_frag6_reasm()
/linux-4.1.27/kernel/events/
H A Dring_buffer.c229 long max_size = perf_data_size(rb); ring_buffer_init() local
232 rb->watermark = min(max_size, watermark); ring_buffer_init()
235 rb->watermark = max_size / 2; ring_buffer_init()
/linux-4.1.27/drivers/isdn/hisax/
H A Dhfc_usb.c154 unsigned int max_size; /* maximum size of receive/send packet */ member in struct:usb_fifo
792 fifo->skbuff = dev_alloc_skb(fifo->max_size + 3); collect_rx_frame()
801 if (fifo->skbuff->len + len < fifo->max_size) { collect_rx_frame()
805 "HCF-USB: got frame exceeded fifo->max_size(%d) fifo(%d)", collect_rx_frame()
806 fifo->max_size, fifon); collect_rx_frame()
1139 fifo[i].max_size = hfc_usb_init()
/linux-4.1.27/security/apparmor/include/
H A Dpolicy.h93 * @max_size: maximum space allowed for all profiles in namespace
99 int max_size; member in struct:aa_ns_acct
/linux-4.1.27/drivers/staging/unisys/visorchipset/
H A Dvisorchipset.h172 ulong *max_size);
/linux-4.1.27/drivers/block/
H A Dfloppy.c2387 static int transfer_size(int ssize, int max_sector, int max_size) transfer_size() argument
2389 SUPBOUND(max_sector, fsector_t + max_size); transfer_size()
2523 int max_size; make_raw_rw_request() local
2621 max_size = blk_rq_sectors(current_req); make_raw_rw_request()
2636 max_size = ssize + ssize; make_raw_rw_request()
2638 max_size = ssize; make_raw_rw_request()
2655 max_size = buffer_chain_size(); make_raw_rw_request()
2658 if ((unsigned long)max_size > dma_limit) make_raw_rw_request()
2659 max_size = dma_limit; make_raw_rw_request()
2661 if (CROSS_64KB(bio_data(current_req->bio), max_size << 9)) make_raw_rw_request()
2662 max_size = (K_64 - make_raw_rw_request()
2665 direct = transfer_size(ssize, max_sector, max_size) - fsector_t; make_raw_rw_request()
2678 max_size = blk_rq_sectors(current_req); make_raw_rw_request()
2694 max_size = max_sector; /* unbounded */ make_raw_rw_request()
2704 max_size + fsector_t > 2 * max_buffer_sectors + buffer_min)) { make_raw_rw_request()
2748 fsector_t, aligned_sector_t, max_sector, max_size); make_raw_rw_request()
/linux-4.1.27/arch/cris/include/arch-v32/arch/hwregs/
H A Deth_defs.h155 unsigned int max_size : 16; member in struct:__anon449
/linux-4.1.27/kernel/power/
H A Dpower.h26 extern int arch_hibernation_header_save(void *addr, unsigned int max_size);
H A Dsnapshot.c1562 unsigned long saveable, size, max_size, count, highmem, pages = 0; hibernate_preallocate_memory() local
1608 max_size = (count - (size + PAGES_FOR_IO)) / 2
1612 if (size > max_size)
1613 size = max_size;
1637 size = min_t(unsigned long, pages, max_size);
1655 alloc = count - max_size;
1677 * There are approximately max_size saveable pages at this point
1680 alloc = max_size - size;
/linux-4.1.27/drivers/usb/gadget/function/
H A Df_ncm.c962 unsigned max_size = ncm->port.fixed_in_len; ncm_wrap_ntb() local
995 > max_size)) { ncm_wrap_ntb()
1007 ncm->skb_tx_data = alloc_skb(max_size, GFP_ATOMIC); ncm_wrap_ntb()
1140 unsigned max_size = le32_to_cpu(ntb_parameters.dwNtbOutMaxSize); ncm_unwrap_ntb() local
1163 if (get_ncm(&tmp, opts->block_length) > max_size) { ncm_unwrap_ntb()
/linux-4.1.27/arch/x86/kvm/
H A Demulate.c645 unsigned *max_size, unsigned size, __linearize()
656 *max_size = 0; __linearize()
662 *max_size = min_t(u64, ~0u, (1ull << 48) - la); __linearize()
663 if (size > *max_size) __linearize()
688 *max_size = ~0u; __linearize()
690 *max_size = (u64)lim + 1 - addr.ea; __linearize()
691 if (size > *max_size) __linearize()
713 unsigned max_size; linearize() local
714 return __linearize(ctxt, addr, &max_size, size, write, false, linearize()
723 unsigned max_size; assign_eip() local
729 rc = __linearize(ctxt, addr, &max_size, 1, false, true, mode, &linear); assign_eip()
792 unsigned size, max_size; __do_insn_fetch_bytes() local
805 * boundary check itself. Instead, we use max_size to check __do_insn_fetch_bytes()
808 rc = __linearize(ctxt, addr, &max_size, 0, false, true, ctxt->mode, __do_insn_fetch_bytes()
813 size = min_t(unsigned, 15UL ^ cur_size, max_size); __do_insn_fetch_bytes()
643 __linearize(struct x86_emulate_ctxt *ctxt, struct segmented_address addr, unsigned *max_size, unsigned size, bool write, bool fetch, enum x86emul_mode mode, ulong *linear) __linearize() argument
/linux-4.1.27/arch/ia64/kernel/
H A Dmca.c388 u64 max_size = 0; ia64_log_init() local
394 max_size = ia64_sal_get_state_info_size(sal_info_type); ia64_log_init()
395 if (!max_size) ia64_log_init()
400 IA64_LOG_ALLOCATE(sal_info_type, max_size); ia64_log_init()
401 memset(IA64_LOG_CURR_BUFFER(sal_info_type), 0, max_size); ia64_log_init() local
402 memset(IA64_LOG_NEXT_BUFFER(sal_info_type), 0, max_size); ia64_log_init() local
/linux-4.1.27/include/linux/ceph/
H A Dceph_fs.h467 __le64 size, max_size, truncate_size; member in struct:ceph_mds_reply_inode
656 __le64 size, max_size, truncate_size; member in struct:ceph_mds_caps
/linux-4.1.27/arch/sparc/mm/
H A Dsrmmu.c1018 unsigned long max_size = 0; init_vac_layout() local
1039 if (vac_cache_size > max_size) init_vac_layout()
1040 max_size = vac_cache_size; init_vac_layout()
1057 vac_cache_size = max_size; init_vac_layout()
/linux-4.1.27/arch/parisc/include/asm/
H A Dpdc.h139 unsigned int max_size; /* maximum size of BTLB in pages */ member in struct:pdc_btlb_info
/linux-4.1.27/sound/pci/trident/
H A Dtrident.h342 int max_size; /* maximum synth memory size in bytes */ member in struct:snd_4dwave
H A Dtrident_main.c3580 trident->synth.max_size = max_wavetable_size * 1024; snd_trident_create()
/linux-4.1.27/fs/btrfs/
H A Dfree-space-cache.c2694 if (bytes > cluster->max_size) btrfs_alloc_from_cluster()
2806 cluster->max_size = 0; btrfs_bitmap_cluster()
2811 if (cluster->max_size < found_bits * ctl->unit) btrfs_bitmap_cluster()
2812 cluster->max_size = found_bits * ctl->unit; btrfs_bitmap_cluster()
2814 if (total_found < want_bits || cluster->max_size < cont1_bytes) { btrfs_bitmap_cluster()
2917 cluster->max_size = max_extent; setup_cluster_no_bitmap()
3060 cluster->max_size = 0; btrfs_init_free_cluster()
H A Dinode.c6639 size_t max_size; uncompress_inline() local
6646 max_size = btrfs_file_extent_ram_bytes(leaf, item); uncompress_inline()
6656 max_size = min_t(unsigned long, PAGE_CACHE_SIZE, max_size); uncompress_inline()
6658 extent_offset, inline_size, max_size); uncompress_inline()
H A Dctree.h1226 u64 max_size; member in struct:btrfs_free_cluster
/linux-4.1.27/sound/pci/
H A Des1968.c1344 int max_size = 0; calc_available_memory_size() local
1349 if (buf->empty && buf->buf.bytes > max_size) calc_available_memory_size()
1350 max_size = buf->buf.bytes; calc_available_memory_size()
1353 if (max_size >= 128*1024) calc_available_memory_size()
1354 max_size = 127*1024; calc_available_memory_size()
1355 return max_size; calc_available_memory_size()
/linux-4.1.27/drivers/gpu/drm/nouveau/
H A Dnouveau_bo.c193 int max_size; nouveau_bo_new() local
197 max_size = INT_MAX & ~((1 << lpg_shift) - 1); nouveau_bo_new()
199 if (size <= 0 || size > max_size) { nouveau_bo_new()
/linux-4.1.27/drivers/isdn/hardware/mISDN/
H A Dhfcsusb.h253 unsigned int max_size; /* maximum size of receive/send packet */ member in struct:usb_fifo
H A Dhfcsusb.c1583 fifo[i].max_size = reset_hfcsusb()
/linux-4.1.27/drivers/scsi/bfa/
H A Dbfad_bsg.h810 u32 max_size; member in struct:bfa_bsg_fruvpd_max_size_s
H A Dbfa_ioc.h748 bfa_status_t bfa_fruvpd_get_max_size(struct bfa_fru_s *fru, u32 *max_size);
H A Dbfad_bsg.c2750 &iocmd->max_size); bfad_iocmd_fruvpd_get_max_size()
H A Dbfa_ioc.c6473 bfa_fruvpd_get_max_size(struct bfa_fru_s *fru, u32 *max_size) bfa_fruvpd_get_max_size() argument
6483 *max_size = BFA_FRU_CHINOOK_MAX_SIZE; bfa_fruvpd_get_max_size()
/linux-4.1.27/include/sound/
H A Dvx_core.h56 int max_size; /* max. IBL size in bytes */ member in struct:vx_ibl_info
/linux-4.1.27/include/xen/interface/
H A Dplatform.h186 uint64_t max_size; member in struct:xenpf_efi_runtime_call::__anon13918::__anon13922
/linux-4.1.27/drivers/cdrom/
H A Dcdrom.c3433 const int max_size = sizeof(cdrom_sysctl_settings.info); cdrom_print_info() local
3437 ret = scnprintf(info + *pos, max_size - *pos, header); cdrom_print_info()
3446 ret = scnprintf(info + *pos, max_size - *pos, cdrom_print_info()
3450 ret = scnprintf(info + *pos, max_size - *pos, cdrom_print_info()
3454 ret = scnprintf(info + *pos, max_size - *pos, cdrom_print_info()
3458 ret = scnprintf(info + *pos, max_size - *pos, cdrom_print_info()
3478 const int max_size = sizeof(cdrom_sysctl_settings.info); cdrom_sysctl_info() local
3546 if (!scnprintf(info + pos, max_size - pos, "\n\n")) cdrom_sysctl_info()
/linux-4.1.27/kernel/
H A Dsysctl_binary.c214 { CTL_INT, NET_IPV4_ROUTE_MAX_SIZE, "max_size" },
539 { CTL_INT, NET_IPV6_ROUTE_MAX_SIZE, "max_size" },
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
H A Dniobuf.c714 md.max_size = service->srv_max_req_size; ptlrpc_register_rqbd()
/linux-4.1.27/net/ceph/crush/
H A Dmapper.c45 map->rules[i]->mask.max_size >= size) crush_find_rule()
/linux-4.1.27/fs/f2fs/
H A Ddata.c258 size_t max_size = bh_result->b_size; f2fs_map_bh() local
264 bh_result->b_size = min(max_size, mapped_size); f2fs_map_bh()
/linux-4.1.27/kernel/trace/
H A Dring_buffer.c4731 int max_size; member in struct:rb_test_data
4810 data->max_size = len; rb_write_something()
4811 if (len > data->max_size) rb_write_something()
4812 data->max_size = len; rb_write_something()
4954 big_event_size = data->max_size + data->max_size_nested; for_each_online_cpu()
/linux-4.1.27/net/9p/
H A Dclient.c235 p9_tag_alloc(struct p9_client *c, u16 tag, unsigned int max_size) p9_tag_alloc() argument
240 int alloc_msize = min(c->msize, max_size); p9_tag_alloc()
/linux-4.1.27/drivers/net/ethernet/agere/
H A Det131x.h737 * 9-2: max_size
H A Det131x.c1098 * packets down into segments which are (max_size * 16). In et1310_config_rxmac_regs()
/linux-4.1.27/fs/ntfs/
H A Dsuper.c2486 /* Use multiples of 4 bytes, thus max_size is PAGE_CACHE_SIZE / 4. */ get_nr_free_clusters()
2487 ntfs_debug("Reading $Bitmap, max_index = 0x%lx, max_size = 0x%lx.", get_nr_free_clusters()
2557 /* Use multiples of 4 bytes, thus max_size is PAGE_CACHE_SIZE / 4. */ __get_nr_free_mft_records()
2558 ntfs_debug("Reading $MFT/$BITMAP, max_index = 0x%lx, max_size = " __get_nr_free_mft_records()
H A Dattrib.c1361 ((sle64_to_cpu(ad->max_size) > 0) && size > ntfs_attr_size_bounds_check()
1362 sle64_to_cpu(ad->max_size))) ntfs_attr_size_bounds_check()
H A Dlayout.h598 /* 98*/ sle64 max_size; /* Maximum size of attribute. */ member in struct:__anon11153
/linux-4.1.27/fs/hugetlbfs/
H A Dinode.c857 * If max_size was specified, then min_size must be smaller hugetlbfs_parse_options()
/linux-4.1.27/include/uapi/drm/
H A Dvmwgfx_drm.h572 uint32_t max_size; member in struct:drm_vmw_get_3d_cap_arg
/linux-4.1.27/fs/fuse/
H A Dfile.c1241 size_t max_size) fuse_get_frag_size()
1243 return min(iov_iter_single_seg_count(ii), max_size); fuse_get_frag_size()
1240 fuse_get_frag_size(const struct iov_iter *ii, size_t max_size) fuse_get_frag_size() argument
/linux-4.1.27/drivers/net/cris/
H A Deth_v10.c545 SETS(network_rec_config_shadow, R_NETWORK_REC_CONFIG, max_size, size1522); e100_open()
/linux-4.1.27/net/ipv6/
H A Droute.c3136 .procname = "max_size",
/linux-4.1.27/net/tipc/
H A Dsocket.c2306 .max_size = 1048576,
/linux-4.1.27/drivers/net/ethernet/broadcom/
H A Dbnx2.c5340 static u32 bnx2_find_max_ring(u32 ring_size, u32 max_size) bnx2_find_max_ring() argument
5349 max = max_size; bnx2_find_max_ring()

Completed in 9395 milliseconds