/freebsd-11-stable/sys/dev/ex/ |
H A D | if_exvar.h | 95 #define CSR_READ_1(sc, off) (bus_read_1((sc)->ioport, off)) 96 #define CSR_READ_2(sc, off) (bus_read_2((sc)->ioport, off)) 97 #define CSR_WRITE_1(sc, off, val) \ 98 bus_write_1((sc)->ioport, off, val) 99 #define CSR_WRITE_2(sc, off, val) \ 100 bus_write_2((sc)->ioport, off, val) 101 #define CSR_WRITE_MULTI_1(sc, off, addr, count) \ 102 bus_write_multi_1((sc)->ioport, off, add [all...] |
/freebsd-11-stable/usr.sbin/bsdinstall/scripts/ |
H A D | hardening | 39 "hide_uids" "Hide processes running as other users" ${hide_uids:-off} \ 40 "hide_gids" "Hide processes running as other groups" ${hide_gids:-off} \ 41 "read_msgbuf" "Disable reading kernel message buffer for unprivileged users" ${read_msgbuf:-off} \ 42 "proc_debug" "Disable process debugging facilities for unprivileged users" ${proc_debug:-off} \ 43 "random_pid" "Randomize the PID of newly created processes" ${random_pid:-off} \ 44 "stack_guard" "Insert stack guard page ahead of the growable segments" ${stack_guard:-off} \ 45 "clear_tmp" "Clean the /tmp filesystem on system startup" ${clear_tmp:-off} \ 46 "disable_syslogd" "Disable opening Syslogd network socket (disables remote logging)" ${disable_syslogd:-off} \ 47 "disable_sendmail" "Disable Sendmail service" ${disable_sendmail:-off} \
|
H A D | services | 32 eval $( sed -e s/YES/on/i -e s/NO/off/i \ 35 # Default service states. Everything is off if not enabled. 46 local_unbound "Local caching validating resolver" ${local_unbound:-off} \ 47 sshd "Secure shell daemon" ${sshd_enable:-off} \ 48 moused "PS/2 mouse pointer on console" ${moused_enable:-off} \ 49 ntpd "Synchronize system and network time" ${ntpd_enable:-off} \ 51 ${powerd_enable:-off} \
|
/freebsd-11-stable/contrib/sendmail/src/ |
H A D | arpadate.c | 61 register int off; local 128 off = (lt->tm_hour - gmt.tm_hour) * 60 + lt->tm_min - gmt.tm_min; 132 off -= 24 * 60; 134 off += 24 * 60; 136 off -= 24 * 60; 138 off += 24 * 60; 141 if (off == 0) 172 tz = timezone(off, lt->tm_isdst); 175 if (off < 0) 177 off [all...] |
/freebsd-11-stable/contrib/apr-util/test/ |
H A D | testrmm.c | 40 apr_rmm_off_t *off, off2; local 63 off = apr_palloc(pool, FRAG_COUNT * sizeof(apr_rmm_off_t)); 65 off[i] = apr_rmm_malloc(rmm, fragsize); 74 char *c = apr_rmm_addr_get(rmm, off[i]); 77 ABTS_TRUE(tc, !!off[i]); 84 char **c = apr_rmm_addr_get(rmm, off[i]); 93 char **c = apr_rmm_addr_get(rmm, off[i]); 102 rv = apr_rmm_free(rmm, off[i]); 107 off[0] = apr_rmm_calloc(rmm, SHARED_SIZE); 111 char **c = apr_rmm_addr_get(rmm, off[ [all...] |
/freebsd-11-stable/contrib/dialog/samples/ |
H A D | checklist-8bit | 14 off. If there are more items than can fit on the \n\ 18 Press SPACE to toggle an option on/off. \n\n\ 20 "`./rotated-data 0 $SAMPLE`" "It's an `./rotated-data 0 $SAMPLE`." off \ 22 "`./rotated-data 2 $SAMPLE`" "Yeah, that's `./rotated-data 2 $SAMPLE`." off \ 23 "`./rotated-data 3 $SAMPLE`" "Normally not a `./rotated-data 3 $SAMPLE`." off \
|
/freebsd-11-stable/sys/dev/ath/ath_hal/ar5212/ |
H A D | ar5212_eeprom.c | 36 ar5212EepromRead(struct ath_hal *ah, u_int off, uint16_t *data) argument 38 OS_REG_WRITE(ah, AR_EEPROM_ADDR, off); 45 __func__, off);
|
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/i86xpv/xdt/ |
H A D | tst.basic.ksh | 54 xdt:sched::off-cpu 57 self->off++; 60 xdt:sched::off-cpu 61 /self->on > 50 && self->off > 50/
|
/freebsd-11-stable/release/scripts/ |
H A D | make-manifest.sh | 33 default_doc=off 34 default_src=off 35 default_tests=off 36 default_base_dbg=off 37 default_lib32_dbg=off 38 default_kernel_alt=off 39 default_kernel_dbg=off 40 default_kernel_alt_dbg=off
|
/freebsd-11-stable/sys/mips/mediatek/ |
H A D | mtk_pcie.h | 140 #define MT_WRITE32(sc, off, val) \ 141 bus_write_4((sc)->pci_res[0], (off), (val)) 142 #define MT_WRITE16(sc, off, val) \ 143 bus_write_2((sc)->pci_res[0], (off), (val)) 144 #define MT_WRITE8(sc, off, val) \ 145 bus_write_1((sc)->pci_res[0], (off), (val)) 146 #define MT_READ32(sc, off) \ 147 bus_read_4((sc)->pci_res[0], (off)) 148 #define MT_READ16(sc, off) \ 149 bus_read_2((sc)->pci_res[0], (off)) [all...] |
/freebsd-11-stable/contrib/binutils/binutils/ |
H A D | resres.c | 82 rc_uint_type off, flen; local 98 off = 0; 103 skip_null_resource (&wrbfd, &off, flen); 105 while (read_resource_entry (&wrbfd, &off, flen)) 169 read_resource_entry (windres_bfd *wrbfd, rc_uint_type *off, rc_uint_type omax) argument 180 off[0] = (off[0] + 3) & ~3; 183 if ((off[0] + 8) > omax) 185 read_res_data_hdr (wrbfd, off, omax, &reshdr); 188 read_res_id (wrbfd, off, oma 219 write_res_directory(windres_bfd *wrbfd, rc_uint_type off, const rc_res_directory *rd, const rc_res_id *type, const rc_res_id *name, rc_uint_type *language, int level) argument 286 write_res_resource(windres_bfd *wrbfd, rc_uint_type off, const rc_res_id *type, const rc_res_id *name, const rc_res_resource *res, rc_uint_type *language ATTRIBUTE_UNUSED) argument 377 write_res_bin(windres_bfd *wrbfd, rc_uint_type off, const rc_res_resource *res, const rc_res_id *type, const rc_res_id *name, const rc_res_res_info *resinfo) argument 404 write_res_header(windres_bfd *wrbfd, rc_uint_type off, rc_uint_type datasize, const rc_res_id *type, const rc_res_id *name, const rc_res_res_info *resinfo) argument 428 write_res_data_hdr(windres_bfd *wrbfd, rc_uint_type off, res_hdr *hdr) argument 441 read_res_data_hdr(windres_bfd *wrbfd, rc_uint_type *off, rc_uint_type omax, res_hdr *reshdr) argument 457 read_res_data(windres_bfd *wrbfd, rc_uint_type *off, rc_uint_type omax, void *data, rc_uint_type size) argument 469 write_res_id(windres_bfd *wrbfd, rc_uint_type off, const rc_res_id *id) argument 501 write_res_info(windres_bfd *wrbfd, rc_uint_type off, const rc_res_res_info *info) argument 519 read_res_id(windres_bfd *wrbfd, rc_uint_type *off, rc_uint_type omax, rc_res_id *id) argument 547 read_unistring(windres_bfd *wrbfd, rc_uint_type *off, rc_uint_type omax, rc_uint_type *len) argument 581 rc_uint_type off; local 610 skip_null_resource(windres_bfd *wrbfd, rc_uint_type *off, rc_uint_type omax) argument [all...] |
H A D | resbin.c | 427 rc_uint_type off; local 442 off = 8; 456 off = 16; 459 if (length < off + 10) 462 c = windres_get_16 (wrbfd, data + off, 2); 463 d->x = windres_get_16 (wrbfd, data + off + 2, 2); 464 d->y = windres_get_16 (wrbfd, data + off + 4, 2); 465 d->width = windres_get_16 (wrbfd, data + off + 6, 2); 466 d->height = windres_get_16 (wrbfd, data + off + 8, 2); 468 off 671 unsigned int off; local 903 get_version_header(windres_bfd *wrbfd, const bfd_byte *data, rc_uint_type length, const char *key, unichar **pkey, rc_uint_type *len, rc_uint_type *vallen, rc_uint_type *type, rc_uint_type *off) argument 955 rc_uint_type verlen, vallen, type, off; local 1256 res_to_bin(windres_bfd *wrbfd, rc_uint_type off, const rc_res_resource *res) argument 1296 resid_to_bin(windres_bfd *wrbfd, rc_uint_type off, rc_res_id id) argument 1331 unicode_to_bin(windres_bfd *wrbfd, rc_uint_type off, const unichar *str) argument 1356 res_to_bin_accelerator(windres_bfd *wrbfd, rc_uint_type off, const rc_accelerator *accelerators) argument 1385 res_to_bin_cursor(windres_bfd *wrbfd, rc_uint_type off, const rc_cursor *c) argument 1404 res_to_bin_group_cursor(windres_bfd *wrbfd, rc_uint_type off, const rc_group_cursor *group_cursors) argument 1443 res_to_bin_dialog(windres_bfd *wrbfd, rc_uint_type off, const rc_dialog *dialog) argument 1590 res_to_bin_fontdir(windres_bfd *wrbfd, rc_uint_type off, const rc_fontdir *fontdirs) argument 1624 res_to_bin_group_icon(windres_bfd *wrbfd, rc_uint_type off, const rc_group_icon *group_icons) argument 1666 res_to_bin_menu(windres_bfd *wrbfd, rc_uint_type off, const rc_menu *menu) argument 1705 res_to_bin_menuitems(windres_bfd *wrbfd, rc_uint_type off, const rc_menuitem *items) argument 1744 res_to_bin_menuexitems(windres_bfd *wrbfd, rc_uint_type off, const rc_menuitem *items) argument 1797 res_to_bin_rcdata(windres_bfd *wrbfd, rc_uint_type off, const rc_rcdata_item *items) argument 1862 res_to_bin_stringtable(windres_bfd *wrbfd, rc_uint_type off, const rc_stringtable *st) argument 1897 string_to_unicode_bin(windres_bfd *wrbfd, rc_uint_type off, const char *s) argument 1920 res_to_bin_toolbar(windres_bfd *wrbfd, rc_uint_type off, rc_toolbar *tb) argument 1954 res_to_bin_versioninfo(windres_bfd *wrbfd, rc_uint_type off, const rc_versioninfo *versioninfo) argument 2128 res_to_bin_generic(windres_bfd *wrbfd, rc_uint_type off, rc_uint_type length, const bfd_byte *data) argument [all...] |
/freebsd-11-stable/lib/libc/stdio/ |
H A D | fmemopen.c | 44 size_t off; /* current offset into the buffer */ member in struct:fmemopen_cookie 91 ck->off = 0; 130 ck->off = ck->len = strnlen(ck->buf, ck->size); 156 * Turn off buffering, so a write past the end of the buffer 169 if (nbytes > ck->len - ck->off) 170 nbytes = ck->len - ck->off; 175 memcpy(buf, ck->buf + ck->off, nbytes); 177 ck->off += nbytes; 187 if (nbytes > ck->size - ck->off) 188 nbytes = ck->size - ck->off; [all...] |
/freebsd-11-stable/sys/dev/cm/ |
H A D | smc90cx6var.h | 95 #define GETREG(off) \ 98 (off)) 99 #define PUTREG(off, value) \ 102 (off), (value)) 103 #define GETMEM(off) \ 106 (off)) 107 #define PUTMEM(off, value) \ 110 (off), (value))
|
/freebsd-11-stable/sys/dev/ath/ath_hal/ar5312/ |
H A D | ar5312_eeprom.c | 35 ar5312EepromRead(struct ath_hal *ah, u_int off, uint16_t *dataIn) argument 42 for (i=0,offset=2*off; i<2; i++,offset++) {
|
/freebsd-11-stable/sys/dev/ath/ath_hal/ar5416/ |
H A D | ar5416_eeprom.c | 35 ar5416EepromRead(struct ath_hal *ah, u_int off, uint16_t *data) argument 37 OS_REG_READ(ah, AR5416_EEPROM_OFFSET + (off << AR5416_EEPROM_S));
|
/freebsd-11-stable/sys/opencrypto/ |
H A D | criov.c | 49 KASSERT(off >= 0, ("%s: off %d < 0", __func__, off)); \ 51 while (off > 0) { \ 53 if (off < iov->iov_len) \ 55 off -= iov->iov_len; \ 62 cuio_copydata(struct uio* uio, int off, int len, caddr_t cp) argument 71 count = min(iov->iov_len - off, len); 72 bcopy(((caddr_t)iov->iov_base) + off, cp, count); 75 off 82 cuio_copyback(struct uio* uio, int off, int len, c_caddr_t cp) argument 105 cuio_getptr(struct uio *uio, int loc, int *off) argument 134 cuio_apply(struct uio *uio, int off, int len, int (*f)(void *, void *, u_int), void *arg) argument 158 crypto_copyback(int flags, caddr_t buf, int off, int size, c_caddr_t in) argument 170 crypto_copydata(int flags, caddr_t buf, int off, int size, caddr_t out) argument 182 crypto_apply(int flags, caddr_t buf, int off, int len, int (*f)(void *, void *, u_int), void *arg) argument [all...] |
/freebsd-11-stable/sys/netgraph/ |
H A D | ng_parse.c | 105 const char *s, int *off, const u_char *start, 108 const u_char *data, int *off, char *cbuf, int cbuflen, 122 static int ng_parse_skip_value(const char *s, int off, int *lenp); 148 const char *string, int *off, u_char *buf, int *buflen) 150 return INVOKE(type, parse)(type, string, off, buf, buf, buflen); 160 int off = 0; local 162 return INVOKE(type, unparse)(type, data, &off, cbuf, cbuflen); 185 const char *s, int *off, const u_char *const start, 188 return ng_parse_composite(type, s, off, start, buf, buflen, CT_STRUCT); 193 const u_char *data, int *off, cha 147 ng_parse(const struct ng_parse_type *type, const char *string, int *off, u_char *buf, int *buflen) argument 184 ng_struct_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 192 ng_struct_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument 202 int off = 0; local 238 ng_fixedarray_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 247 ng_fixedarray_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument 258 int off = 0; local 287 ng_array_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 295 ng_array_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument 305 int off = 0; local 334 ng_int8_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 353 ng_int8_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument 429 ng_int16_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 449 ng_int16_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument 525 ng_int32_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 548 ng_int32_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument 624 ng_int64_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 643 ng_int64_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument 719 ng_string_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 737 ng_string_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument 782 ng_fixedstring_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 806 ng_fixedstring_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument 886 ng_sizedstring_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 909 ng_sizedstring_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument 954 ng_ipaddr_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 975 ng_ipaddr_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument 1018 ng_enaddr_parse(const struct ng_parse_type *type, const char *s, int *const off, const u_char *const start, u_char *const buf, int *const buflen) argument 1045 ng_enaddr_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument 1095 ng_bytearray_parse(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen) argument 1133 ng_bytearray_unparse(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen) argument 1201 ng_parse_composite(const struct ng_parse_type *type, const char *s, int *off, const u_char *const start, u_char *const buf, int *buflen, const enum comptype ctype) argument 1378 ng_unparse_composite(const struct ng_parse_type *type, const u_char *data, int *off, char *cbuf, int cbuflen, const enum comptype ctype) argument 1647 int off = off0; local 1732 int start, off; local 1820 int off = 0; local [all...] |
/freebsd-11-stable/sys/powerpc/powerpc/ |
H A D | syncicache.c | 51 register_t l, off; local 54 off = (uintptr_t)from & (cacheline_size - 1); 55 l = len += off; 56 p = (char *)from - off; 63 p = (char *)from - off;
|
/freebsd-11-stable/sys/dev/ep/ |
H A D | if_epvar.h | 86 #define CSR_READ_1(sc, off) (bus_space_read_1((sc)->bst, (sc)->bsh, off)) 87 #define CSR_READ_2(sc, off) (bus_space_read_2((sc)->bst, (sc)->bsh, off)) 88 #define CSR_WRITE_1(sc, off, val) \ 89 bus_space_write_1(sc->bst, sc->bsh, off, val) 90 #define CSR_WRITE_2(sc, off, val) \ 91 bus_space_write_2(sc->bst, sc->bsh, off, val) 92 #define CSR_WRITE_MULTI_1(sc, off, addr, count) \ 93 bus_space_write_multi_1(sc->bst, sc->bsh, off, add [all...] |
/freebsd-11-stable/tools/tools/bus_autoconf/ |
H A D | bus_load_file.c | 43 off_t off; local 50 off = lseek(f, 0, SEEK_END); 51 if (off < 0) { 61 len = off; 62 if (len != off)
|
/freebsd-11-stable/sys/dev/tpm/ |
H A D | tpm20.h | 142 RD1(struct tpm_sc *sc, bus_size_t off) argument 145 return (bus_read_1(sc->mem_res, off)); 148 RD4(struct tpm_sc *sc, bus_size_t off) argument 151 return (bus_read_4(sc->mem_res, off)); 155 RD8(struct tpm_sc *sc, bus_size_t off) argument 158 return (bus_read_8(sc->mem_res, off)); 162 WR1(struct tpm_sc *sc, bus_size_t off, uint8_t val) argument 165 bus_write_1(sc->mem_res, off, val); 168 WR4(struct tpm_sc *sc, bus_size_t off, uint32_t val) argument 171 bus_write_4(sc->mem_res, off, va 174 AND4(struct tpm_sc *sc, bus_size_t off, uint32_t val) argument 180 OR1(struct tpm_sc *sc, bus_size_t off, uint8_t val) argument 186 OR4(struct tpm_sc *sc, bus_size_t off, uint32_t val) argument [all...] |
/freebsd-11-stable/contrib/pf/libevent/ |
H A D | buffer.c | 88 (x)->off = (y)->off; \ 97 if (outbuf->off == 0) { 99 size_t oldoff = inbuf->off; 111 if (inbuf->off != oldoff && inbuf->cb != NULL) 112 (*inbuf->cb)(inbuf, oldoff, inbuf->off, inbuf->cbarg); 119 res = evbuffer_add(outbuf, inbuf->buffer, inbuf->off); 122 evbuffer_drain(inbuf, inbuf->off); 133 size_t oldoff = buf->off; 138 buffer = (char *)buf->buffer + buf->off; [all...] |
/freebsd-11-stable/lib/libc/posix1e/ |
H A D | acl_to_text_nfs4.c | 170 size_t off = 0, min_who_field_length = 18; local 193 off += snprintf(str + off, size - off, "%*s:", len, buf); 199 off += snprintf(str + off, size - off, "%s:", buf); 205 off += snprintf(str + off, size - off, " 230 int error, off = 0, size, entry_id = ACL_FIRST_ENTRY; local [all...] |
/freebsd-11-stable/sys/netinet6/ |
H A D | dest6.c | 66 int off = *offp, dstoptlen, optlen; local 72 IP6_EXTHDR_CHECK(m, off, sizeof(*dstopts), IPPROTO_DONE); 73 dstopts = (struct ip6_dest *)(mtod(m, caddr_t) + off); 75 IP6_EXTHDR_GET(dstopts, struct ip6_dest *, m, off, sizeof(*dstopts)); 82 IP6_EXTHDR_CHECK(m, off, dstoptlen, IPPROTO_DONE); 83 dstopts = (struct ip6_dest *)(mtod(m, caddr_t) + off); 85 IP6_EXTHDR_GET(dstopts, struct ip6_dest *, m, off, dstoptlen); 89 off += dstoptlen; 118 *offp = off;
|