Home
last modified time | relevance | path

Searched refs:glen (Results 1 – 5 of 5) sorted by relevance

/openbmc/qemu/bsd-user/freebsd/
H A Dos-sys.c160 int hlen, glen; in h2g_old_sysctl() local
172 glen = guest_ctl_size[kind & CTLTYPE]; in h2g_old_sysctl()
183 if (hlen == glen) { in h2g_old_sysctl()
222 gp += glen; in h2g_old_sysctl()
227 if (hlen != glen) { in h2g_old_sysctl()
228 *holdlen = (*holdlen / hlen) * glen; in h2g_old_sysctl()
/openbmc/linux/net/sunrpc/
H A Dsvcauth_unix.c565 int glen; in unix_gid_show() local
574 glen = ug->gi->ngroups; in unix_gid_show()
576 glen = 0; in unix_gid_show()
578 seq_printf(m, "%u %d:", from_kuid_munged(user_ns, ug->uid), glen); in unix_gid_show()
579 for (i = 0; i < glen; i++) in unix_gid_show()
/openbmc/linux/drivers/gpu/drm/stm/
H A Dltdc.c557 int psize, alen, apos, rlen, rpos, glen, gpos, blen, bpos; in ltdc_set_flexible_pixel_format() local
563 glen = 8; gpos = 8; blen = 8; bpos = 16; in ltdc_set_flexible_pixel_format()
568 glen = 5; gpos = 5; blen = 5; bpos = 0; in ltdc_set_flexible_pixel_format()
573 glen = 4; gpos = 4; blen = 4; bpos = 0; in ltdc_set_flexible_pixel_format()
578 glen = 8; gpos = 0; blen = 8; bpos = 0; in ltdc_set_flexible_pixel_format()
583 glen = 4; gpos = 0; blen = 4; bpos = 0; in ltdc_set_flexible_pixel_format()
588 glen = 8; gpos = 0; blen = 8; bpos = 0; in ltdc_set_flexible_pixel_format()
600 (psize << 18) + (blen << 14) + (bpos << 9) + (glen << 5) + gpos); in ltdc_set_flexible_pixel_format()
/openbmc/linux/net/tipc/
H A Dlink.c1867 u16 glen = 0, bc_rcvgap = 0; in tipc_link_build_proto_msg() local
1912 glen = tipc_build_gap_ack_blks(l, hdr); in tipc_link_build_proto_msg()
1913 tipc_mon_prep(l->net, data + glen, &dlen, mstate, l->bearer_id); in tipc_link_build_proto_msg()
1914 msg_set_size(hdr, INT_H_SIZE + glen + dlen); in tipc_link_build_proto_msg()
1915 skb_trim(skb, INT_H_SIZE + glen + dlen); in tipc_link_build_proto_msg()
2203 u32 dlen = msg_data_sz(hdr), glen = 0, msg_max; in tipc_link_proto_rcv() local
2295 glen = tipc_get_gap_ack_blks(&ga, l, hdr, true); in tipc_link_proto_rcv()
2296 if (glen > dlen) in tipc_link_proto_rcv()
2324 tipc_mon_rcv(l->net, data + glen, dlen - glen, l->addr, in tipc_link_proto_rcv()
/openbmc/linux/drivers/xen/
H A Dgrant-table.c1206 unsigned int glen; in gnttab_foreach_grant_in_range() local
1215 glen = min_t(unsigned int, XEN_PAGE_SIZE - goffset, len); in gnttab_foreach_grant_in_range()
1216 fn(pfn_to_gfn(xen_pfn), goffset, glen, data); in gnttab_foreach_grant_in_range()
1220 len -= glen; in gnttab_foreach_grant_in_range()