Home
last modified time | relevance | path

Searched refs:si (Results 1 – 25 of 135) sorted by relevance

123456

/illumos-gate/usr/src/cmd/ndmpadm/
H A Dndmpadm_print.c120 si->nsi_pver); in ndmp_connect_print_conn()
122 B2S(si->nsi_auth)); in ndmp_connect_print_conn()
399 ndmp_print_env(si); in ndmp_connect_print_data_v2()
527 si->nsi_mover.nm_mov_pos, si->nsi_mover.nm_mov_pos); in ndmp_connect_print_mover_v3()
530 si->nsi_mover.nm_window_length, si->nsi_mover.nm_window_length); in ndmp_connect_print_mover_v3()
548 si->nsi_mover.nm_addr_type, si->nsi_mover.nm_tcp_addr); in ndmp_connect_print_mover_v3()
556 si->nsi_mover.nm_addr_type, si->nsi_mover.nm_tcp_addr); in ndmp_connect_print_mover_v3()
652 si->nsi_data.nd_addr_type, si->nsi_data.nd_tcp_addr); in ndmp_connect_print_data_v3()
660 si->nsi_data.nd_addr_type, si->nsi_data.nd_tcp_addr); in ndmp_connect_print_data_v3()
676 ndmp_print_env(si); in ndmp_connect_print_data_v3()
[all …]
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsmb_autohome.c118 smb_share_t si; in smb_autohome_remove() local
276 si->magic1 = si; in smb_autohome_setent()
277 si->magic2 = si; in smb_autohome_setent()
293 si->fp = 0; in smb_autohome_endent()
330 if (fgets(si->buf, SMB_AUTOHOME_BUFSIZ, si->fp) == 0) in smb_autohome_getent()
357 bp = si->buf; in smb_autohome_make_entry()
372 if ((si->autohome.ah_name = si->argv[0]) == NULL) { in smb_autohome_make_entry()
380 if ((si->autohome.ah_path = si->argv[1]) == NULL) in smb_autohome_make_entry()
383 if ((si->autohome.ah_container = si->argv[2]) == NULL) in smb_autohome_make_entry()
444 if ((si->magic1 == si) && (si->magic2 == si) && (si->fp != NULL)) in smb_autohome_getinfo()
[all …]
H A Dsmb_share.c470 smb_shr_publish(si->shr_name, si->shr_container); in smb_shr_add()
524 smb_share_t *si; in smb_shr_remove() local
721 smb_share_t *si; in smb_shr_modify() local
1119 smb_share_t *si; in smb_shr_list() local
1152 smb_share_t si; in smb_shr_exec() local
1626 smb_share_t *si; in smb_shr_unload() local
1704 smb_share_t si; in smb_shr_sa_load() local
1779 (void) strlcpy(si->shr_path, path, sizeof (si->shr_path)); in smb_shr_sa_get()
1780 (void) strlcpy(si->shr_name, rname, sizeof (si->shr_name)); in smb_shr_sa_get()
1789 (void) strlcpy(si->shr_cmnt, val, sizeof (si->shr_cmnt)); in smb_shr_sa_get()
[all …]
H A Dsrvsvc_svc.c874 smb_share_t si; in srvsvc_s_NetShareGetInfo() local
1082 smb_share_t si; in srvsvc_s_NetShareSetInfo() local
1970 smb_share_t si; in srvsvc_s_NetShareAdd() local
2279 smb_share_t *si; in mlsvc_NetShareEnumLevel0() local
2339 smb_share_t *si; in mlsvc_NetShareEnumLevel1() local
2399 smb_share_t *si; in mlsvc_NetShareEnumLevel2() local
2459 smb_share_t *si; in mlsvc_NetShareEnumLevel501() local
2520 smb_share_t *si; in mlsvc_NetShareEnumLevel502() local
2683 smb_share_t si; in srvsvc_add_autohome() local
2760 smb_share_t *si; in srvsvc_s_NetShareCheck() local
[all …]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb2_setinfo_file.c45 si->si_node = of->f_node; in smb2_setinfo_file()
64 status = smb_set_basic_info(sr, si); in smb2_setinfo_file()
67 status = smb2_setf_rename(sr, si); in smb2_setinfo_file()
70 status = smb2_setf_link(sr, si); in smb2_setinfo_file()
76 status = smb2_setf_seek(sr, si); in smb2_setinfo_file()
79 status = smb2_setf_full_ea(sr, si); in smb2_setinfo_file()
82 status = smb2_setf_mode(sr, si); in smb2_setinfo_file()
88 status = smb_set_eof_info(sr, si); in smb2_setinfo_file()
91 status = smb2_setf_pipe(sr, si); in smb2_setinfo_file()
236 _NOTE(ARGUNUSED(si)) in smb2_setf_pipe()
[all …]
H A Dsmb_cmn_setfile.c53 smb_set_basic_info(smb_request_t *sr, smb_setinfo_t *si) in smb_set_basic_info() argument
55 smb_attr_t *attr = &si->si_attr; in smb_set_basic_info()
56 smb_node_t *node = si->si_node; in smb_set_basic_info()
61 if (smb_mbc_decodef(&si->si_data, "qqqql", in smb_set_basic_info()
106 smb_set_eof_info(smb_request_t *sr, smb_setinfo_t *si) in smb_set_eof_info() argument
108 smb_attr_t *attr = &si->si_attr; in smb_set_eof_info()
109 smb_node_t *node = si->si_node; in smb_set_eof_info()
114 if (smb_mbc_decodef(&si->si_data, "q", &eof) != 0) in smb_set_eof_info()
150 smb_attr_t *attr = &si->si_attr; in smb_set_alloc_info()
151 smb_node_t *node = si->si_node; in smb_set_alloc_info()
[all …]
H A Dsmb_tree.c233 smb_kshare_t *si; in smb_tree_connect_core() local
245 if (si == NULL) { in smb_tree_connect_core()
258 sr->sr_tcon.si = si; in smb_tree_connect_core()
296 sr->sr_tcon.si = NULL; in smb_tree_connect_core()
668 smb_kshare_t *si = tcon->si; in smb_tree_connect_disk() local
689 snode = si->shr_root_node; in smb_tree_connect_disk()
708 if (cv_timedwait(&si->shr_cv, &si->shr_mutex, time) < 0) { in smb_tree_connect_disk()
713 mutex_exit(&si->shr_mutex); in smb_tree_connect_disk()
797 smb_kshare_t *si = tcon->si; in smb_tree_connect_printq() local
870 smb_kshare_t *si = tcon->si; in smb_tree_connect_ipc() local
[all …]
H A Dsmb2_setinfo_fs.c41 smb2_setinfo_fs(smb_request_t *sr, smb_setinfo_t *si, int InfoClass) in smb2_setinfo_fs() argument
50 status = smb2_setfs_control(sr, si); in smb2_setinfo_fs()
53 status = smb2_setfs_obj_id(sr, si); in smb2_setinfo_fs()
68 smb2_setfs_control(smb_request_t *sr, smb_setinfo_t *si) in smb2_setfs_control() argument
70 _NOTE(ARGUNUSED(si)) in smb2_setfs_control()
84 smb2_setfs_obj_id(smb_request_t *sr, smb_setinfo_t *si) in smb2_setfs_obj_id() argument
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dstart.S69 pushw %si
71 popw %si
90 cmpb $0, -1(%si)
125 movw %ax, 2(%si)
128 movl %ebx, 8(%si)
140 movw %ax, 4(%si)
171 divl (%si)
186 cmpw 8(%si), %ax
284 xorw %si, %si /* zero offset of source addresses */
370 incw %si
[all …]
H A Dstart_eltorito.S49 #define MSG(x) mov $ABS(x), %si; call message;
115 mov $ABS(firstlist - BOOTSEC_LISTSIZE), %si
116 mov (%si), %ebp
137 mov $ABS(dapa), %si /* Load up the DAPA */
138 mov %bx, 4(%si)
140 mov %bx, 6(%si)
141 mov %eax, 8(%si)
144 push %si
149 mov %bp, 2(%si)
153 pop %si
[all …]
/illumos-gate/usr/src/grub/grub-0.97/stage1/
H A Dstage1.S192 movb $1, -1(%si)
200 movw $1, 2(%si)
209 movw %ax, 4(%si)
253 movb $0, -1(%si)
269 movw %ax, 8(%si)
276 movl %eax, (%si)
286 divl (%si)
301 cmpw 8(%si), %ax
361 xorw %si, %si
464 incw %si
[all …]
/illumos-gate/usr/src/cmd/genmsg/
H A Dutil.c109 SetID si; in add_msg() local
171 while (si) { in write_msgfile()
249 si = si->next; in write_msgfile()
259 while (si) { in lookup_setid()
263 si = si->next; in lookup_setid()
354 while (si) { in add_setid()
358 prev = si; in add_setid()
359 si = si->next; in add_setid()
472 SetID si; in write_projfile() local
476 (si = lookup_setid(i)) && si->comment) { in write_projfile()
[all …]
/illumos-gate/usr/src/cmd/smbsrv/fksmbd/
H A Dfksmbd_shr.c43 smb_share_t si; in new_share() local
45 bzero(&si, sizeof (si)); in new_share()
46 (void) strlcpy(si.shr_name, name, MAXNAMELEN); in new_share()
47 (void) strlcpy(si.shr_path, path, MAXPATHLEN); in new_share()
48 (void) strlcpy(si.shr_cmnt, comment, SMB_SHARE_CMNT_MAX); in new_share()
49 si.shr_flags = flags; in new_share()
50 if (smb_shr_add(&si) != 0) { in new_share()
52 si.shr_name); in new_share()
/illumos-gate/usr/src/tools/smatch/src/validation/optim/
H A Dmuldiv-by-one.c2 typedef int si; typedef
4 si smul1(si a) { return a * 1; } in smul1()
6 si sdiv1(si a) { return a / 1; } in sdiv1()
8 si smod1(si a) { return a % 1; } in smod1()
/illumos-gate/usr/src/boot/i386/gptzfsboot/
H A Dgptldr.S79 mov 0xa(%bx),%si # Get BTX length and set
80 add %bx,%si # %si to start of boot2
81 dec %si # Set %ds:%si to point at the
82 mov %si,%ax # last byte we want to copy
83 shr $4,%ax # from boot2, with %si made as
85 and $0xf,%si #
92 add $COPY_BLK_SZ,%si # Adjust %ds:%si to point at
109 mov %bx,%si # %si to end of BTX
111 add %cx,%si # MEM_BTX
113 dec %si
/illumos-gate/usr/src/lib/libshare/smb/
H A Dlibshare_smb.c391 smb_share_t si; in smb_enable_share() local
454 &si, ZFS_SHARE_SMB); in smb_enable_share()
481 smb_share_t si; in smb_enable_resource() local
514 err = smb_share_create(&si); in smb_enable_resource()
605 smb_share_t si; in smb_resource_changed() local
616 res = smb_share_modify(&si); in smb_resource_changed()
1606 if (si == NULL) in smb_add_transient()
1639 si->shr_container); in smb_add_transient()
2137 (void) strlcpy(si->shr_path, path, sizeof (si->shr_path)); in smb_build_shareinfo()
2138 (void) strlcpy(si->shr_name, rname, sizeof (si->shr_name)); in smb_build_shareinfo()
[all …]
/illumos-gate/usr/src/cmd/localedef/
H A Dcharmap.c262 int si; in add_charmap_range() local
271 if (((si = strcspn(s, digits)) == 0) || (si == ls) || in add_charmap_range()
272 (strncmp(s, e, si) != 0) || in add_charmap_range()
273 (strspn(s + si, digits) != (ls - si)) || in add_charmap_range()
274 (strspn(e + si, digits) != (le - si)) || in add_charmap_range()
275 ((sn = atoi(s + si)) > ((en = atoi(e + si))))) { in add_charmap_range()
280 s[si] = 0; in add_charmap_range()
284 (void) asprintf(&nn, "%s%0*u", s, ls - si, i); in add_charmap_range()
/illumos-gate/usr/src/lib/crypt_modules/bsdbf/
H A Darc4random.c75 uint8_t si; local
80 si = as->s[as->i];
81 as->j = (as->j + si + dat[n % datlen]);
83 as->s[as->j] = si;
114 uint8_t si, sj; local
117 si = as->s[as->i];
118 as->j = (as->j + si);
121 as->s[as->j] = si;
122 return (as->s[(si + sj) & 0xff]);
/illumos-gate/usr/src/cmd/mdb/common/modules/libc/
H A Dlibc.c213 if (mdb_vread(&si, sizeof (si), addr) != sizeof (si)) { in d_siginfo()
260 si.si_errno, strerror(si.si_errno)); in d_siginfo()
264 si.si_pid, si.si_uid); in d_siginfo()
269 si.si_value.sival_int, si.si_value.sival_ptr); in d_siginfo()
275 si.si_pid, si.si_uid); in d_siginfo()
277 si.si_utime, si.si_stime); in d_siginfo()
287 si.si_addr, si.si_trapno); in d_siginfo()
289 si.si_pc, si.si_pc); in d_siginfo()
295 si.si_fd, si.si_band); in d_siginfo()
300 si.si_faddr, si.si_fault); in d_siginfo()
[all …]
/illumos-gate/usr/src/uts/common/io/audio/impl/
H A Daudio_oss.c1157 bzero(si, sizeof (*si)); in sndctl_sysinfo()
1162 si->nummixers = si->numcards - 1; in sndctl_sysinfo()
1163 si->numaudios = si->numcards - 1; in sndctl_sysinfo()
1164 si->numaudioengines = si->numaudios; in sndctl_sysinfo()
1249 si->max_channels = max(nchan, si->max_channels); in audioinfo_walker()
1250 si->max_rate = max(rate, si->max_rate); in audioinfo_walker()
1274 bzero(si, sizeof (*si)); in sndctl_audioinfo()
1311 si->rate_source = si->dev; in sndctl_audioinfo()
1315 si->min_channels = min(2, si->max_channels); in sndctl_audioinfo()
1316 si->min_rate = min(5000, si->max_rate); in sndctl_audioinfo()
[all …]
/illumos-gate/usr/src/cmd/iconv/
H A Dcharmap.c386 int si; in add_charmap_range() local
404 if (((si = strcspn(ssym, digits)) == 0) || (si == ls) || in add_charmap_range()
405 (strncmp(ssym, esym, si) != 0) || in add_charmap_range()
406 (strspn(ssym + si, digits) != (ls - si)) || in add_charmap_range()
407 (strspn(esym + si, digits) != (le - si)) || in add_charmap_range()
408 ((sn = atoi(ssym + si)) > ((en = atoi(esym + si))))) { in add_charmap_range()
413 ssym[si] = 0; in add_charmap_range()
416 (void) asprintf(&nn, "%s%0*u", ssym, ls - si, i); in add_charmap_range()
/illumos-gate/usr/src/uts/i86xpv/io/
H A Dxpvtod.c50 shared_info_t *si = HYPERVISOR_shared_info; in todxen_get() local
60 xen_wc_version = si->wc_version; in todxen_get()
64 wcts.tv_sec = si->wc_sec; in todxen_get()
65 wcts.tv_nsec = si->wc_nsec; in todxen_get()
69 } while ((si->wc_version & 1) | (xen_wc_version ^ si->wc_version)); in todxen_get()
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dfindstack.c448 ret = stacks_thread_cb(addr, NULL, si); in stacks_run_tlist()
463 stacks_info_t si; in stacks_run() local
464 findstack_info_t *fsip = &si.si_fsi; in stacks_run()
468 bzero(&si, sizeof (si)); in stacks_run()
472 stacks_hash = si.si_hash = in stacks_run()
474 si.si_entries = 0; in stacks_run()
475 si.si_count = 0; in stacks_run()
486 if (stacks_run_tlist(tlist, &si)) in stacks_run()
497 si.si_entries, si.si_count); in stacks_run()
499 stacks_array_size = si.si_entries; in stacks_run()
[all …]
/illumos-gate/usr/src/boot/i386/pmbr/
H A Dpmbr.s74 movw $main-EXEC+LOAD,%si # Source
108 movw $stage2_sector, %si # pointer to lba
112 load_boot: push %si # Save %si
114 pop %si # Restore
119 next_boot: incl (%si) # Next LBA
120 adcl $0,4(%si)
129 read: pushl 0x4(%si) # Set the LBA
130 pushl 0x0(%si) # address
135 movw %sp,%si # Packer pointer
144 err_rd: movw $msg_rd,%si # "I/O error loading
[all …]
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dexc.c248 int volatile si = 0; local
311 for (si = 0; si < argc; ++si)
313 switch (etype->etype_argformat[si])
317 char *str = argv[si].v_str;
319 argv[si].v_str = sm_strdup_x(str);
324 char *fmt = argv[si].v_str;
326 argv[si].v_str = sm_vstringf_x(fmt, ap);
379 if (i < si)

123456