Home
last modified time | relevance | path

Searched refs:lenp (Results 1 – 20 of 20) sorted by relevance

/f-stack/freebsd/contrib/libfdt/
H A Dfdt_ro.c298 if (lenp) in fdt_get_property_by_offset_()
299 *lenp = err; in fdt_get_property_by_offset_()
305 if (lenp) in fdt_get_property_by_offset_()
319 if (lenp) in fdt_get_property_by_offset()
351 if (lenp) in fdt_get_property_namelen_()
352 *lenp = offset; in fdt_get_property_namelen_()
365 if (lenp) in fdt_get_property_namelen()
701 if (lenp) in fdt_stringlist_get()
714 if (lenp) in fdt_stringlist_get()
721 if (lenp) in fdt_stringlist_get()
[all …]
H A Dlibfdt.h548 int *lenp);
565 int namelen, int *lenp);
597 const char *name, int *lenp);
600 int *lenp) in fdt_get_property_w() argument
639 const char **namep, int *lenp);
655 const char *name, int namelen, int *lenp);
658 int *lenp) in fdt_getprop_namelen_w() argument
661 namelen, lenp); in fdt_getprop_namelen_w()
694 const char *name, int *lenp);
696 const char *name, int *lenp) in fdt_getprop_w() argument
[all …]
H A Dfdt.c96 const fdt32_t *tagp, *lenp; in fdt_next_tag() local
120 lenp = fdt_offset_ptr(fdt, offset, sizeof(*lenp)); in fdt_next_tag()
121 if (!lenp) in fdt_next_tag()
125 + fdt32_to_cpu(*lenp); in fdt_next_tag()
126 if (fdt_version(fdt) < 0x10 && fdt32_to_cpu(*lenp) >= 8 && in fdt_next_tag()
127 ((offset - fdt32_to_cpu(*lenp)) % 8) != 0) in fdt_next_tag()
/f-stack/dpdk/drivers/bus/dpaa/base/fman/
H A Dfman.c153 size_t lenp; in fman_if_vsp_init() local
167 "vsp-window", &lenp); in fman_if_vsp_init()
224 size_t lenp; in fman_if_init() local
379 &lenp); in fman_if_init()
391 &lenp); in fman_if_init()
394 &lenp); in fman_if_init()
408 &lenp); in fman_if_init()
488 &lenp); in fman_if_init()
496 assert(lenp && !(lenp % sizeof(phandle))); in fman_if_init()
497 while (lenp) { in fman_if_init()
[all …]
/f-stack/freebsd/contrib/openzfs/module/os/linux/spl/
H A Dspl-proc.c113 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_domemused() argument
125 *ppos += *lenp; in proc_domemused()
132 rc = proc_doulongvec_minmax(&dummy, write, buffer, lenp, ppos); in proc_domemused()
141 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_doslab() argument
154 *ppos += *lenp; in proc_doslab()
180 rc = proc_doulongvec_minmax(&dummy, write, buffer, lenp, ppos); in proc_doslab()
188 void __user *buffer, size_t *lenp, loff_t *ppos) in proc_dohostid() argument
199 rc = proc_copyin_string(str, sizeof (str), buffer, *lenp); in proc_dohostid()
214 *lenp, str + *ppos, "\n"); in proc_dohostid()
217 *lenp = rc; in proc_dohostid()
/f-stack/freebsd/netgraph/
H A Dng_parse.h516 int *startp, int *lenp);
528 int *lenp, int *slenp);
H A Dng_parse.c1641 ng_parse_skip_value(const char *s, int off0, int *lenp) in ng_parse_skip_value() argument
1670 *lenp = off - off0; in ng_parse_skip_value()
1680 ng_parse_get_token(const char *s, int *startp, int *lenp) in ng_parse_get_token() argument
1689 *lenp = 0; in ng_parse_get_token()
1692 *lenp = 1; in ng_parse_get_token()
1695 *lenp = 1; in ng_parse_get_token()
1698 *lenp = 1; in ng_parse_get_token()
1701 *lenp = 1; in ng_parse_get_token()
1704 *lenp = 1; in ng_parse_get_token()
1716 *lenp = i - *startp; in ng_parse_get_token()
[all …]
/f-stack/tools/compat/include/netgraph/
H A Dng_parse.h517 int *startp, int *lenp);
529 int *lenp, int *slenp);
/f-stack/lib/
H A Dff_subr_prf.c107 ksprintn(char *nbuf, uintmax_t num, int base, int *lenp, int upper) in ksprintn() argument
117 if (lenp) in ksprintn()
118 *lenp = p - nbuf; in ksprintn()
/f-stack/dpdk/drivers/bus/dpaa/base/qbman/
H A Dqman_driver.c243 size_t lenp; in qman_global_init() local
305 chanid = of_get_property(dt_node, "fsl,pool-channel-range", &lenp); in qman_global_init()
/f-stack/dpdk/drivers/common/dpaax/
H A Ddpaa_of.h120 size_t *lenp) __attribute__((nonnull(2)));
H A Ddpaa_of.c327 size_t *lenp) in of_get_property() argument
337 if (lenp) in of_get_property()
338 *lenp = f->len; in of_get_property()
/f-stack/freebsd/contrib/ngatm/netnatm/api/
H A Dcc_port.c435 cc_get_local_port_info(struct ccdata *cc, u_int portno, size_t *lenp) in cc_get_local_port_info() argument
460 *lenp = sizeof(*list) + nports * sizeof(*pp) + naddrs * sizeof(*aa); in cc_get_local_port_info()
462 list = CCZALLOC(*lenp); in cc_get_local_port_info()
/f-stack/freebsd/kern/
H A Dsubr_prf.c606 ksprintn(char *nbuf, uintmax_t num, int base, int *lenp, int upper) in ksprintn() argument
616 if (lenp) in ksprintn()
617 *lenp = p - nbuf; in ksprintn()
H A Dvfs_vnops.c2812 off_t *outoffp, size_t *lenp, unsigned int flags, struct ucred *incred, in vn_copy_file_range() argument
2819 len = *lenp; in vn_copy_file_range()
2820 *lenp = 0; /* For error returns. */ in vn_copy_file_range()
2849 *lenp = len; in vn_copy_file_range()
2852 lenp, flags, incred, outcred, fsize_td); in vn_copy_file_range()
2855 outoffp, lenp, flags, incred, outcred, fsize_td); in vn_copy_file_range()
3040 struct vnode *outvp, off_t *outoffp, size_t *lenp, unsigned int flags, in vn_generic_copy_file_range() argument
3056 savlen = len = *lenp; in vn_generic_copy_file_range()
3281 *lenp = savlen - len; in vn_generic_copy_file_range()
H A Dvnode_if.src787 INOUT size_t *lenp;
/f-stack/freebsd/sys/
H A Dvnode.h728 struct vnode *outvp, off_t *outoffp, size_t *lenp,
735 struct vnode *outvp, off_t *outoffp, size_t *lenp,
/f-stack/tools/ifconfig/
H A Difieee80211.c181 u_int8_t *buf, int *lenp);
5617 get_string(const char *val, const char *sep, u_int8_t *buf, int *lenp) in get_string() argument
5623 len = *lenp; in get_string()
5665 memset(buf, 0, *lenp); in get_string()
5666 } else if (len < *lenp) in get_string()
5667 memset(p, 0, *lenp - len); in get_string()
5668 *lenp = len; in get_string()
/f-stack/freebsd/netinet/tcp_stacks/
H A Drack.c454 struct rack_sendmap *rsm, uint32_t ts, int32_t * lenp);
5994 struct rack_sendmap *rsm, uint32_t ts, int32_t *lenp) in rack_update_entry() argument
6004 len = *lenp; in rack_update_entry()
6013 *lenp = 0; in rack_update_entry()
6020 *lenp = (len - act_len); in rack_update_entry()
6034 *lenp = 0; in rack_update_entry()
6060 *lenp = 0; in rack_update_entry()
H A Dbbr.c5436 struct bbr_sendmap *rsm, uint32_t cts, int32_t *lenp, uint32_t pacing_time) in bbr_update_entry() argument
5446 len = *lenp; in bbr_update_entry()
5455 *lenp = 0; in bbr_update_entry()
5462 *lenp = (len - act_len); in bbr_update_entry()
5473 *lenp = 0; in bbr_update_entry()
5492 *lenp = 0; in bbr_update_entry()