Home
last modified time | relevance | path

Searched refs:pl (Results 1 – 25 of 196) sorted by relevance

12345678

/titanic_41/usr/src/uts/common/io/aggr/
H A Daggr_lacp.c153 aggr_lacp_port_t *pl = &port->lp_lacp; in aggr_port_timer_thread() local
159 CALLB_CPR_INIT(&cprinfo, &pl->lacp_timer_lock, callb_generic_cpr, in aggr_port_timer_thread()
162 mutex_enter(&pl->lacp_timer_lock); in aggr_port_timer_thread()
166 if ((lacp_timer_bits = pl->lacp_timer_bits) == 0) { in aggr_port_timer_thread()
168 cv_wait(&pl->lacp_timer_cv, &pl->lacp_timer_lock); in aggr_port_timer_thread()
169 CALLB_CPR_SAFE_END(&cprinfo, &pl->lacp_timer_lock); in aggr_port_timer_thread()
172 pl->lacp_timer_bits = 0; in aggr_port_timer_thread()
178 pl->periodic_timer.id = 0; in aggr_port_timer_thread()
180 pl->wait_while_timer.id = 0; in aggr_port_timer_thread()
182 pl->current_while_timer.id = 0; in aggr_port_timer_thread()
[all …]
/titanic_41/usr/src/lib/libnsl/rpc/
H A Dsvc_simple.c114 struct proglst *pl; in rpc_reg() local
123 for (pl = proglst; pl; pl = pl->p_nxt) in rpc_reg()
124 if (strcmp(pl->p_netid, nconf->nc_netid) == 0) { in rpc_reg()
125 svcxprt = pl->p_transp; in rpc_reg()
126 xdrbuf = pl->p_xdrbuf; in rpc_reg()
127 recvsz = pl->p_recvsz; in rpc_reg()
128 netid = pl->p_netid; in rpc_reg()
168 for (pl = proglst; pl; pl = pl->p_nxt) in rpc_reg()
169 if ((pl->p_prognum == prognum) && in rpc_reg()
170 (pl->p_versnum == versnum) && in rpc_reg()
[all …]
/titanic_41/usr/src/common/net/dhcp/
H A Dscan.c89 vendor_scan(PKT_LIST *pl) in vendor_scan() argument
93 if (pl->opts[CD_VENDOR_SPEC] == NULL) in vendor_scan()
95 len = pl->opts[CD_VENDOR_SPEC]->len; in vendor_scan()
96 start = pl->opts[CD_VENDOR_SPEC]->value; in vendor_scan()
99 if (((start - (uint8_t *)pl->pkt) + len) > pl->len) in vendor_scan()
103 field_scan(start, end, pl->vs, VS_OPTION_END); in vendor_scan()
111 dhcp_options_scan(PKT_LIST *pl, boolean_t scan_vendor) in dhcp_options_scan() argument
113 PKT *pkt = pl->pkt; in dhcp_options_scan()
114 uint_t opt_size = pl->len - BASE_PKT_SIZE; in dhcp_options_scan()
120 if (pl->len < BASE_PKT_SIZE || in dhcp_options_scan()
[all …]
H A Ddhcpinfo.c53 dhcp_getinfo_pl(PKT_LIST *pl, uchar_t optcat, uint16_t code, uint16_t optsize, in dhcp_getinfo_pl() argument
57 if (pl == NULL) in dhcp_getinfo_pl()
64 if (pl->opts[code] == NULL) in dhcp_getinfo_pl()
67 if (*vallenp < pl->opts[code]->len) { in dhcp_getinfo_pl()
68 *vallenp = pl->opts[code]->len; in dhcp_getinfo_pl()
72 bcopy(pl->opts[code]->value, value, pl->opts[code]->len); in dhcp_getinfo_pl()
73 *vallenp = pl->opts[code]->len; in dhcp_getinfo_pl()
79 if (pl->vs[code] == NULL) in dhcp_getinfo_pl()
82 if (*vallenp < pl->vs[code]->len) { in dhcp_getinfo_pl()
83 *vallenp = pl->vs[code]->len; in dhcp_getinfo_pl()
[all …]
/titanic_41/usr/src/cmd/lp/lib/lp/
H A Ddellist.c50 register char **pl; local
58 for (pl = *plist; *pl; pl++)
59 if (STREQU(*pl, item))
62 if (*pl) {
63 Free (*pl);
64 for (; *pl; pl++)
65 *pl = *(pl+1);
H A Daddlist.c51 register char **pl; local
59 for (pl = *plist; *pl; pl++)
60 if (STREQU(*pl, item))
63 if (!*pl) {
H A Dlenlist.c43 register char ** pl; local
47 for (pl = list; *pl; pl++)
49 return (pl - list);
/titanic_41/usr/src/cmd/lp/cmd/lpsched/
H A Dschedule.c84 LATER * pl; in schedule() local
227 pl = (LATER *)Malloc(sizeof (LATER)); in schedule()
232 pl->next = LaterHead.next; in schedule()
233 LaterHead.next = pl; in schedule()
235 pl->ticks = va_arg(ap, int); in schedule()
236 pl->event = va_arg(ap, int); in schedule()
237 switch (pl->event) { in schedule()
242 pl->arg.printer = va_arg(ap, PSTATUS *); in schedule()
243 if (pl->arg.printer) in schedule()
244 pl->arg.printer->status |= PS_LATER; in schedule()
[all …]
H A Dpickfilter.c84 register char ** pl; in pickfilter() local
257 for (pl = modes; *pl; pl++) { in pickfilter()
259 *pp++ = *pl; in pickfilter()
347 pl = valid_printer_types; in pickfilter()
348 pl && *pl && ret == fl_none; in pickfilter()
349 pl++ in pickfilter()
354 (output_type = *pl), in pickfilter()
355 *pl, in pickfilter()
361 pc->printer_type = Strdup(*pl); in pickfilter()
364 pl = pps->printer->input_types; in pickfilter()
[all …]
/titanic_41/usr/src/cmd/fm/fmdump/common/
H A Dfmdump.c751 srlzer_enter(struct fmdump_pipeline *pl) in srlzer_enter() argument
753 struct fmdump_srlzer *srlzer = pl->pl_srlzer; in srlzer_enter()
759 srlzer_exit(struct fmdump_pipeline *pl) in srlzer_exit() argument
761 struct fmdump_srlzer *srlzer = pl->pl_srlzer; in srlzer_exit()
801 pipeline_stall(struct fmdump_pipeline *pl) in pipeline_stall() argument
803 struct fmdump_srlzer *srlzer = pl->pl_srlzer; in pipeline_stall()
806 (void) pthread_cond_wait(&pl->pl_cv, &srlzer->ds_lock); in pipeline_stall()
810 pipeline_continue(struct fmdump_pipeline *pl) in pipeline_continue() argument
812 struct fmdump_srlzer *srlzer = pl->pl_srlzer; in pipeline_continue()
815 (void) pthread_cond_signal(&srlzer->ds_pipearr[pl->pl_srlzeridx].pl_cv); in pipeline_continue()
[all …]
/titanic_41/usr/src/stand/lib/inet/
H A Ddhcpv4.c217 remove_list(PKT_LIST *pl, int flag) in remove_list() argument
224 } else if (list_hd == pl) { in remove_list()
225 list_hd = pl->next; in remove_list()
227 } else if (list_tl == pl) { in remove_list()
231 pl->prev->next = pl->next; in remove_list()
232 pl->next->prev = pl->prev; in remove_list()
236 bkmem_free((char *)pl->pkt, pl->len); in remove_list()
237 bkmem_free((char *)pl, sizeof (PKT_LIST)); in remove_list()
254 PKT_LIST *pl; in bootp_collect() local
265 if (((pl = (PKT_LIST *)bkmem_zalloc(sizeof (PKT_LIST))) == in bootp_collect()
[all …]
/titanic_41/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelSlottable.c39 crypto_get_provider_list_t *pl; in kernel_get_slot_number() local
42 pl = malloc(sizeof (crypto_get_provider_list_t)); in kernel_get_slot_number()
43 if (pl == NULL) in kernel_get_slot_number()
46 pl->pl_count = 0; in kernel_get_slot_number()
47 while ((r = ioctl(kernel_fd, CRYPTO_GET_PROVIDER_LIST, pl)) < 0) { in kernel_get_slot_number()
54 if (pl->pl_return_value != CRYPTO_SUCCESS) { in kernel_get_slot_number()
55 rv = crypto2pkcs11_error_number(pl->pl_return_value); in kernel_get_slot_number()
62 slot_count = pl->pl_count; in kernel_get_slot_number()
65 (void) free(pl); in kernel_get_slot_number()
173 crypto_get_provider_list_t *pl = NULL; in kernel_slottable_init() local
[all …]
/titanic_41/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_pipesvc.c82 np_new(struct pipe_listener *pl, int fid) in np_new() argument
98 np->np_listener = pl; in np_new()
99 np->np_endpoint = pl->name; in np_new()
126 struct pipe_listener *pl; in smbd_pipesvc_start() local
138 pl = &pipe_listeners[i]; in smbd_pipesvc_start()
139 pl->max_seen = 0; in smbd_pipesvc_start()
141 if (strcasecmp(pl->name, "spoolss") == 0 && in smbd_pipesvc_start()
145 rc = pthread_create(&tid, &tattr, pipesvc_listener, pl); in smbd_pipesvc_start()
180 struct pipe_listener *pl = varg; in pipesvc_listener() local
194 "%s/%s", SMB_PIPE_DIR, pl->name); in pipesvc_listener()
[all …]
/titanic_41/usr/src/cmd/projects/
H A Dprojects.c124 struct projlist *pl; in max_projname() local
128 for (pl = projects; pl; pl = pl->pl_next) in max_projname()
129 if ((len = strlen(pl->pl_name)) > max) in max_projname()
137 struct projlist *pl, *next; in print_projects() local
169 for (pl = projects; pl; ) { in print_projects()
175 pl->pl_name, pl->pl_comm, length); in print_projects()
178 length + strlen(pl->pl_name) >= columns) { in print_projects()
182 (void) printf("%s ", pl->pl_name); in print_projects()
183 length += strlen(pl->pl_name) + 1; in print_projects()
188 next = pl->pl_next; in print_projects()
[all …]
/titanic_41/usr/src/cmd/lp/lib/access/
H A Dbang.c176 register char ** pl; in bang_dellist() local
211 for (pl = *plist; *pl; pl++) in bang_dellist()
212 if (bangequ(item, *pl)) { in bang_dellist()
213 Free (*pl); in bang_dellist()
214 *pl = hole; in bang_dellist()
217 for (n = 0, ql = pl = *plist; *pl; pl++) in bang_dellist()
218 if (*pl != hole) { in bang_dellist()
219 *ql++ = *pl; in bang_dellist()
H A Dchange.c133 **pl; in chgaccess() local
149 for (pl = list; *pl; pl++) { in chgaccess()
155 if (STREQU(*pl, NAME_NONE)) { in chgaccess()
160 STREQU(*pl, NAME_ALL) in chgaccess()
161 || STREQU(*pl, NAME_ANY) in chgaccess()
162 || STREQU(*pl, ALL_BANG_ALL) in chgaccess()
192 if (addlist(padd_list, *pl) == -1) in chgaccess()
194 if (bang_dellist(prem_list, *pl) == -1) in chgaccess()
H A Ddumpaccess.c84 register char **pl; in _dumpaccess() local
94 for (pl = list; *pl; pl++) in _dumpaccess()
95 fdprintf (fd, "%s\n", *pl); in _dumpaccess()
/titanic_41/usr/src/cmd/isns/isnsd/
H A Dpdu.c201 size_t pl in isns_send_pdu() argument
238 pdu->payload_len = htons(pl); in isns_send_pdu()
246 if (pl > ISNSP_MAX_PAYLOAD_SIZE) { in isns_send_pdu()
249 send_len = pl; in isns_send_pdu()
269 pl -= send_len; in isns_send_pdu()
276 } while (bytes_sent == send_len && pl > 0); in isns_send_pdu()
310 size_t *pl, in pdu_reset_rsp() argument
318 *pl = 4; in pdu_reset_rsp()
327 size_t *pl, in pdu_reset_scn() argument
334 *pl = 0; in pdu_reset_scn()
[all …]
/titanic_41/usr/src/uts/i86xpv/cpu/scripts/
H A DMakefile36 def all install setup: ao_gendisp.pl $(PERLFILES)
39 AO_GENDISP_PL=../../../i86pc/cpu/scripts/ao_gendisp.pl
40 ao_gendisp.pl: $(AO_GENDISP_PL)
44 $(RM) ao_gendisp.pl $(PERLFILES)
/titanic_41/usr/src/uts/common/fs/swapfs/
H A Dswap_vnops.c112 page_t *pl[], in swap_getpage() argument
128 pl, plsz, seg, addr, rw, cr)); in swap_getpage()
141 page_t *pl[], in swap_getapage() argument
204 if (pl) { in swap_getapage()
208 pl[0] = pp; in swap_getapage()
209 pl[1] = NULL; in swap_getapage()
230 flags = (pl == NULL ? B_ASYNC|B_READ : B_READ); in swap_getapage()
269 if (pl == NULL) { in swap_getapage()
285 if (err && pl) in swap_getapage()
288 if (!err && pl) in swap_getapage()
[all …]
/titanic_41/usr/src/cmd/checknr/
H A Dchecknr.c42 int pl; /* '+', '-', ' ' for \s, 1 for \f, 0 for .ft */ member
282 int pl; in process() local
324 pl = line[++i]; in process()
325 if (isdigit(pl)) { in process()
326 n = pl - '0'; in process()
327 pl = ' '; in process()
344 stk[stktop].pl = pl; in process()
361 stk[stktop].pl = 1; in process()
389 if (stk[i].pl == 0) in prop()
393 (void) printf("\\s%c%d", stk[i].pl, stk[i].parm); in prop()
[all …]
/titanic_41/usr/src/uts/common/io/1394/targets/av1394/
H A Dav1394_cmp.c279 iec61883_plug_reg_lock_t pl; in av1394_ioctl_plug_reg_cas() local
283 if (ddi_copyin(arg, &pl, sizeof (pl), mode) != 0) { in av1394_ioctl_plug_reg_cas()
286 ph = pl.pl_handle; in av1394_ioctl_plug_reg_cas()
290 &pl.pl_old, pl.pl_data, pl.pl_arg); in av1394_ioctl_plug_reg_cas()
295 pl.pl_arg, pl.pl_data, &pl.pl_old); in av1394_ioctl_plug_reg_cas()
299 pl.pl_arg, pl.pl_data, &pl.pl_old); in av1394_ioctl_plug_reg_cas()
305 pl.pl_old = pcr->pcr_val; in av1394_ioctl_plug_reg_cas()
306 if (pcr->pcr_val == pl.pl_arg) { in av1394_ioctl_plug_reg_cas()
307 pcr->pcr_val = pl.pl_data; in av1394_ioctl_plug_reg_cas()
317 if (ddi_copyout(&pl, arg, sizeof (pl), mode) != 0) { in av1394_ioctl_plug_reg_cas()
/titanic_41/usr/src/cmd/tnf/prex/
H A Dprbk.c187 prbk_pidlist_add(void *pl, int new) in prbk_pidlist_add() argument
196 return (pl); in prbk_pidlist_add()
198 npl->next = pl; in prbk_pidlist_add()
209 prbk_pfilter_add(void *pl) in prbk_pfilter_add() argument
211 pidlist_t *ppl = (pidlist_t *) pl; in prbk_pfilter_add()
236 prbk_pfilter_drop(void *pl) in prbk_pfilter_drop() argument
238 pidlist_t *ppl = (pidlist_t *) pl; in prbk_pfilter_drop()
/titanic_41/usr/src/uts/sun4/os/
H A Dmemlist.c551 struct bootmem_props *il, *pl, *vl; in copy_boot_memlists() local
562 pl = &bootmem_props[PHYSAVAIL]; in copy_boot_memlists()
568 if (plen > pl->maxsize) { in copy_boot_memlists()
570 move = plen - pl->maxsize; in copy_boot_memlists()
571 pl->maxsize = plen; in copy_boot_memlists()
579 pl->maxsize -= move; in copy_boot_memlists()
582 pl->nelems = plen / sizeof (struct prom_memlist); in copy_boot_memlists()
586 (void) prom_phys_avail((caddr_t)pl->ptr); in copy_boot_memlists()
590 sort_promlist(pl); in copy_boot_memlists()
597 *physavail = pl->ptr; in copy_boot_memlists()
[all …]
/titanic_41/usr/src/lib/crypt_modules/bsdmd5/
H A Dbsdmd5.c77 int sl, l, pl, i; in crypt_genhash_impl() local
114 for (pl = strlen(plaintext); pl > 0; pl -= 16) in crypt_genhash_impl()
115 MD5Update(&ctx, final, pl > 16 ? 16 : pl); in crypt_genhash_impl()

12345678