Searched refs:dp (Results 76 - 100 of 789) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/chgrp/
H A Dchgrp.c371 struct dirent *dp; local
398 for (dp = readdir(dirp); dp != NULL; dp = readdir(dirp)) {
399 if ((strcmp(dp->d_name, ".") == 0) ||
400 (strcmp(dp->d_name, "..") == 0)) {
403 if (lstat(dp->d_name, &st) < 0) {
404 status += Perror(dp->d_name);
416 LCHOWN(dp->d_name, -1, gid);
418 if (stat(dp
[all...]
/illumos-gate/usr/src/uts/intel/io/vmxnet3s/
H A Dvmxnet3_tx.c40 vmxnet3_txqueue_init(vmxnet3_softc_t *dp, vmxnet3_txqueue_t *txq) argument
49 vmxnet3_txqueue_fini(vmxnet3_softc_t *dp, vmxnet3_txqueue_t *txq) argument
53 ASSERT(!dp->devEnabled);
72 vmxnet3_tx_prepare_offload(vmxnet3_softc_t *dp, vmxnet3_offload_t *ol, argument
96 VMXNET3_DEBUG(dp, 4, "flags=0x%x, ethLen=%u, start=%u, "
157 vmxnet3_tx_one(vmxnet3_softc_t *dp, vmxnet3_txqueue_t *txq, argument
169 mutex_enter(&dp->txLock);
186 if (ddi_dma_addr_bind_handle(dp->txDmaHandle, NULL,
190 VMXNET3_WARN(dp, "ddi_dma_addr_bind_handle() failed\n");
211 VMXNET3_DEBUG(dp,
324 vmxnet3_softc_t *dp = data; local
427 vmxnet3_tx_complete(vmxnet3_softc_t *dp, vmxnet3_txqueue_t *txq) argument
[all...]
/illumos-gate/usr/src/lib/libpp/common/
H A Dppsearch.c107 * search for file using directories in dp
111 search(register struct ppfile* fp, register struct ppdirs* dp, int type, int flags) argument
147 dp ? (dp->index == INC_PREFIX ? "pre" : dp->index == INC_LOCAL ? "lcl" : dp->index == INC_VENDOR ? "vnd" : "std") : NiL,
148 dp ? dp->name : NiL,
161 for (index = -1; dp; dp
599 register struct ppdirs* dp; local
[all...]
/illumos-gate/usr/src/uts/common/disp/
H A Ddisp.c68 disp_t *dp; member in struct:disp_queue_info
76 disp_t *dp);
359 disp_dq_alloc(struct disp_queue_info *dptr, int numpris, disp_t *dp) argument
364 dptr->dp = dp;
370 disp_t *dp; local
372 dp = dptr->dp;
373 dptr->olddispq = dp->disp_q;
374 dptr->olddqactmap = dp
414 disp_t *dp; local
623 disp_t *dp = cp->cpu_disp; local
706 disp_t *dp; local
1003 search_disp_queues(disp_t *dp, kthread_t *tp) argument
1184 disp_t *dp; local
1373 disp_t *dp; local
1529 disp_t *dp; local
1608 disp_t *dp; local
2082 disp_fix_unbound_pri(disp_t *dp, pri_t pri) argument
2150 disp_t *dp; local
2183 disp_getbest(disp_t *dp) argument
2506 disp_t *dp = cp->cpu_disp; local
[all...]
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevpolicy.c155 devplcysys_t *dp, *dflt = NULL; local
193 dp = (devplcysys_t *)(mem + devplcysys_sz * cnt);
200 (void) memset(dp, 0, devplcysys_sz);
201 dp->dps_maj = DEVPOLICY_DFLT_MAJ;
202 dflt = dp;
209 (void) memcpy(dp, dflt, devplcysys_sz);
225 &dp->dps_maj) != 0)
232 if (parse_minor_range(min, &dp->dps_lomin,
233 &dp->dps_himin, &type) == -1) {
237 dp
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.chargend/
H A Din.chargend.c71 char *dp; local
80 dp = text;
82 (void) memmove(dp, rp, i);
83 dp += i;
88 (void) memmove(dp, rp, i);
89 dp += i;
94 *dp++ = '\r';
95 *dp++ = '\n';
97 if (safe_write(s, text, dp - text) != 0)
/illumos-gate/usr/src/ucbhead/sys/
H A Ddir.h96 * The macro DIRSIZ(dp) gives an amount of space required to represent
103 #define DIRSIZ(dp) \
104 ((sizeof (struct direct) - sizeof ((dp)->d_name) + \
105 (strlen((dp)->d_name)+1) + 3) & ~3)
107 #define DIRSIZ(dp) \
108 ((sizeof (struct direct64) - sizeof ((dp)->d_name) + \
109 (strlen((dp)->d_name)+1) + 3) & ~3)
112 #define DIRSIZ64(dp) \
113 ((sizeof (struct direct64) - sizeof ((dp)->d_name) + \
114 (strlen((dp)
[all...]
/illumos-gate/usr/src/cmd/mandoc/
H A Dtbl_html.c92 const struct tbl_dat *dp; local
116 dp = sp->first;
121 if (dp == NULL || dp->layout->col > ic)
123 if (dp->layout->pos != TBL_CELL_DOWN)
124 if (dp->string != NULL)
125 print_text(h, dp->string);
126 dp = dp->next;
H A Dout.c111 const struct tbl_dat *dp; local
136 for (dp = sp->first; dp; dp = dp->next) {
140 spans = dp->spans;
143 icol = dp->layout->col;
147 col->flags |= dp->layout->flags;
148 if (dp->layout->flags & TBL_CELL_WIGN)
150 tblcalc_data(tbl, col, opts, dp);
234 tblcalc_data(struct rofftbl *tbl, struct roffcol *col, const struct tbl_opts *opts, const struct tbl_dat *dp) argument
265 tblcalc_literal(struct rofftbl *tbl, struct roffcol *col, const struct tbl_dat *dp) argument
279 tblcalc_number(struct rofftbl *tbl, struct roffcol *col, const struct tbl_opts *opts, const struct tbl_dat *dp) argument
[all...]
H A Dtbl_term.c64 const struct tbl_dat *dp; local
132 dp = sp->first;
148 tbl_data(tp, sp->opts, dp, tp->tbl.cols + ic);
149 if (dp != NULL) {
150 spans = dp->spans;
151 dp = dp->next;
255 const struct tbl_dat *dp,
259 if (dp == NULL) {
264 switch (dp
254 tbl_data(struct termp *tp, const struct tbl_opts *opts, const struct tbl_dat *dp, const struct roffcol *col) argument
320 tbl_literal(struct termp *tp, const struct tbl_dat *dp, const struct roffcol *col) argument
362 tbl_number(struct termp *tp, const struct tbl_opts *opts, const struct tbl_dat *dp, const struct roffcol *col) argument
407 tbl_word(struct termp *tp, const struct tbl_dat *dp) argument
[all...]
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_create.c60 struct dirent *dp; local
76 while ((dp = readdir(dir)) != NULL) {
77 if (dp->d_name[0] == '.')
79 if ((q = strrchr(dp->d_name, '.')) == NULL ||
83 (void) mdb_snprintf(p, sizeof (buf) - len, "/%s", dp->d_name);
/illumos-gate/usr/src/lib/sun_fc/common/
H A DHBANPIVPort.cc73 DIR *dp; local
81 if ((dp = opendir(dir)) == NULL) {
91 while ((readdir_r(dp, dirp, dirpp)) == 0 && dirp != NULL) {
103 closedir(dp);
110 closedir(dp);
/illumos-gate/usr/src/boot/include/ufs/ufs/
H A Ddir.h62 * The macro DIRSIZ(fmt, dp) gives the amount of space required to represent
64 * entries which have dp->d_reclen > DIRSIZ(fmt, dp). All DIRBLKSIZ bytes
67 * dp->d_reclen. When entries are deleted from a directory, the
69 * block by increasing its dp->d_reclen. If the first entry of
70 * a directory block is free, then its dp->d_ino is set to 0.
72 * dp->d_ino set to 0.
107 * null byte (dp->d_namlen+1), rounded up to a 4 byte boundary.
115 #define DIRSIZ(oldfmt, dp) \
116 ((oldfmt) ? DIRECTSIZ((dp)
[all...]
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dcache.c65 static void clr_ctrl_disk_ptr(controller_t *cp, disk_t *dp);
66 static void clr_path_disk_ptr(path_t *pp, disk_t *dp);
67 static void del_drive(disk_t *dp);
156 slice_t *dp; local
163 dp = aliasp->devpaths;
164 while (dp != NULL) {
167 nextp = dp->next;
168 free(dp->devpath);
169 free(dp);
170 dp
255 cache_free_disk(disk_t *dp) argument
329 descriptor_t *dp; local
503 clr_ctrl_disk_ptr(controller_t *cp, disk_t *dp) argument
521 clr_path_disk_ptr(path_t *pp, disk_t *dp) argument
538 del_drive(disk_t *dp) argument
[all...]
H A Dalias.c57 alias_get_attributes(descriptor_t *dp, int *errp) argument
65 for (ap = dp->p.disk->aliases; ap != NULL; ap = ap->next) {
66 if (libdiskmgt_str_eq(dp->name, ap->alias)) {
102 if ((*errp = get_status(dp->p.disk, fd, attrs)) != 0) {
164 alias_get_stats(descriptor_t *dp, int stat_type, int *errp) argument
175 disk_t *dp; local
177 dp = cache_get_disklist();
178 while (dp != NULL) {
181 ap = dp->aliases;
184 cache_load_desc(DM_ALIAS, dp, a
[all...]
H A Dslice.c70 static int desc_ok(descriptor_t *dp);
72 static int get_attrs(descriptor_t *dp, int fd, nvlist_t *attrs);
75 static int match_fixed_name(disk_t *dp, char *name, int *errp);
76 static int make_fixed_descriptors(disk_t *dp);
117 slice_get_attributes(descriptor_t *dp, int *errp) argument
123 if (!desc_ok(dp)) {
133 /* dp->name is /dev/dsk, need to convert back to /dev/rdsk */
134 dsk2rdsk(dp->name, devpath, sizeof (devpath));
137 if ((*errp = get_attrs(dp, fd, attrs)) != 0) {
156 disk_t *dp; local
194 slice_get_stats(descriptor_t *dp, int stat_type, int *errp) argument
272 disk_t *dp; local
336 desc_ok(descriptor_t *dp) argument
396 get_attrs(descriptor_t *dp, int fd, nvlist_t *attrs) argument
734 make_fixed_descriptors(disk_t *dp) argument
815 slice_t *dp = NULL; local
[all...]
/illumos-gate/usr/src/uts/intel/ia32/os/
H A Ddesctbls.c186 set_usegd(user_desc_t *dp, uint_t lmode, void *base, size_t size, argument
195 dp->usd_def32 = 0; /* 32-bit operands only */
200 dp->usd_def32 = defopsz; /* 0 = 16, 1 = 32-bit ops */
202 dp->usd_long = lmode; /* 64-bit mode */
203 dp->usd_type = type;
204 dp->usd_dpl = dpl;
205 dp->usd_p = 1;
206 dp->usd_gran = gran; /* 0 = bytes, 1 = pages */
208 dp->usd_lobase = (uintptr_t)base;
209 dp
221 set_usegd(user_desc_t *dp, void *base, size_t size, uint_t type, uint_t dpl, uint_t gran, uint_t defopsz) argument
247 set_syssegd(system_desc_t *dp, void *base, size_t size, uint_t type, uint_t dpl) argument
267 get_ssd_base(system_desc_t *dp) argument
281 set_syssegd(system_desc_t *dp, void *base, size_t size, uint_t type, uint_t dpl) argument
299 get_ssd_base(system_desc_t *dp) argument
319 set_gatesegd(gate_desc_t *dp, void (*func)(void), selector_t sel, uint_t type, uint_t dpl, uint_t vector) argument
349 set_gatesegd(gate_desc_t *dp, void (*func)(void), selector_t sel, uint_t type, uint_t dpl, uint_t unused) argument
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/pcibus/
H A Dpci_i86pc.c60 parent_is_rc(topo_mod_t *mod, did_t *dp) argument
62 return (strcmp(topo_node_name(did_gettnode(dp)), PCIEX_ROOT) == 0);
71 ba_is_2(topo_mod_t *mod, did_t *dp) argument
77 ptp = did_gettnode(dp);
100 ba_is_4(topo_mod_t *mod, did_t *dp) argument
106 ptp = did_gettnode(dp);
/illumos-gate/usr/src/uts/common/fs/
H A Dgfs.c164 gfs_dir_t *dp = dvp->v_data; local
167 *ino = dp->gfsd_file.gfs_ino;
168 parent = dp->gfsd_file.gfs_parent;
261 dirent64_t *dp; local
268 dp = st->grd_dirent;
269 reclen = DIRENT64_RECLEN(strlen(dp->d_name));
285 dp->d_off = next;
286 dp->d_reclen = (ushort_t)reclen;
322 dirent64_t *dp = st->grd_dirent; local
324 dp
520 gfs_dir_t *dp; local
609 gfs_dir_t *dp = NULL; local
695 gfs_dir_t *dp; local
744 gfs_dir_lookup_dynamic(gfs_lookup_cb callback, gfs_dir_t *dp, const char *nm, vnode_t *dvp, vnode_t **vpp, cred_t *cr, int flags, int *direntflags, pathname_t *realpnp) argument
797 gfs_dir_lookup_static(int (*compare)(const char *, const char *), gfs_dir_t *dp, const char *nm, vnode_t *dvp, int *idx, vnode_t **vpp, pathname_t *rpnp) argument
892 gfs_dir_t *dp = dvp->v_data; local
1008 gfs_dir_t *dp = dvp->v_data; local
[all...]
/illumos-gate/usr/src/lib/libbc/inc/include/sys/
H A Ddir.h53 * The macro DIRSIZ(dp) gives the minimum amount of space required to represent
54 * a directory entry. For any directory entry dp->d_reclen >= DIRSIZ(dp).
59 #define DIRSIZ(dp) \
60 (((sizeof (struct direct) - (MAXNAMLEN+1) + ((dp)->d_namlen+1)) + 3) & ~3)
/illumos-gate/usr/src/cmd/mdb/common/modules/dtrace/
H A Ddof.c40 dis_log(const dtrace_difo_t *dp, const char *name, dif_instr_t instr) argument
48 dis_branch(const dtrace_difo_t *dp, const char *name, dif_instr_t instr) argument
55 dis_load(const dtrace_difo_t *dp, const char *name, dif_instr_t instr) argument
63 dis_store(const dtrace_difo_t *dp, const char *name, dif_instr_t instr) argument
71 dis_str(const dtrace_difo_t *dp, const char *name, dif_instr_t instr) argument
78 dis_r1rd(const dtrace_difo_t *dp, const char *name, dif_instr_t instr) argument
86 dis_cmp(const dtrace_difo_t *dp, const char *name, dif_instr_t instr) argument
94 dis_tst(const dtrace_difo_t *dp, const char *name, dif_instr_t instr) argument
100 dis_varname(const dtrace_difo_t *dp, uint_t id, uint_t scope) argument
107 if (dp
153 dis_lda(const dtrace_difo_t *dp, const char *name, dif_instr_t instr) argument
166 dis_ldv(const dtrace_difo_t *dp, const char *name, dif_instr_t instr) argument
178 dis_stv(const dtrace_difo_t *dp, const char *name, dif_instr_t instr) argument
190 dis_setx(const dtrace_difo_t *dp, const char *name, dif_instr_t instr) argument
210 dis_sets(const dtrace_difo_t *dp, const char *name, dif_instr_t instr) argument
230 dis_ret(const dtrace_difo_t *dp, const char *name, dif_instr_t instr) argument
237 dis_call(const dtrace_difo_t *dp, const char *name, dif_instr_t instr) argument
247 dis_pushts(const dtrace_difo_t *dp, const char *name, dif_instr_t instr) argument
261 dis_xlate(const dtrace_difo_t *dp, const char *name, dif_instr_t instr) argument
296 dis(uintptr_t addr, dtrace_difo_t *dp) argument
411 dtrace_difo_t difo, *dp = &difo; local
1069 const mdb_dcmd_t *dp; local
1104 const mdb_dcmd_t *dp; local
[all...]
/illumos-gate/usr/src/cmd/chown/
H A Dchown.c379 struct dirent *dp; local
404 for (dp = readdir(dirp); dp != NULL; dp = readdir(dirp)) {
405 if (strcmp(dp->d_name, ".") == 0 || /* skip . and .. */
406 strcmp(dp->d_name, "..") == 0) {
409 if (lstat(dp->d_name, &st) < 0) {
410 status += Perror(dp->d_name);
422 LCHOWN(dp->d_name, uid, gid);
424 if (stat(dp
[all...]
/illumos-gate/usr/src/lib/libast/common/disc/
H A Dsfdcmore.c59 static ssize_t moreread(Sfio_t* f, void* buf, size_t n, Sfdisc_t* dp) argument
61 static ssize_t moreread(f, buf, n, dp)
65 Sfdisc_t* dp;
68 register More_t* more = (More_t*)dp;
73 return sfrd(f, buf, n, dp);
82 static int ttyquery(Sfio_t* rp, Sfio_t* wp, const char* label, Sfdisc_t* dp) argument
84 static int ttyquery(rp, wp, label, dp)
88 Sfdisc_t* dp;
136 sfwr(wp, label, n, dp);
147 static ssize_t morewrite(Sfio_t* f, const Void_t* buf, register size_t n, Sfdisc_t* dp) argument
260 moreexcept(Sfio_t* f, int type, Void_t* data, Sfdisc_t* dp) argument
[all...]
/illumos-gate/usr/src/uts/common/io/usbgem/
H A Dusbgem.h84 #define SLOT(dp, n) ((n) % (dp)->ugc.usbgc_tx_list_max)
311 int (*usbgc_attach_chip)(struct usbgem_dev *dp);
312 int (*usbgc_reset_chip)(struct usbgem_dev *dp);
313 int (*usbgc_init_chip)(struct usbgem_dev *dp);
314 int (*usbgc_start_chip)(struct usbgem_dev *dp);
315 int (*usbgc_stop_chip)(struct usbgem_dev *dp);
316 uint32_t (*usbgc_multicast_hash)(struct usbgem_dev *dp,
318 int (*usbgc_set_rx_filter)(struct usbgem_dev *dp);
319 int (*usbgc_set_media)(struct usbgem_dev *dp);
[all...]
/illumos-gate/usr/src/cmd/backup/restore/
H A Ddirs.c229 struct direct *dp; local
254 dp = rst_readdir(dirp); /* "." */
256 if (dp != NULL && strcmp(dp->d_name, ".") == 0)
257 dp = rst_readdir(dirp); /* ".." */
262 if (dp != NULL && strcmp(dp->d_name, "..") == 0)
263 dp = rst_readdir(dirp); /* first real entry */
272 while (dp != NULL && dp
307 struct direct *dp; local
386 struct direct *dp; local
412 struct direct *dp; local
454 putent(struct direct *dp) argument
520 RST_DIR *dp; local
609 struct direct *dp; local
793 int ofile, dp; local
[all...]

Completed in 102 milliseconds

1234567891011>>