lv
struct cpuinfo_level *lv = &tree_level[i];
lv->start_index = lv->end_index = lv->num_nodes = 0;
struct gpio_v2_line_values lv;
if (copy_from_user(&lv, ip, sizeof(lv)))
if (lv.mask & BIT_ULL(i)) {
if (lv.mask & BIT_ULL(i)) {
lv.bits = 0;
if (lv.mask & BIT_ULL(i)) {
lv.bits |= BIT_ULL(i);
if (copy_to_user(ip, &lv, sizeof(lv)))
struct gpio_v2_line_values lv;
if (copy_from_user(&lv, ip, sizeof(lv)))
if (lv.mask & BIT_ULL(i)) {
if (lv.bits & BIT_ULL(i))
if (lv.mask & BIT_ULL(i)) {
struct drm_exynos_ipp_limit_val *lh = &l.h, *lv = &l.v;
lv = &l.h;
!__size_limit_check(buf->rect.h, lv) ||
!__align_check(buf->rect.y, lv->align))
const struct drm_exynos_ipp_limit_val *lh, *lv;
lv = (!swap) ? &limits->v : &limits->h;
!__scale_limit_check(src->h, dh, lv->min, lv->max))
u32 lv = 0xFFFF; /* This is the lfsr value that the hw starts with */
lv = ((lv << 1) |
(((lv >> 15) ^ (lv >> 4) ^ (lv >> 2) ^ (lv >> 1)) & 1))
return (u16) lv;
int rtw89_fw_h2c_tx_duty(struct rtw89_dev *rtwdev, u8 lv)
if (lv == 0 || lv > RTW89_THERMAL_PROT_LV_MAX) {
active = 100 - lv * RTW89_THERMAL_PROT_STEP;
int rtw89_fw_h2c_tx_duty(struct rtw89_dev *rtwdev, u8 lv);
u8 lv = hal->thermal_prot_lv;
if (th_max > hal->thermal_prot_th && lv < RTW89_THERMAL_PROT_LV_MAX)
lv++;
else if (th_max < hal->thermal_prot_th - 2 && lv > 0)
lv--;
hal->thermal_prot_lv = lv;
rtw89_debug(rtwdev, RTW89_DBG_RFK_TRACK, "thermal protection lv=%d\n", lv);
u32 lv = val & B_AX_FORCE_PWR_BY_RATE_VALUE_MASK;
return hv | lv | B_AX_FORCE_PWR_BY_RATE_EN;
#define THERMCTL_LVL_REG(rg, lv) ((rg) + ((lv) * THERMCTL_LVL_REGS_SIZE))
lv->client = client;
lv->pdata = pdata;
dev_name(&client->dev), &lv->client->dev,
lv, &lv5207lp_backlight_ops, &props);
static int lv5207lp_write(struct lv5207lp *lv, u8 reg, u8 data)
return i2c_smbus_write_byte_data(lv->client, reg, data);
struct lv5207lp *lv = bl_get_data(backlight);
lv5207lp_write(lv, LV5207LP_CTRL1,
lv5207lp_write(lv, LV5207LP_CTRL2,
lv5207lp_write(lv, LV5207LP_CTRL1, 0);
lv5207lp_write(lv, LV5207LP_CTRL2, 0);
struct lv5207lp *lv = bl_get_data(backlight);
return !lv->pdata->dev || lv->pdata->dev == display_dev;
struct lv5207lp *lv;
lv = devm_kzalloc(&client->dev, sizeof(*lv), GFP_KERNEL);
if (!lv)
u32 lv = 0xFFFF; /* This is the lfsr value that the hw starts with */
lv = ((lv << 1) |
(((lv >> 15) ^ (lv >> 4) ^ (lv >> 2) ^ (lv >> 1)) & 1))
return (u16) lv;
lv = & dtlck->lv[0];
lv->offset = 0;
lv->length = 1;
lv++;
lv->offset = sp->header.stblindex + n;
lv->length =
struct lv *slv, *rlv, *lv;
slv = & sdtlck->lv[0];
rlv = & rdtlck->lv[rdtlck->index];
lv = & dtlck->lv[dtlck->index];
lv->offset = 0;
lv->length = 1;
rlv = & rdtlck->lv[rdtlck->index];
slv = & sdtlck->lv[sdtlck->index];
struct lv *lv;
lv = & dtlck->lv[0];
lv->offset = 0;
lv->length = 1;
lv++;
lv->offset = newstblindex;
lv->length = newstblsize;
lv->offset = 0;
lv->length = sp->header.maxslot + newstblsize;
lv = & dtlck->lv[dtlck->index];
lv->offset = 1;
lv->length = 1;
struct lv *lv;
lv = & dtlck->lv[0];
lv->offset = 0;
lv->length = 10; /* 1 + 8 + 1 */
lv = & dtlck->lv[0];
lv->offset = 0;
lv->length = DTROOTMAXSLOT;
struct lv *lv;
lv = & dtlck->lv[dtlck->index];
lv->offset = 0;
lv->length = 1;
lv = & dtlck->lv[dtlck->index];
lv->offset = p->header.stblindex + i;
lv->length =
struct lv *lv;
lv = & dtlck->lv[dtlck->index];
lv->offset = 0;
lv->length = 1;
lv++;
lv = & dtlck->lv[0];
lv->offset = p->header.stblindex + i;
lv->length =
struct lv *lv;
lv = & dtlck->lv[dtlck->index];
lv->offset = 0;
lv->length = 1;
lv = & dtlck->lv[dtlck->index];
lv->offset = 0;
lv->length = 1;
struct lv *lv;
lv = & dtlck->lv[0];
lv->offset = 0;
lv->length = DTROOTMAXSLOT;
struct lv *lv;
lv = &dtlck->lv[dtlck->index];
lv->offset = stbl[i];
lv->length = 1;
struct lv *lv;
lv = &llck->lv[llck->index];
lv->offset = ((index - 2) & 511) >> 1;
lv->length = 1;
struct lv *lv;
struct lv *lv;
lv = & dtlck->lv[dtlck->index];
lv->offset = hsi;
lv->length = n;
lv++;
lv = & dtlck->lv[0];
lv->offset = fsi;
lv->length = n;
struct lv *slv, *dlv;
dlv = & ddtlck->lv[ddtlck->index];
slv = & sdtlck->lv[sdtlck->index];
slv = & sdtlck->lv[0];
slv = & sdtlck->lv[0];
struct lv *lv;
lv = & dtlck->lv[dtlck->index];
lv->offset = fsi;
lv->length = n;
lv++;
lv = & dtlck->lv[0];
lv->offset = si;
lv->length = n;
struct lv *lv;
lv = & dtlck->lv[dtlck->index];
lv->offset = tsi;
lv->length = n;
lv++;
lv = & dtlck->lv[0];
lv->offset = si;
lv->length = n;
lv = &llck->lv[0];
struct lv *lv;
lv->offset = 0;
lv = & dtlck->lv[dtlck->index];
lv->offset = fsi;
lv->length = 6; /* tlckDATA slot size is 16 bytes */
lv->length = n;
lv++;
lv = & dtlck->lv[0];
lv->offset = si;
lv->length = n;
struct lv *lv;
lv = & dtlck->lv[0];
lv->offset = entry_si;
lv->length = 1;
struct lv *lv;
lv = & dtlck->lv[0];
lv->offset = 0;
lv->length = 1;
lv = & dtlck->lv[dtlck->index];
lv->offset = p->header.stblindex + n;
lv->length =
struct lv *lv;
struct lv *lv;
lv = ilinelock->lv;
for (n = 0; n < ilinelock->index; n++, lv++) {
memcpy(&xp->xad[lv->offset], &p->xad[lv->offset],
lv->length << L2XTSLOTSIZE);
lv = ilinelock->lv;
for (n = 0; n < ilinelock->index; n++, lv++) {
memcpy(&xp->xad[lv->offset], &p->xad[lv->offset],
lv->length << L2XTSLOTSIZE);
lv = ilinelock->lv;
for (n = 0; n < ilinelock->index; n++, lv++) {
memcpy(&xp->slot[lv->offset], &p->slot[lv->offset],
lv->length << L2DTSLOTSIZE);
lv = & dilinelock->lv[dilinelock->index];
lv->offset = (dioffset + 2 * 128) >> L2INODESLOTSIZE;
lv->length = 2;
lv = & dilinelock->lv[dilinelock->index];
lv->offset = (dioffset + 3 * 128) >> L2INODESLOTSIZE;
lv->length = 1;
lv = & dilinelock->lv[dilinelock->index];
lv->offset = dioffset >> L2INODESLOTSIZE;
lv->length = 2;
lv->length = 1;
struct lv *lv;
lv = linelock->lv;
for (i = 0; i < linelock->index; i++, lv++) {
if (lv->length == 0)
src = (u8 *) p + (lv->offset << l2linesize);
srclen = lv->length << l2linesize;
lvd->offset = cpu_to_le16(lv->offset);
lvd->length = cpu_to_le16(lv->length);
lv->offset, lv->length);
struct lv lv[20]; /* 40: */
struct lv header; /* 2: */
struct lv lwm; /* 2: low water mark */
struct lv hwm; /* 2: high water mark */
struct lv twm; /* 2: */
struct lv *lv;
lv = & dtlck->lv[0];
lv->offset = 0;
lv->length = 1;
struct layout_verification *lv)
if (lv->mode == IOMODE_READ) {
if (be->be_f_offset != lv->start)
lv->start += be->be_length;
if (be->be_f_offset != lv->start)
if (lv->cowread > lv->start)
lv->start += be->be_length;
lv->inval = lv->start;
if (be->be_f_offset != lv->start)
lv->start += be->be_length;
if (be->be_f_offset > lv->start)
if (be->be_f_offset < lv->inval)
if (be->be_f_offset < lv->cowread)
lv->inval = lv->inval + be->be_length;
lv->cowread = be->be_f_offset + be->be_length;
struct layout_verification *lv, struct list_head *extents,
error = verify_extent(be, lv);
struct layout_verification lv = {
status = bl_alloc_extent(&xdr, lo, &lv, &extents, gfp_mask);
lv.start << SECTOR_SHIFT) {
if (lv.start < lv.cowread) {
struct xfs_log_vec *lv = lip->li_lv;
if (!lv)
xfs_warn(mp, " niovecs = %d", lv->lv_niovecs);
xfs_warn(mp, " alloc_size = %d", lv->lv_alloc_size);
xfs_warn(mp, " bytes = %d", lv->lv_bytes);
xfs_warn(mp, " buf used= %d", lv->lv_buf_used);
vec = lv->lv_iovecp;
for (i = 0; i < lv->lv_niovecs; i++) {
struct xfs_log_vec *lv,
for (index = 0; index < lv->lv_niovecs; index++) {
struct xfs_log_iovec *reg = &lv->lv_iovecp[index];
struct xfs_log_vec *lv,
for (index = 0; index < lv->lv_niovecs; index++) {
struct xfs_log_iovec *reg = &lv->lv_iovecp[index];
struct xfs_log_vec *lv;
list_for_each_entry(lv, lv_chain, lv_list) {
if (lv->lv_niovecs &&
lv->lv_bytes > xlog_write_space_left(&data)) {
error = xlog_write_partial(lv, &data);
xlog_write_full(lv, &data);
struct xfs_log_vec lv = {
ticket->t_curr_res -= lv.lv_bytes;
list_add(&lv.lv_list, &lv_chain);
return xlog_write(log, ctx, &lv_chain, ticket, lv.lv_bytes);
struct xfs_log_vec *lv;
lv = item->li_lv;
lv->lv_order_id = item->li_order_id;
if (lv->lv_buf_used != XFS_LOG_VEC_ORDERED)
*num_bytes += lv->lv_bytes;
*num_iovecs += lv->lv_niovecs;
list_add_tail(&lv->lv_list, &ctx->lv_chain);
struct xfs_log_vec *lv;
lv = xlog_kvmalloc(alloc_size);
memset(lv, 0, xlog_cil_iovec_space(niovecs));
INIT_LIST_HEAD(&lv->lv_list);
lv->lv_item = lip;
lv->lv_alloc_size = alloc_size;
lv->lv_buf_used = XFS_LOG_VEC_ORDERED;
lv->lv_iovecp = (struct xfs_log_iovec *)&lv[1];
lip->li_lv_shadow = lv;
lv = lip->li_lv_shadow;
lv->lv_buf_used = XFS_LOG_VEC_ORDERED;
lv->lv_buf_used = 0;
lv->lv_bytes = 0;
lv->lv_niovecs = niovecs;
lv->lv_buf = (char *)lv + xlog_cil_iovec_space(niovecs);
struct xfs_log_vec *lv,
if (lv->lv_buf_used != XFS_LOG_VEC_ORDERED)
*diff_len += lv->lv_bytes;
if (lv->lv_item->li_ops->iop_pin)
lv->lv_item->li_ops->iop_pin(lv->lv_item);
lv->lv_item->li_lv_shadow = NULL;
} else if (lip->li_lv != lv) {
ASSERT(lv->lv_buf_used != XFS_LOG_VEC_ORDERED);
lv->lv_item->li_lv_shadow = lip->li_lv;
lv->lv_item->li_lv = lv;
if (!lv->lv_item->li_seq)
lv->lv_item->li_seq = log->l_cilp->xc_ctx->sequence;
struct xfs_log_vec *lv;
struct xfs_log_vec *lv = lfb->lv;
struct xfs_log_iovec *vec = &lv->lv_iovecp[lfb->idx];
ASSERT(lfb->idx < lv->lv_niovecs);
len = lv->lv_buf_used + sizeof(struct xlog_op_header);
lv->lv_buf_used = round_up(len, sizeof(uint64_t)) -
vec->i_addr = lv->lv_buf + lv->lv_buf_used;
struct xfs_log_vec *lv = lfb->lv;
struct xfs_log_iovec *vec = &lv->lv_iovecp[lfb->idx];
lv->lv_buf_used += len;
lv->lv_bytes += len;
ASSERT((void *)lv->lv_buf + lv->lv_bytes <=
(void *)lv + lv->lv_alloc_size);
struct xfs_log_vec *lv = lip->li_lv;
if (!lv) {
lv = shadow;
lv->lv_item = lip;
ASSERT(shadow->lv_alloc_size == lv->lv_alloc_size);
xfs_cil_prepare_item(log, lip, lv, diff_len);
if (lv && shadow->lv_alloc_size <= lv->lv_alloc_size) {
*diff_len -= lv->lv_bytes;
lv->lv_niovecs = shadow->lv_niovecs;
lv->lv_buf_used = 0;
lv->lv_bytes = 0;
lv->lv_buf = (char *)lv +
xlog_cil_iovec_space(lv->lv_niovecs);
lv = shadow;
lv->lv_item = lip;
lfb.lv = lv;
ASSERT(IS_ALIGNED((unsigned long)lv->lv_buf, sizeof(uint64_t)));
xfs_cil_prepare_item(log, lip, lv, diff_len);
struct xfs_log_vec *lv;
list_for_each_entry(lv, &ctx->lv_chain, lv_list) {
struct xfs_log_item *lip = lv->lv_item;
log_items[i++] = lv->lv_item;
struct xfs_log_vec *lv;
lv = list_first_entry(lv_chain, struct xfs_log_vec, lv_list);
list_del_init(&lv->lv_list);
kvfree(lv);
int lv, err, addr_len = msg->msg_namelen;
lv = ax25_addr_build(skb->data, &ax25->source_addr, &sax.sax25_call,
skb_set_transport_header(skb, lv);
int lv = sizeof(int);
lv = sizeof(v.ling);
lv = sizeof(v.timestamping);
lv = sock_get_timeout(READ_ONCE(sk->sk_rcvtimeo), &v,
lv = sock_get_timeout(READ_ONCE(sk->sk_sndtimeo), &v,
lv = READ_ONCE(sock->ops)->getname(sock, (struct sockaddr *)&address, 2);
if (lv < 0)
if (lv < len)
lv = sizeof(v.ulval);
lv = sizeof(u64);
if (len < lv)
lv = sizeof(v.txtime);
lv = sizeof(u64);
if (len != lv)
if (len > lv)
len = lv;
int val, lv = sizeof(val);
lv = sizeof(struct tpacket_stats_v3);
lv = sizeof(struct tpacket_stats);
lv = sizeof(rstats);
if (len > lv)
len = lv;
int lv = sizeof(v.val64);
lv = sock_get_timeout(vsk->connect_timeout, &v,
if (len < lv)
if (len > lv)
len = lv;
struct gpio_v2_line_values lv;
gpiotools_set_bit(&lv.mask, i);
ret = gpiotools_get_values(fd, &lv);
values[i] = gpiotools_test_bit(lv.bits, i);