Searched defs:sect (Results 1 - 19 of 19) sorted by relevance

/illumos-gate/usr/src/lib/libresolv2/common/nameser/
H A Dns_parse.c39 static void setsection(ns_msg *msg, ns_sect sect);
264 setsection(ns_msg *msg, ns_sect sect) { argument
265 msg->_sect = sect;
266 if (sect == ns_s_max) {
271 msg->_msg_ptr = msg->_sections[(int)sect];
H A Dns_newmsg.c63 ns_sect sect; local
68 for (sect = ns_s_qd; sect < ns_s_max; sect++) {
71 count = ns_msg_count(*msg, sect);
76 if (ns_parserr2(msg, sect, i, &rr) < 0)
78 if (sect == ns_s_qd)
84 x = ns_newmsg_rr(handle, sect,
156 ns_newmsg_rr(ns_newmsg *handle, ns_sect sect, argument
165 if (sect < ms
200 ns_sect sect; local
[all...]
/illumos-gate/usr/src/cmd/format/
H A Ddefect.h58 short sect; member in struct:defect_entry
H A Dio.c352 int cyl, head, sect; local
424 if (geti(buf, &sect, &wild))
426 if ((sect < 0) || (sect >= sectors(head))) {
427 err_print("`%d' is out of range.\n", sect);
433 *iptr = chs2bn(cyl, head, sect);
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_findzonecut.c276 ns_sect sect; local
308 sect = ns_s_max, n = 0;
314 sect = ns_s_an, n = ancount;
316 sect = ns_s_ns, n = nscount;
318 sect = ns_s_max, n = 0;
325 if (ns_parserr(&msg, sect, i, &rr) < 0) {
327 p_section(sect, ns_o_query), i));
337 switch (sect) {
517 save_ns(res_state statp, ns_msg *msg, ns_sect sect, argument
523 for (i = 0; i < ns_msg_count(*msg, sect);
576 save_a(res_state statp, ns_msg *msg, ns_sect sect, const char *owner, ns_class class, int opts, rr_ns *nsrr) argument
[all...]
/illumos-gate/usr/src/lib/libshare/smbfs/
H A Dlibshare_smbfs.c353 sa_property_t sect, node; local
379 sect = sa_create_section(NULL, pgname+2);
380 (void) xmlSetProp(sect, (xmlChar *)"type",
382 (void) sa_add_protocol_property(protoset, sect);
392 (void) xmlSetProp(sect, (xmlChar *)"name",
401 * linked into the list of children under "sect",
405 (void) sa_add_protocol_property(sect, node);
/illumos-gate/usr/src/cmd/dfs.cmds/sharectl/
H A Dsharectl.c344 sa_property_t sect; local
345 sect = sa_create_section(section, NULL);
346 sa_set_section_attr(sect, "type", proto);
347 (void) sa_add_protocol_property(propset, sect);
350 (void) sa_add_protocol_property(sect, prop);
/illumos-gate/usr/src/lib/libfru/libfruraw/
H A Dfruraw.c296 find_seg_in_sect(section_t *sect, const char *seg_name, int *prot_flg, argument
303 int num_seg = fru_get_num_segments(sect->handle, NULL);
313 acc_err = fru_get_segments(sect->handle, segs, num_seg, NULL);
326 *prot_flg = (sect->protection ? 1 : 0);
343 section_t *sect = NULL; local
354 sect = malloc(sizeof (*sect) * (num_sect));
355 if (sect == NULL) {
359 acc_err = fru_get_sections(cont, sect, num_sect, NULL);
361 free(sect);
[all...]
/illumos-gate/usr/src/cmd/sgs/lex/common/
H A Donce.h69 int sect = DEFSECTION; variable
/illumos-gate/usr/src/uts/common/fs/objfs/
H A Dobjfs_data.c215 section_desc_t *sect; local
219 sect = &data_sections[i];
221 ASSERT(sect->sect_align == 0 || ISP2(sect->sect_align));
222 ASSERT(sect->sect_align <= sizeof (uint64_t));
224 len += strlen(sect->sect_name) + 1;
225 if (strcmp(sect->sect_name, ".shstrtab") == 0)
227 else if (strcmp(sect->sect_name, ".symtab") == 0)
229 else if (strcmp(sect->sect_name, ".strtab") == 0)
234 sect
[all...]
/illumos-gate/usr/src/tools/ctf/dwarf/common/
H A Dpro_section.c205 int sect = 0; local
214 for (sect = 0; sect < NUM_DEBUG_SECTIONS; sect++) {
217 switch (sect) {
297 dbg->de_callback_func_b(_dwarf_sectnames[sect],
305 _dwarf_sectnames[sect],
316 dbg->de_elf_sects[sect] = new_base_elf_sect;
318 dbg->de_sect_name_idx[sect] = du;
/illumos-gate/usr/src/uts/common/io/
H A Dfd.c1128 int cyl, head, sect; local
1202 sect = (bincyl % chp->fdc_secptrack) + 1;
1214 ((chp->fdc_secptrack - sect + 1) <<
1217 (chp->fdc_secptrack - sect + 1) <<
1226 blk, (void *)addr, len, cyl, head, sect,
1233 bp->b_flags & B_READ, cyl, head, sect, addr, tlen);
/illumos-gate/usr/src/lib/libshare/common/
H A Dlibshare.c3209 sa_set_section_attr(sa_property_t sect, char *name, char *value) argument
3211 (void) xmlSetProp(sect, (xmlChar *)name, (xmlChar *)value);
/illumos-gate/usr/src/cmd/mdb/intel/modules/mdb_kb/
H A Dmdb_kb.c229 mdb_gelf_sect_t *sect = NULL; local
273 if ((sect = mdb_gelf_sect_by_name(gf, ".note.Xen")) == NULL)
276 if ((notes = mdb_gelf_sect_load(gf, sect)) == NULL)
279 for (pos = notes; pos < notes + sect->gs_shdr.sh_size; ) {
424 mdb_gelf_sect_t *sect; local
433 sect = mdb_gelf_sect_by_name(xe->xe_gelf, ".xen_p2m");
435 if (sect == NULL) {
440 if ((p2m = mdb_gelf_sect_load(xe->xe_gelf, sect)) == NULL) {
478 mdb_gelf_sect_t *sect; local
484 sect
1133 mdb_gelf_sect_t *sect; local
[all...]
/illumos-gate/usr/src/cmd/man/
H A Dman.c1294 char *sect = NULL; local
1315 sect = strchr(rc, '=') + 1;
1318 return (sect);
/illumos-gate/usr/src/uts/sun/io/
H A Dfd.c3093 uint_t sect; /* starting block's offset into track */ local
3243 sect = (bincyl % ch->fdc_secptrack) + 1;
3244 /* sect w/in track */
3255 tlen = (ch->fdc_secptrack - sect + 1) *
3265 if (len > ((ch->fdc_secptrack - sect + 1) *
3267 tlen = (ch->fdc_secptrack - sect + 1)
3291 cyl, head, sect));
3306 csb->csb_cmds[4] = sect; /* R - sector number */
3308 csb->csb_cmds[6] = sect +
/illumos-gate/usr/src/cmd/fdisk/
H A Dfdisk.c635 static void dev_mboot_write(off_t sect, char *buff, int bootsiz);
1409 dev_mboot_write(off_t sect, char *buff, int bootsiz) argument
1522 if (lseek(Dev, sect, SEEK_SET) == -1) {
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dbuiltins.c3950 char sect[SECTOR_SIZE];
4053 sect))
4055 grub_memmove (sect + saved_offsets[0], buf, saved_lengths[0]);
4056 if (! rawwrite (current_drive, saved_sectors[0], sect))
4060 sect))
4062 grub_memmove (sect + saved_offsets[1],
4065 if (! rawwrite (current_drive, saved_sectors[1], sect))
4072 sect))
4074 grub_memmove (sect + saved_offsets[0], buf, sizeof (buf));
4075 if (! rawwrite (current_drive, saved_sectors[0], sect))
3900 char sect[SECTOR_SIZE]; local
[all...]
/illumos-gate/usr/src/cmd/fs.d/ufs/mkfs/
H A Dmkfs.c4737 diskaddr_t sect; local
4738 sect = (sblock.fs_size + growth_fs_frags) * sblock.fs_nspf;
4739 return ((sect > fssize_db) ? fssize_db : sect);

Completed in 128 milliseconds