/freebsd/usr.bin/tail/ |
H A D | misc.c | 71 mapprint(struct mapinfo *mip, off_t startoff, off_t len) in mapprint() argument 76 if (startoff < mip->mapoff || startoff >= mip->mapoff + in mapprint() 77 (off_t)mip->maplen) { in mapprint() 78 if (maparound(mip, startoff) != 0) in mapprint() 81 n = (mip->mapoff + mip->maplen) - startoff; in mapprint() 84 WR(mip->start + (startoff - mip->mapoff), n); in mapprint() 97 maparound(struct mapinfo *mip, off_t offset) in maparound() argument 100 if (mip->start != NULL && munmap(mip->start, mip->maplen) != 0) in maparound() 103 mip->mapoff = offset & ~((off_t)TAILMAPLEN - 1); in maparound() 104 mip->maplen = TAILMAPLEN; in maparound() [all …]
|
/freebsd/sbin/natd/ |
H A D | natd.c | 71 static struct instance *mip; variable 192 LIST_FOREACH(mip, &root, list) { in main() 193 mla = mip->la; in main() 198 if (mip->aliasAddr.s_addr == INADDR_NONE && mip->ifName == NULL && in main() 200 errx (1, "instance %s: aliasing address not given", mip->name); in main() 202 if (mip->aliasAddr.s_addr != INADDR_NONE && mip->ifName != NULL) in main() 208 if (mip->inPort != 0 || mip->outPort != 0) in main() 209 if (mip->inPort == 0 || mip->outPort == 0) in main() 212 if (mip->inPort == 0 && mip->outPort == 0 && mip->inOutPort == 0) in main() 218 mip->dropIgnoredIncoming = LibAliasSetMode (mla, 0, 0); in main() [all …]
|
/freebsd/usr.sbin/ppp/ |
H A D | mppe.c | 243 struct mppe_state *mip = (struct mppe_state *)v; in MPPEInput() local 268 if (!flushed && mip->stateless) { in MPPEInput() 275 if (mip->stateless) { in MPPEInput() 277 while (prefix != mip->cohnum) { in MPPEInput() 279 MPPEKeyChange(mip); in MPPEInput() 284 mip->cohnum++; in MPPEInput() 285 mip->cohnum &= ~MPPE_HEADER_BITMASK; in MPPEInput() 295 (mip->cohnum >> MPPE_HEADER_FLAGSHIFT); in MPPEInput() 301 MPPEKeyChange(mip); in MPPEInput() 303 mip->flushrequired = 0; in MPPEInput() [all …]
|
/freebsd/sbin/mdmfs/ |
H A D | mdmfs.c | 560 do_mtptsetup(const char *mtpoint, struct mtpt_info *mip) in do_mtptsetup() argument 564 if (!mip->mi_have_mode && !mip->mi_have_uid && !mip->mi_have_gid) in do_mtptsetup() 573 if (mip->mi_forced_pw) { in do_mtptsetup() 586 if (mip->mi_have_mode) { in do_mtptsetup() 588 mip->mi_mode); in do_mtptsetup() 590 if (chmod(mtpoint, mip->mi_mode) == -1) in do_mtptsetup() 597 if (mip->mi_have_uid) { in do_mtptsetup() 599 mip->mi_uid); in do_mtptsetup() 601 if (chown(mtpoint, mip->mi_uid, -1) == -1) in do_mtptsetup() 603 mip->mi_uid); in do_mtptsetup() [all …]
|
/freebsd/usr.bin/mkuzip/ |
H A D | mkuz_fqueue.c | 121 struct mkuz_bchain_link *ip, *newlast, *newfirst, *mip; in mkuz_fqueue_deq_when() local 129 mip = fqp->last; in mkuz_fqueue_deq_when() 130 fqp->last = mip->prev; in mkuz_fqueue_deq_when() 142 mip = NULL; in mkuz_fqueue_deq_when() 145 mip = ip; in mkuz_fqueue_deq_when() 157 bp = mip->this; in mkuz_fqueue_deq_when() 158 free(mip); in mkuz_fqueue_deq_when()
|
/freebsd/crypto/openssh/ |
H A D | match.c | 214 int mhost, mip; in match_host_and_ip() local 216 if ((mip = addr_match_list(ipaddr, patterns)) == -2) in match_host_and_ip() 218 else if (host == NULL || ipaddr == NULL || mip == -1) in match_host_and_ip() 225 if (mhost == 0 && mip == 0) in match_host_and_ip()
|
/freebsd/sys/cddl/contrib/opensolaris/uts/common/ctf/ |
H A D | ctf_mod.c | 54 _info(struct modinfo *mip) in _info() argument 56 return (mod_info(&modlinkage, mip)); in _info()
|
/freebsd/cddl/contrib/opensolaris/common/ctf/ |
H A D | ctf_types.c | 793 ctf_membinfo_t *mip) in _ctf_member_info() argument 822 _ctf_member_info(fp, type, name, offset + off, mip) == 0) in _ctf_member_info() 825 mip->ctm_type = type; in _ctf_member_info() 826 mip->ctm_offset = offset + off; in _ctf_member_info() 839 ctf_membinfo_t *mip) in ctf_member_info() argument 842 return (_ctf_member_info(fp, type, name, 0, mip)); in ctf_member_info()
|
/freebsd/sys/contrib/openzfs/cmd/zed/agents/ |
H A D | fmd_api.c | 99 fmd_hdl_register(fmd_hdl_t *hdl, int version, const fmd_hdl_info_t *mip) in fmd_hdl_register() argument 104 mp->mod_info = mip; in fmd_hdl_register() 105 mp->mod_name = mip->fmdi_desc + 4; /* drop 'ZFS ' prefix */ in fmd_hdl_register()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | MIMGInstructions.td | 130 class MIMGMIPMapping<MIMGBaseOpcode mip, MIMGBaseOpcode nonmip> { 131 MIMGBaseOpcode MIP = mip; 653 multiclass MIMG_NoSampler <mimgopc op, string asm, bit has_d16, bit mip = 0, 658 let LodOrClampOrMip = mip; 853 multiclass MIMG_Store <mimgopc op, string asm, bit has_d16, bit mip = 0> { 856 let LodOrClampOrMip = mip;
|
H A D | AMDGPU.td | 529 …"Support gfx9-style A16 for 16-bit coordinates/gradients/lod/clamp/mip image operands, where a16 i… 535 "Support A16 for 16-bit coordinates/gradients/lod/clamp/mip image operands"
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVSystemOperands.td | 250 def : SysReg<"mip", 0x344>;
|
/freebsd/sys/riscv/include/ |
H A D | encoding.h | 1080 DECLARE_CSR(mip, CSR_MIP)
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | IntrinsicsAMDGPU.td | 797 let LodClampMip = !if(Mip, "mip", ""); 818 let AddrArgs = [AMDGPUArg<llvm_anyint_ty, "mip">]; 819 let LodClampMip = "mip";
|