Home
last modified time | relevance | path

Searched refs:part (Results 1 – 25 of 1132) sorted by relevance

12345678910>>...46

/freebsd/sys/dev/mmc/
H A Dmmcsd.c118 struct mmcsd_part *part[MMC_PART_MAX]; member
182 static daddr_t mmcsd_delete(struct mmcsd_part *part, struct bio *bp);
185 static int mmcsd_ioctl(struct mmcsd_part *part, u_long cmd, void *data,
187 static int mmcsd_ioctl_cmd(struct mmcsd_part *part, struct mmc_ioc_cmd *mic,
190 static daddr_t mmcsd_rw(struct mmcsd_part *part, struct bio *bp);
195 u_int part);
485 struct mmcsd_part *part; in mmcsd_add_part() local
496 part = sc->part[type] = malloc(sizeof(*part), M_DEVBUF, in mmcsd_add_part()
498 part->sc = sc; in mmcsd_add_part()
499 part->cnt = cnt; in mmcsd_add_part()
[all …]
/freebsd/crypto/heimdal/lib/krb5/
H A Drd_priv.c45 EncKrbPrivPart part; in krb5_rd_priv() local
101 ret = decode_EncKrbPrivPart (plain.data, plain.length, &part, &len); in krb5_rd_priv()
110 if (part.s_address in krb5_rd_priv()
114 part.s_address)) { in krb5_rd_priv()
122 if (part.r_address in krb5_rd_priv()
126 part.r_address)) { in krb5_rd_priv()
137 if (part.timestamp == NULL || in krb5_rd_priv()
138 part.usec == NULL || in krb5_rd_priv()
139 abs(*part.timestamp - sec) > context->max_skew) { in krb5_rd_priv()
153 if ((part.seq_number == NULL in krb5_rd_priv()
[all …]
H A Dmk_priv.c45 EncKrbPrivPart part; in krb5_mk_priv() local
67 part.user_data = *userdata; in krb5_mk_priv()
72 part.timestamp = &rdata.timestamp; in krb5_mk_priv()
73 part.usec = &rdata.usec; in krb5_mk_priv()
75 part.timestamp = NULL; in krb5_mk_priv()
76 part.usec = NULL; in krb5_mk_priv()
86 part.seq_number = &rdata.seq; in krb5_mk_priv()
88 part.seq_number = NULL; in krb5_mk_priv()
93 part.s_address = auth_context->local_address; in krb5_mk_priv()
94 part.r_address = auth_context->remote_address; in krb5_mk_priv()
[all …]
/freebsd/usr.bin/mkimg/
H A Dmkimg.c240 struct part *part; in parse_part() local
250 part = calloc(1, sizeof(struct part)); in parse_part()
251 if (part == NULL) in parse_part()
264 part->alias = malloc(len); in parse_part()
265 if (part->alias == NULL) { in parse_part()
269 strlcpy(part->alias, spec, len); in parse_part()
274 part->kind = PART_KIND_SIZE; in parse_part()
277 part->kind = PART_KIND_FILE; in parse_part()
280 part->kind = PART_KIND_PIPE; in parse_part()
288 part->contents = strdup(spec); in parse_part()
[all …]
H A Dmbr.c76 struct part *part; in mbr_write() local
90 TAILQ_FOREACH(part, &partlist, link) { in mbr_write()
91 size = round_track(part->size); in mbr_write()
92 dp = dpbase + part->index; in mbr_write()
95 (part->index + 1 == active_partition) ? 0x80 : 0; in mbr_write()
98 (part->index == 0 && bootcode != NULL) ? 0x80 : 0; in mbr_write()
100 part->block); in mbr_write()
101 dp->dp_typ = ALIAS_TYPE2INT(part->type); in mbr_write()
103 part->block + size - 1); in mbr_write()
104 le32enc(&dp->dp_start, part->block); in mbr_write()
H A Dapm.c65 struct part *part; in apm_write() local
85 TAILQ_FOREACH(part, &partlist, link) { in apm_write()
86 ent = (void *)(buf + (part->index + 2) * secsz); in apm_write()
89 be32enc(&ent->ent_start, part->block); in apm_write()
90 be32enc(&ent->ent_size, part->size); in apm_write()
91 strncpy(ent->ent_type, ALIAS_TYPE2PTR(part->type), in apm_write()
93 if (part->label != NULL) in apm_write()
94 strncpy(ent->ent_name, part->label, in apm_write()
H A Debr.c72 struct part *part, *next; in ebr_write() local
83 TAILQ_FOREACH(part, &partlist, link) { in ebr_write()
84 block = part->block - nsecs; in ebr_write()
85 size = round_track(part->size); in ebr_write()
88 dp->dp_typ = ALIAS_TYPE2INT(part->type); in ebr_write()
90 part->block + size - 1); in ebr_write()
95 next = TAILQ_NEXT(part, link); in ebr_write()
H A Dbsd.c68 struct part *part; in bsd_write() local
100 TAILQ_FOREACH(part, &partlist, link) { in bsd_write()
101 n = part->index + ((part->index >= BSD_PART_RAW) ? 1 : 0); in bsd_write()
103 le32enc(&dp->p_size, part->size); in bsd_write()
104 le32enc(&dp->p_offset, part->block); in bsd_write()
106 dp->p_fstype = ALIAS_TYPE2INT(part->type); in bsd_write()
H A Dgpt.c190 struct part *part; in gpt_mktbl() local
197 TAILQ_FOREACH(part, &partlist, link) { in gpt_mktbl()
198 ent = tbl + part->index; in gpt_mktbl()
199 mkimg_uuid_enc(&ent->ent_type, ALIAS_TYPE2PTR(part->type)); in gpt_mktbl()
202 le64enc(&ent->ent_lba_start, part->block); in gpt_mktbl()
203 le64enc(&ent->ent_lba_end, part->block + part->size - 1); in gpt_mktbl()
204 if (part->label != NULL) { in gpt_mktbl()
206 while ((c = part->label[idx]) != '\0') { in gpt_mktbl()
/freebsd/sys/contrib/device-tree/Bindings/i2c/
H A Drenesas,i2c.txt5 "renesas,i2c-r8a7742" if the device is a part of a R8A7742 SoC.
6 "renesas,i2c-r8a7743" if the device is a part of a R8A7743 SoC.
7 "renesas,i2c-r8a7744" if the device is a part of a R8A7744 SoC.
8 "renesas,i2c-r8a7745" if the device is a part of a R8A7745 SoC.
9 "renesas,i2c-r8a77470" if the device is a part of a R8A77470 SoC.
10 "renesas,i2c-r8a774a1" if the device is a part of a R8A774A1 SoC.
11 "renesas,i2c-r8a774b1" if the device is a part of a R8A774B1 SoC.
12 "renesas,i2c-r8a774c0" if the device is a part of a R8A774C0 SoC.
13 "renesas,i2c-r8a774e1" if the device is a part of a R8A774E1 SoC.
14 "renesas,i2c-r8a7778" if the device is a part of a R8A7778 SoC.
[all …]
/freebsd/stand/common/
H A Dpart.c63 struct ptable_entry part; member
337 entry->part.start = ent->ent_lba_start; in ptable_gptread()
338 entry->part.end = ent->ent_lba_end; in ptable_gptread()
339 entry->part.index = i + 1; in ptable_gptread()
340 entry->part.type = gpt_parttype(ent->ent_type); in ptable_gptread()
396 offset = e1->part.start; in ptable_ebrread()
414 offset = e1->part.start + start; in ptable_ebrread()
421 entry->part.start = offset + start; in ptable_ebrread()
422 entry->part.end = entry->part.start + end - 1; in ptable_ebrread()
423 entry->part.index = index++; in ptable_ebrread()
[all …]
H A Ddisk.c104 ptable_print(void *arg, const char *pname, const struct ptable_entry *part) in ptable_print() argument
118 partsize = part->end - part->start + 1; in ptable_print()
120 parttype2str(part->type)); in ptable_print()
138 if (part->type == PART_FREEBSD) { in ptable_print()
142 dev.d_slice = part->index; in ptable_print()
233 struct ptable_entry part; in disk_open() local
285 rc = ptable_getpart(od->table, &part, partition); in disk_open()
287 dev->d_offset = part.start; in disk_open()
288 od->entrysize = part.end - part.start + 1; in disk_open()
296 rc = ptable_getbestpart(od->table, &part); in disk_open()
[all …]
/freebsd/sys/geom/part/
H A Dg_part_bsd.c63 struct partition part; member
167 entry->part.p_size = gpp->gpp_size; in g_part_bsd_add()
168 entry->part.p_offset = gpp->gpp_start + table->offset; in g_part_bsd_add()
169 entry->part.p_fsize = 0; in g_part_bsd_add()
170 entry->part.p_frag = 0; in g_part_bsd_add()
171 entry->part.p_cpg = 0; in g_part_bsd_add()
172 return (bsd_parse_type(gpp->gpp_type, &entry->part.p_fstype)); in g_part_bsd_add()
238 entry->part.p_size = basetable->gpt_last + 1; in g_part_bsd_create()
239 entry->part.p_offset = table->offset; in g_part_bsd_create()
267 sbuf_printf(sb, " xs BSD xt %u", entry->part.p_fstype); in g_part_bsd_dumpconf()
[all …]
/freebsd/contrib/ncurses/ncurses/base/
H A DMKunctrl.awk55 part=""
65 part = sprintf ("^\\%03o", ch + 64);
68 part = "^?";
71 part = sprintf("~\\%03o", ch - 64);
74 part = "~?";
77 part = sprintf("M-\\%03o", ch - 128);
81 part = sprintf("\\%03o", ch);
89 blob = blob part "\\0";
91 printf "\"%s\"%s", part, gap
115 part = sprintf("\\%03o\\0", ch);
[all …]
/freebsd/sys/contrib/device-tree/Bindings/net/can/
H A Drcar_can.txt5 - compatible: "renesas,can-r8a7742" if CAN controller is a part of R8A7742 SoC.
6 "renesas,can-r8a7743" if CAN controller is a part of R8A7743 SoC.
7 "renesas,can-r8a7744" if CAN controller is a part of R8A7744 SoC.
8 "renesas,can-r8a7745" if CAN controller is a part of R8A7745 SoC.
9 "renesas,can-r8a77470" if CAN controller is a part of R8A77470 SoC.
10 "renesas,can-r8a774a1" if CAN controller is a part of R8A774A1 SoC.
11 "renesas,can-r8a774b1" if CAN controller is a part of R8A774B1 SoC.
12 "renesas,can-r8a774c0" if CAN controller is a part of R8A774C0 SoC.
13 "renesas,can-r8a774e1" if CAN controller is a part of R8A774E1 SoC.
14 "renesas,can-r8a7778" if CAN controller is a part of R8A7778 SoC.
[all …]
/freebsd/sys/cam/mmc/
H A Dmmc_da.c142 struct sdda_part *part[MMC_PART_MAX]; member
443 struct sdda_part *part; in sddaopen() local
448 part = (struct sdda_part *)dp->d_drv1; in sddaopen()
449 softc = part->sc; in sddaopen()
464 part->flags |= SDDA_FLAG_OPEN; in sddaopen()
474 struct sdda_part *part; in sddaclose() local
478 part = (struct sdda_part *)dp->d_drv1; in sddaclose()
479 softc = part->sc; in sddaclose()
481 part->flags &= ~SDDA_FLAG_OPEN; in sddaclose()
498 struct sdda_part *part; in sddaschedule() local
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl.cpp81 TracePart* part = nullptr; in TracePartAlloc() local
88 part = ctx->trace_part_recycle.PopFront(); in TracePartAlloc()
89 DPrintf("#%d: TracePartAlloc: part=%p\n", thr->tid, part); in TracePartAlloc()
90 if (part && part->trace) { in TracePartAlloc()
91 Trace* trace1 = part->trace; in TracePartAlloc()
93 part->trace = nullptr; in TracePartAlloc()
95 CHECK_EQ(part, part1); in TracePartAlloc()
108 if (!part) in TracePartAlloc()
113 if (!part) in TracePartAlloc()
114 part = new (MmapOrDie(sizeof(*part), "TracePart")) TracePart(); in TracePartAlloc()
[all …]
/freebsd/contrib/llvm-project/lld/ELF/
H A DWriter.cpp68 SmallVector<PhdrEntry *, 0> createPhdrs(Partition &part);
69 void addPhdrForSection(Partition &part, unsigned shType, unsigned pType,
73 void setPhdrs(Partition &part);
121 for (unsigned part = 2; part != partitions.size() + 1; ++part) { in copySectionsIntoPartitions() local
126 copy->partition = part; in copySectionsIntoPartitions()
132 copy->partition = part; in copySectionsIntoPartitions()
323 for (Partition &part : partitions) in run()
324 removeEmptyPTLoad(part.phdrs); in run()
331 for (Partition &part : partitions) in run()
332 setPhdrs(part); in run()
[all …]
/freebsd/stand/libsa/
H A Dgpt.c91 gptfind(const uuid_t *uuid, struct dsk *dskp, int part) in gptfind() argument
96 if (part >= 0) { in gptfind()
97 if (part == 0 || part > gpthdr->hdr_entries) { in gptfind()
101 ent = &gpttable[part - 1]; in gptfind()
107 curent = part - 1; in gptfind()
162 dskp->part = curent + 1; in gptfind()
238 int entries_per_sec, nent, part; in gptbootconv() local
246 for (part = 0; part < entries_per_sec; part++) { in gptbootconv()
247 ent = &table[nent + part]; in gptbootconv()
287 int part, nent; in gptread_table() local
[all …]
/freebsd/contrib/diff/src/
H A Danalyze.c93 struct partition *part) in diag() argument
137 part->xmid = x; in diag()
138 part->ymid = y; in diag()
139 part->lo_minimal = part->hi_minimal = true; in diag()
164 part->xmid = x; in diag()
165 part->ymid = y; in diag()
166 part->lo_minimal = part->hi_minimal = true; in diag()
206 part->xmid = x; in diag()
207 part->ymid = y; in diag()
215 part->lo_minimal = true; in diag()
[all …]
/freebsd/usr.sbin/boot0cfg/
H A Dboot0cfg.c437 struct dos_partition *part; in display_mbr() local
440 part = (struct dos_partition *)(mbr + DOSPARTOFF); in display_mbr()
443 if (part[i].dp_typ) in display_mbr()
444 printf(fmt1, 1 + i, part[i].dp_flag, in display_mbr()
445 part[i].dp_scyl + ((part[i].dp_ssect & 0xc0) << 2), in display_mbr()
446 part[i].dp_shd, part[i].dp_ssect & 0x3f, part[i].dp_typ, in display_mbr()
447 part[i].dp_ecyl + ((part[i].dp_esect & 0xc0) << 2), in display_mbr()
448 part[i].dp_ehd, part[i].dp_esect & 0x3f, part[i].dp_start, in display_mbr()
449 part[i].dp_size); in display_mbr()
/freebsd/sys/contrib/openzfs/lib/libzutil/os/linux/
H A Dzutil_device_path_os.c87 char *part = NULL, *d = NULL; in zfs_strip_partition() local
91 if ((part = strstr(tmp, "-part")) && part != tmp) { in zfs_strip_partition()
92 d = part + 5; in zfs_strip_partition()
93 } else if ((part = strrchr(tmp, 'p')) && in zfs_strip_partition()
94 part > tmp + 1 && isdigit(*(part-1))) { in zfs_strip_partition()
95 d = part + 1; in zfs_strip_partition()
98 for (d = &tmp[2]; isalpha(*d); part = ++d) { } in zfs_strip_partition()
100 for (d = &tmp[3]; isalpha(*d); part = ++d) { } in zfs_strip_partition()
102 if (part && d && *d != '\0') { in zfs_strip_partition()
105 *part = '\0'; in zfs_strip_partition()
/freebsd/sys/contrib/libsodium/test/default/
H A Dchacha20.c24 unsigned char *part; in tv() local
41 part = (unsigned char *) sodium_malloc(plen); in tv()
42 crypto_stream_chacha20_xor(part, out, plen, nonce, key); in tv()
43 if (memcmp(part, zero, plen) != 0) { in tv()
46 sodium_free(part); in tv()
111 unsigned char *part; in tv_ietf() local
129 part = (unsigned char *) sodium_malloc(plen); in tv_ietf()
130 crypto_stream_chacha20_ietf_xor_ic(part, out, plen, nonce, tests[i].ic, key); in tv_ietf()
131 if (memcmp(part, zero, plen) != 0) { in tv_ietf()
134 sodium_free(part); in tv_ietf()
/freebsd/contrib/mandoc/
H A Dtbl.c48 if (tbl->part == TBL_PART_OPTS) { in tbl_read()
49 tbl->part = TBL_PART_LAYOUT; in tbl_read()
77 switch (tbl->part) { in tbl_read()
100 tbl->part = TBL_PART_OPTS; in tbl_alloc()
145 if (tbl->part == TBL_PART_CDATA) in tbl_restart()
148 tbl->part = TBL_PART_LAYOUT; in tbl_restart()
172 else if (tbl->part == TBL_PART_CDATA) in tbl_end()
/freebsd/tools/test/stress2/misc/
H A Dmsdos2.sh43 part=a
44 newfs_msdos /dev/md${mdstart}$part > /dev/null
45 mount -t msdosfs /dev/md${mdstart}$part $mntpoint
52 newfs_msdos /dev/md${u}$part > /dev/null
53 mount -u /dev/md${u}$part $mntpoint > /dev/null 2>&1 # panic

12345678910>>...46