Home
last modified time | relevance | path

Searched refs:xp (Results 1 – 25 of 140) sorted by relevance

123456

/freebsd/sys/powerpc/pseries/
H A Dphyp_vscsi.c282 struct vscsi_xfer *xp; in vscsi_attach() local
340 xp = &sc->xfer[i]; in vscsi_attach()
341 xp->sc = sc; in vscsi_attach()
343 error = bus_dmamap_create(sc->data_tag, 0, &xp->dmamap); in vscsi_attach()
350 TAILQ_INSERT_TAIL(&sc->free_xferq, xp, queue); in vscsi_attach()
465 struct vscsi_xfer *xp; in vscsi_cam_action() local
469 xp = TAILQ_FIRST(&sc->free_xferq); in vscsi_cam_action()
470 if (xp == NULL) in vscsi_cam_action()
472 xp->ccb = ccb; in vscsi_cam_action()
473 TAILQ_REMOVE(&sc->free_xferq, xp, queue); in vscsi_cam_action()
[all …]
/freebsd/contrib/libarchive/libarchive/
H A Darchive_entry_xattr.c74 struct ae_xattr *xp; in archive_entry_xattr_clear() local
77 xp = entry->xattr_head->next; in archive_entry_xattr_clear()
81 entry->xattr_head = xp; in archive_entry_xattr_clear()
91 struct ae_xattr *xp; in archive_entry_xattr_add_entry() local
93 if ((xp = malloc(sizeof(struct ae_xattr))) == NULL) in archive_entry_xattr_add_entry()
96 if ((xp->name = strdup(name)) == NULL) in archive_entry_xattr_add_entry()
99 if ((xp->value = malloc(size)) != NULL) { in archive_entry_xattr_add_entry()
100 memcpy(xp->value, value, size); in archive_entry_xattr_add_entry()
101 xp->size = size; in archive_entry_xattr_add_entry()
103 xp->size = 0; in archive_entry_xattr_add_entry()
[all …]
/freebsd/sys/powerpc/ps3/
H A Dps3cdrom.c162 struct ps3cdrom_xfer *xp; in ps3cdrom_attach() local
208 xp = &sc->sc_xfer[i]; in ps3cdrom_attach()
209 xp->x_sc = sc; in ps3cdrom_attach()
212 &xp->x_dmamap); in ps3cdrom_attach()
219 TAILQ_INSERT_TAIL(&sc->sc_free_xferq, xp, x_queue); in ps3cdrom_attach()
287 while ((xp = TAILQ_FIRST(&sc->sc_free_xferq))) { in ps3cdrom_attach()
288 TAILQ_REMOVE(&sc->sc_free_xferq, xp, x_queue); in ps3cdrom_attach()
289 bus_dmamap_destroy(sc->sc_dmatag, xp->x_dmamap); in ps3cdrom_attach()
340 struct ps3cdrom_xfer *xp; in ps3cdrom_action() local
363 xp = TAILQ_FIRST(&sc->sc_free_xferq); in ps3cdrom_action()
[all …]
/freebsd/sys/fs/nullfs/
H A Dnull_subr.c143 null_hashins(struct mount *mp, struct null_node *xp) in null_hashins() argument
152 hd = NULL_NHASH(xp->null_lowervp); in null_hashins()
155 if (oxp->null_lowervp == xp->null_lowervp && in null_hashins()
162 LIST_INSERT_HEAD(hd, xp, null_hash); in null_hashins()
166 null_destroy_proto(struct vnode *vp, void *xp) in null_destroy_proto() argument
177 free(xp, M_NULLFSNODE); in null_destroy_proto()
191 struct null_node *xp; in null_nodeget() local
211 xp = malloc(sizeof(struct null_node), M_NULLFSNODE, M_WAITOK); in null_nodeget()
216 free(xp, M_NULLFSNODE); in null_nodeget()
224 xp->null_vnode = vp; in null_nodeget()
[all …]
H A Dnull_vnops.c842 struct null_node *xp; in null_want_recycle() local
846 xp = VTONULL(vp); in null_want_recycle()
851 (xp->null_flags & NULLV_DROP) != 0 || in null_want_recycle()
892 struct null_node *xp; in null_reclaim() local
896 xp = VTONULL(vp); in null_reclaim()
897 lowervp = xp->null_lowervp; in null_reclaim()
902 null_hashrem(xp); in null_reclaim()
925 if ((xp->null_flags & NULLV_NOUNLOCK) != 0) in null_reclaim()
929 free(xp, M_NULLFSNODE); in null_reclaim()
947 struct null_node *xp; in null_getwritemount() local
1025 struct null_node *xp; null_read_pgcache() local
1047 struct null_node *xp; null_advlock() local
[all...]
H A Dnull.h64 #define NULLTOV(xp) ((xp)->null_vnode) argument
70 void null_hashrem(struct null_node *xp);
/freebsd/stand/common/
H A Dmetadata.c77 struct preloaded_file *xp; in md_load_dual() local
121 for (xp = file_findfile(NULL, NULL); xp != NULL; xp = xp->f_next) { in md_load_dual()
122 if (addr < (xp->f_addr + xp->f_size)) in md_load_dual()
123 addr = xp->f_addr + xp->f_size; in md_load_dual()
194 for (xp = file_findfile(NULL, NULL); xp != NULL; xp = xp->f_next) { in md_load_dual()
196 md = file_findmetadata(xp, mdt[i]); in md_load_dual()
/freebsd/usr.bin/ipcs/
H A Dipc.c108 struct scgs_vector *xp; in sysctlgatherstruct() local
112 for (xp = vecarr; xp->sysctl != NULL; xp++) { in sysctlgatherstruct()
113 assert(xp->offset <= size); in sysctlgatherstruct()
114 tsiz = xp->size; in sysctlgatherstruct()
115 rv = sysctlbyname(xp->sysctl, (char *)addr + xp->offset, in sysctlgatherstruct()
118 err(1, "sysctlbyname: %s", xp->sysctl); in sysctlgatherstruct()
119 if (tsiz != xp->size) in sysctlgatherstruct()
121 xp->sysctl, xp->size, tsiz); in sysctlgatherstruct()
/freebsd/stand/userboot/userboot/
H A Dbootinfo64.c95 struct preloaded_file *xp, *kfp; in bi_load64() local
129 for (xp = file_findfile(NULL, NULL); xp != NULL; xp = xp->f_next) { in bi_load64()
130 if (addr < (xp->f_addr + xp->f_size)) in bi_load64()
131 addr = xp->f_addr + xp->f_size; in bi_load64()
H A Dbootinfo32.c55 struct preloaded_file *xp, *kfp; in bi_load32() local
97 for (xp = file_findfile(NULL, NULL); xp != NULL; xp = xp->f_next) { in bi_load32()
98 if (addr < (xp->f_addr + xp->f_size)) in bi_load32()
99 addr = xp->f_addr + xp->f_size; in bi_load32()
/freebsd/stand/i386/libi386/
H A Dbootinfo64.c99 struct preloaded_file *xp, *kfp; in bi_load64() local
134 for (xp = file_findfile(NULL, NULL); xp != NULL; xp = xp->f_next) { in bi_load64()
135 if (addr < (xp->f_addr + xp->f_size)) in bi_load64()
136 addr = xp->f_addr + xp->f_size; in bi_load64()
H A Dbootinfo32.c56 struct preloaded_file *xp, *kfp; in bi_load32() local
116 for (xp = file_findfile(NULL, NULL); xp != NULL; xp = xp->f_next) { in bi_load32()
117 if (addr < (xp->f_addr + xp->f_size)) in bi_load32()
118 addr = xp->f_addr + xp->f_size; in bi_load32()
/freebsd/stand/efi/loader/
H A Dbootinfo.c327 struct preloaded_file *xp, *kfp; in bi_load() local
386 for (xp = file_findfile(NULL, NULL); xp != NULL; xp = xp->f_next) { in bi_load()
387 if (addr < xp->f_addr + xp->f_size) in bi_load()
388 addr = xp->f_addr + xp->f_size; in bi_load()
475 for (xp = file_findfile(NULL, NULL); xp != NULL; xp = xp->f_next) { in bi_load()
477 md = file_findmetadata(xp, mdt[i]); in bi_load()
/freebsd/sys/contrib/device-tree/src/arm/marvell/
H A Darmada-xp.dtsi16 #include "armada-370-xp.dtsi"
23 compatible = "marvell,armadaxp", "marvell,armada-370-xp";
40 compatible = "marvell,armada-xp-sdram-controller";
78 compatible = "marvell,armada-370-xp-system-controller";
83 compatible = "marvell,armada-xp-gating-clock";
90 compatible = "marvell,armada-xp-core-clock";
104 compatible = "marvell,armada-xp-cpu-clock";
110 compatible = "marvell,armada-xp-cpu-config";
115 compatible = "marvell,armada-xp-neta";
151 compatible = "marvell,armada-xp-neta";
[all …]
H A Darmada-xp-98dx3236.dtsi11 #include "armada-370-xp.dtsi"
18 compatible = "marvell,armadaxp-98dx3236", "marvell,armada-370-xp";
58 compatible = "marvell,armada-xp-pcie";
104 compatible = "marvell,armada-xp-sdram-controller";
147 compatible = "marvell,armada-370-xp-system-controller";
170 compatible = "marvell,armada-xp-cpu-config";
175 compatible = "marvell,armada-xp-neta";
179 compatible = "marvell,armada-xp-neta";
290 compatible = "marvell,armada-xp-timer";
296 compatible = "marvell,armada-xp-wdt";
[all …]
/freebsd/crypto/openssl/crypto/x509/
H A Dv3_purp.c20 static int check_purpose_ssl_client(const X509_PURPOSE *xp, const X509 *x,
22 static int check_purpose_ssl_server(const X509_PURPOSE *xp, const X509 *x,
24 static int check_purpose_ns_ssl_server(const X509_PURPOSE *xp, const X509 *x,
27 static int check_purpose_smime_sign(const X509_PURPOSE *xp, const X509 *x,
29 static int check_purpose_smime_encrypt(const X509_PURPOSE *xp, const X509 *x,
31 static int check_purpose_crl_sign(const X509_PURPOSE *xp, const X509 *x,
33 static int check_purpose_timestamp_sign(const X509_PURPOSE *xp, const X509 *x,
35 static int no_check_purpose(const X509_PURPOSE *xp, const X509 *x,
37 static int check_purpose_ocsp_helper(const X509_PURPOSE *xp, const X509 *x,
239 int X509_PURPOSE_get_id(const X509_PURPOSE *xp) in X509_PURPOSE_get_id() argument
[all …]
H A Dx509_trust.c202 int X509_TRUST_get_flags(const X509_TRUST *xp) in X509_TRUST_get_flags() argument
204 return xp->flags; in X509_TRUST_get_flags()
207 char *X509_TRUST_get0_name(const X509_TRUST *xp) in X509_TRUST_get0_name() argument
209 return xp->name; in X509_TRUST_get0_name()
212 int X509_TRUST_get_trust(const X509_TRUST *xp) in X509_TRUST_get_trust() argument
214 return xp->trust; in X509_TRUST_get_trust()
/freebsd/usr.bin/xargs/
H A Dxargs.c77 static char **av, **bxp, **ep, **endxp, **xp; variable
276 endxp = (xp = bxp) + nargs; in main()
347 *xp++ = argp; in parse_input()
390 if (xp == endxp || p > ebp || ch == EOF || in parse_input()
392 if (xflag && xp != endxp && p > ebp) { in parse_input()
398 *xp++ = *avj; in parse_input()
406 xp = bxp; in parse_input()
440 if (bxp == xp) { in parse_input()
452 *xp++ = *avj; in parse_input()
455 xp in parse_input()
[all...]
/freebsd/sys/dev/isp/
H A Dispvar.h668 #define ISP_FW_REVX(xp) (((xp)[0] << 16) | ((xp)[1] << 8) | (xp)[2]) argument
669 #define ISP_FW_MAJORX(xp) (xp[0]) argument
670 #define ISP_FW_MINORX(xp) (xp[1]) argument
671 #define ISP_FW_MICROX(xp) (xp[2]) argument
/freebsd/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-generic.c157 uint64_t *xp, s[4]; in random_get_pseudo_bytes() local
161 xp = get_cpu_ptr(spl_pseudo_entropy); in random_get_pseudo_bytes()
163 s[0] = xp[0]; in random_get_pseudo_bytes()
164 s[1] = xp[1]; in random_get_pseudo_bytes()
165 s[2] = xp[2]; in random_get_pseudo_bytes()
166 s[3] = xp[3]; in random_get_pseudo_bytes()
190 xp[0] = s[0]; in random_get_pseudo_bytes()
191 xp[1] = s[1]; in random_get_pseudo_bytes()
192 xp[2] = s[2]; in random_get_pseudo_bytes()
193 xp[3] = s[3]; in random_get_pseudo_bytes()
/freebsd/lib/libc/gen/
H A Dopendir2.c203 struct dirent *xp; in _filldir() local
211 xp = NULL; in _filldir()
221 if ((xp == NULL) || in _filldir()
222 strcmp(dp->d_name, xp->d_name)) { in _filldir()
223 xp = dp; in _filldir()
/freebsd/sys/ufs/ffs/
H A Dffs_snapshot.c208 struct inode *ip, *xp; in ffs_snapshot() local
590 xp = VTOI(xvp); in ffs_snapshot()
591 if (ffs_checkfreefile(copy_fs, vp, xp->i_number)) { in ffs_snapshot()
600 loc = howmany(xp->i_size, fs->fs_bsize) - 1; in ffs_snapshot()
602 len = fragroundup(fs, blkoff(fs, xp->i_size)); in ffs_snapshot()
605 DIP(xp, i_db[loc]), len, xp->i_number, in ffs_snapshot()
607 blkno = DIP(xp, i_db[loc]); in ffs_snapshot()
608 DIP_SET(xp, i_db[loc], 0); in ffs_snapshot()
612 if (I_IS_UFS1(xp)) in ffs_snapshot()
1601 struct inode *xp; ffs_snapgone() local
2137 struct inode *xp; ffs_snapshot_unmount() local
[all...]
/freebsd/contrib/sendmail/src/
H A Dmacro.c184 char *xp; local
208 for (xp = xbuf; *s != '\0'; s++)
283 if (skipping || xp >= &xbuf[sizeof(xbuf) - 1])
286 *xp++ = c;
293 xp < &xbuf[sizeof(xbuf) - 1])
298 *xp++ = c;
305 *xp = '\0';
332 i = xp - xbuf;
/freebsd/cddl/contrib/opensolaris/common/ctf/
H A Dctf_open.c253 uint_t *xp = fp->ctf_sxlate; in init_symtab() local
254 uint_t *xend = xp + fp->ctf_nsyms; in init_symtab()
271 for (; xp < xend; xp++, symp += sp->cts_entsize) { in init_symtab()
285 *xp = -1u; in init_symtab()
293 *xp = -1u; in init_symtab()
297 *xp = objtoff; in init_symtab()
303 *xp = -1u; in init_symtab()
307 *xp = funcoff; in init_symtab()
326 *xp = -1u; in init_symtab()
349 uint_t *xp; in init_types() local
[all …]
/freebsd/sys/contrib/device-tree/Bindings/timer/
H A Dmarvell,armada-370-xp-timer.txt8 "marvell,armada-xp-timer".
18 Clocks required for compatibles = "marvell,armada-xp-timer",
39 compatible = "marvell,armada-xp-timer";

123456