Searched refs:min (Results 1 - 25 of 3858) sorted by last modified time

1234567891011>>

/linux-master/kernel/dma/
H A Dswiotlb.c289 mem->slots[i].list = min(IO_TLB_SEGSIZE - io_tlb_offset(i),
1574 * min align mask. This affects max mapping size.
/linux-master/kernel/
H A Dcpu.c1632 enum cpuhp_state target = min((int)st->target, CPUHP_AP_ONLINE);
1726 target = min((int)target, CPUHP_BRINGUP_CPU);
/linux-master/include/trace/events/
H A Drpcgss.h526 u32 min,
530 TP_ARGS(rqstp, seqno, min, max),
535 __field(u32, min)
542 __entry->min = min;
547 __entry->xid, __entry->seqno, __entry->min, __entry->max)
/linux-master/fs/nfsd/
H A Dnfs4xdr.c2298 maxcount = min(maxcount, svc_max_payload(argp->rqstp));
3860 cd->rd_dircount -= min(cd->rd_dircount, name_and_cookie);
/linux-master/fs/bcachefs/
H A Dsysfs.c123 #define sysfs_strtoul_clamp(file, var, min, max) \
126 return strtoul_safe_clamp(buf, var, min, max) \
H A Dopts.h539 u64 min, max; member in struct:bch_option
H A Dopts.c224 #define OPT_BOOL() .type = BCH_OPT_BOOL, .min = 0, .max = 2
226 .min = _min, .max = _max
228 .min = 0, .max = ARRAY_SIZE(_choices), \
231 .min = 0, .max = U64_MAX, \
289 if (v < opt->min) {
291 prt_printf(err, "%s: too small (min %llu)",
292 opt->attr.name, opt->min);
H A Dfs-io.c827 u64 s = min(end, k.k->p.offset) -
911 ret = min((u64) ret << 9, (u64) len);
H A Dec.c137 memcpy(&s, sp, min(sizeof(s), bkey_val_bytes(k.k)));
557 unsigned len = min(csum_granularity, end - offset);
606 unsigned len = min(csum_granularity, end - offset);
H A Dextents.c1512 min(bkey_inline_data_bytes(k.k), k.k->size << 9)) >> 3;
H A Dbtree_write_buffer.c224 size_t nr = min(darray_room(wb->flushing.keys),
226 nr = min(nr, wb->inc.keys.nr);
297 for (struct wb_key_ref *n = i + 1; n < min(i + 4, &darray_top(wb->sorted)); n++)
535 dst->room = min(dst->room, wb->sorted.size - wb->flushing.keys.nr);
574 dst->room = min(dst->room, wb->sorted.size - wb->flushing.keys.nr);
H A Dbtree_update_interior.c339 min(res->nr_replicas,
2033 sib_u64s = min(sib_u64s, btree_max_u64s(c));
2034 sib_u64s = min(sib_u64s, (size_t) U16_MAX - 1);
H A Dbtree_io.c653 * depend on the values of min/max key:
891 "bad k->u64s %u (min %u max %lu)", k->u64s,
1118 b->version_ondisk = min(b->version_ondisk,
H A Dbkey_methods.c97 datalen, min(datalen, 32U), d.v->data);
H A Dbkey.h561 s->field_min[field] = min(s->field_min[field], v);
H A Dbcachefs.h1269 return min(c->opts.metadata_replicas,
1275 return min(c->opts.data_replicas,
/linux-master/drivers/vhost/
H A Dvhost.c2167 u64 start, end, l, min; local
2172 min = len;
2181 end = min(u->addr - 1 + u->size, hva - 1 + len);
2189 min = min(l, min);
2195 len -= min;
2196 hva += min;
2244 u64 l = min(log[i].len, len);
2364 _iov->iov_len = min((u6
[all...]
/linux-master/arch/x86/events/
H A Dcore.c825 sched->state.event = idx; /* start with min weight */
1017 wmin = min(wmin, c->weight);
/linux-master/io_uring/
H A Dnet.c1126 bi.bi_size = min(from->count, length);
H A Dio_uring.c847 /* userspace may cheat modifying the tail, be safe and do min */
848 queued = min(__io_cqring_events(ctx), ctx->cq_entries);
851 len = min(free, ctx->cq_entries - off);
1640 static int io_iopoll_check(struct io_ring_ctx *ctx, long min) argument
1684 (void) io_run_local_work_locked(ctx, min);
1697 ret = io_do_iopoll(ctx, !min);
1707 } while (nr_events < min);
2473 ret = left = min(nr, entries);
3700 min_complete = min(min_complete,
3711 min_complete = min(min_complet
[all...]
/linux-master/fs/ceph/
H A Dmds_client.c2549 num_entries = min(num_entries, opt->max_readdir);
2565 num_entries = min(num_entries, opt->max_readdir);
5885 mdsc->fsc->max_file_size = min((loff_t)mdsc->mdsmap->m_max_file_size,
H A Dcaps.c415 int *min)
429 if (min)
430 *min = mdsc->caps_min_count;
413 ceph_reservation_status(struct ceph_fs_client *fsc, int *total, int *avail, int *used, int *reserved, int *min) argument
H A Daddr.c196 new_end = min(round_up(end, lo->stripe_unit), rreq->i_size);
219 subreq->len = min(xlen, fsc->mount_options->rsize);
1216 min(num_ops,
1278 len = min(len, ceph_wbc.i_size - offset);
/linux-master/drivers/mmc/host/
H A Domap.c1302 mmc->f_max = min(host->pdata->max_freq, mmc->f_max);
/linux-master/drivers/iommu/amd/
H A Diommu.c1554 min_alignment = min(addr_alignment, size_alignment);

Completed in 379 milliseconds

1234567891011>>