Searched refs:shp (Results 1 - 9 of 9) sorted by relevance

/freebsd-13-stable/sys/contrib/openzfs/cmd/zed/agents/
H A Dfmd_serd.c121 fmd_serd_hash_create(fmd_serd_hash_t *shp) argument
123 shp->sh_hashlen = FMD_STR_BUCKETS;
124 shp->sh_hash = calloc(shp->sh_hashlen, sizeof (void *));
125 shp->sh_count = 0;
129 fmd_serd_hash_destroy(fmd_serd_hash_t *shp) argument
134 for (i = 0; i < shp->sh_hashlen; i++) {
135 for (sgp = shp->sh_hash[i]; sgp != NULL; sgp = ngp) {
141 free(shp->sh_hash);
142 bzero(shp, sizeo
146 fmd_serd_hash_apply(fmd_serd_hash_t *shp, fmd_serd_eng_f *func, void *arg) argument
158 fmd_serd_eng_insert(fmd_serd_hash_t *shp, const char *name, uint_t n, hrtime_t t) argument
175 fmd_serd_eng_lookup(fmd_serd_hash_t *shp, const char *name) argument
189 fmd_serd_eng_delete(fmd_serd_hash_t *shp, const char *name) argument
[all...]
/freebsd-13-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_link.c475 Elf32_Shdr *shp; local
525 shp = &elf_file.shdr[ESHDR_SHSTRTAB];
526 shp->sh_name = 1; /* DTRACE_SHSTRTAB32[1] = ".shstrtab" */
527 shp->sh_type = SHT_STRTAB;
528 shp->sh_offset = off;
529 shp->sh_size = sizeof (DTRACE_SHSTRTAB32);
530 shp->sh_addralign = sizeof (char);
531 off = roundup2(shp->sh_offset + shp->sh_size, 8);
533 shp
615 Elf64_Shdr *shp; local
[all...]
/freebsd-13-stable/cddl/contrib/opensolaris/lib/libctf/common/
H A Dctf_lib.c387 const GElf_Shdr *shp = &sp[i]; local
388 const GElf_Shdr *lhp = &sp[shp->sh_link];
390 if (shp->sh_link >= shnum)
393 if (shp->sh_name >= sp[shstrndx].sh_size ||
397 if (shp->sh_type == SHT_PROGBITS &&
398 strcmp(strs + shp->sh_name, _CTF_SECTION) == 0) {
399 ctfsect.cts_name = strs + shp->sh_name;
400 ctfsect.cts_type = shp->sh_type;
401 ctfsect.cts_flags = shp->sh_flags;
402 ctfsect.cts_size = shp
[all...]
/freebsd-13-stable/contrib/tcpdump/
H A Dprint-decnet.c862 const struct seghdr *shp = (const struct seghdr *)nspp; local
868 ND_TCHECK(shp->sh_seq[0]);
869 ack = EXTRACT_LE_16BITS(shp->sh_seq[0]);
878 ND_TCHECK(shp->sh_seq[1]);
879 ack = EXTRACT_LE_16BITS(shp->sh_seq[1]);
888 ND_TCHECK(shp->sh_seq[2]);
889 ack = EXTRACT_LE_16BITS(shp->sh_seq[2]);
898 const struct seghdr *shp = (const struct seghdr *)nspp; local
904 ND_TCHECK(shp->sh_seq[0]);
905 ack = EXTRACT_LE_16BITS(shp
934 const struct seghdr *shp = (const struct seghdr *)nspp; local
[all...]
/freebsd-13-stable/contrib/tcsh/
H A Dsh.dir.c127 struct stat swd, shp; local
134 if (swd_ok && hp && *hp && stat(short2str(hp), &shp) != -1 &&
135 DEV_DEV_COMPARE(swd.st_dev, shp.st_dev) &&
136 swd.st_ino == shp.st_ino)
145 if (stat(cwd, &shp) != -1 &&
146 DEV_DEV_COMPARE(swd.st_dev, shp.st_dev) &&
147 swd.st_ino == shp.st_ino) {
/freebsd-13-stable/sys/fs/nfsserver/
H A Dnfs_nfsdstate.c595 struct nfssessionhash *shp; local
638 shp = NFSSESSIONHASH(nd->nd_sessionid);
639 NFSLOCKSESSION(shp);
643 NFSUNLOCKSESSION(shp);
736 shp = NFSSESSIONHASH(nsep->sess_sessionid);
738 NFSLOCKSESSION(shp);
739 LIST_INSERT_HEAD(&shp->list, nsep, sess_hash);
742 NFSUNLOCKSESSION(shp);
6242 struct nfssessionhash *shp; local
6245 shp
6292 struct nfssessionhash *shp; local
6326 struct nfssessionhash *shp; local
6383 struct nfssessionhash *shp; local
6437 struct nfssessionhash *shp; local
6511 struct nfssessionhash *shp; local
[all...]
/freebsd-13-stable/contrib/file/src/
H A Dcdf.c974 const cdf_section_header_t *shp; local
984 shp = CAST(const cdf_section_header_t *,
986 if (cdf_check_stream_offset(sst, h, shp, sizeof(*shp), __LINE__) == -1)
988 sh.sh_len = CDF_TOLE4(shp->sh_len);
994 if (cdf_check_stream_offset(sst, h, shp, sh.sh_len, __LINE__) == -1)
997 sh.sh_properties = CDF_TOLE4(shp->sh_properties);
1008 e = CAST(const uint8_t *, cdf_offset(shp, sh.sh_len));
/freebsd-13-stable/sys/kern/
H A Dkern_sharedpage.c135 SYSINIT(shp, SI_SUB_EXEC, SI_ORDER_FIRST, (sysinit_cfunc_t)shared_page_init,
/freebsd-13-stable/sys/contrib/openzfs/cmd/zdb/
H A Dzdb.c933 spa_history_phys_t *shp = data; local
935 if (shp == NULL)
939 (u_longlong_t)shp->sh_pool_create_len);
941 (u_longlong_t)shp->sh_phys_max_off);
943 (u_longlong_t)shp->sh_bof);
945 (u_longlong_t)shp->sh_eof);
947 (u_longlong_t)shp->sh_records_lost);

Completed in 163 milliseconds