Searched refs:na (Results 1 - 25 of 63) sorted by relevance

123

/osnet-11/usr/src/lib/libast/common/string/
H A Dstrvcmp.c34 register unsigned long na; local
41 na = nb = 0;
43 na = na * 10 + *a++ - '0';
46 if (na < nb)
48 if (na > nb)
H A Dstrnvcmp.c36 register unsigned long na; local
53 na = nb = 0;
55 na = na * 10 + *a++ - '0';
58 if (na < nb)
60 if (na > nb)
/osnet-11/usr/src/lib/libntfs/common/include/ntfs/
H A Dcrypto.h40 extern int ntfs_crypto_attr_open(ntfs_attr *na);
41 extern void ntfs_crypto_attr_close(ntfs_attr *na);
43 extern s64 ntfs_crypto_attr_pread(ntfs_attr *na, const s64 pos, s64 count,
H A Dcompress.h29 extern s64 ntfs_compressed_attr_pread(ntfs_attr *na, s64 pos, s64 count,
H A Dattrib.h212 #define test_nattr_flag(na, flag) test_bit(NA_##flag, (na)->state)
213 #define set_nattr_flag(na, flag) set_bit(NA_##flag, (na)->state)
214 #define clear_nattr_flag(na, flag) clear_bit(NA_##flag, (na)->state)
216 #define NAttrInitialized(na) test_nattr_flag(na, Initialized)
217 #define NAttrSetInitialized(na) set_nattr_flag(na, Initialize
[all...]
H A Dbitmap.h103 extern int ntfs_bitmap_set_run(ntfs_attr *na, s64 start_bit, s64 count);
104 extern int ntfs_bitmap_clear_run(ntfs_attr *na, s64 start_bit, s64 count);
108 * @na: attribute containing the bitmap
111 * Set the @bit in the bitmap described by the attribute @na.
115 static __inline__ int ntfs_bitmap_set_bit(ntfs_attr *na, s64 bit) argument
117 return ntfs_bitmap_set_run(na, bit, 1);
122 * @na: attribute containing the bitmap
125 * Clear @bit in the bitmap described by the attribute @na.
129 static __inline__ int ntfs_bitmap_clear_bit(ntfs_attr *na, s64 bit) argument
131 return ntfs_bitmap_clear_run(na, bi
[all...]
H A Dlcnalloc.h46 extern int ntfs_cluster_free(ntfs_volume *vol, ntfs_attr *na, VCN start_vcn,
/osnet-11/usr/src/lib/libntfs/common/libntfs/
H A Dcompress.c265 static BOOL ntfs_is_cb_compressed(ntfs_attr *na, argument
281 rl = ntfs_attr_find_vcn(na, rl->vcn);
305 * @na: ntfs attribute to read from
313 * compressed ntfs attribute @na into the data buffer @b.
324 s64 ntfs_compressed_attr_pread(ntfs_attr *na, s64 pos, s64 count, void *b) argument
337 (unsigned long long)na->ni->mft_no, na->type,
339 if (!na || !NAttrCompressed(na) || !na
[all...]
H A Dattrib.c268 * @na: ntfs attribute to initialize
274 * Initialize the ntfs attribute @na with @ni, @type, @name, and @name_len.
276 static void __ntfs_attr_init(ntfs_attr *na, ntfs_inode *ni, argument
279 na->rl = NULL;
280 na->ni = ni;
281 na->type = type;
282 na->name = name;
284 na->name_len = name_len;
286 na->name_len = 0;
291 * @na
304 ntfs_attr_init(ntfs_attr *na, const BOOL non_resident, const BOOL compressed, const BOOL encrypted, const BOOL sparse, const s64 allocated_size, const s64 data_size, const s64 initialized_size, const s64 compressed_size, const u8 compression_unit) argument
355 ntfs_attr *na; local
466 ntfs_attr_close(ntfs_attr *na) argument
497 ntfs_attr_map_runlist(ntfs_attr *na, VCN vcn) argument
542 ntfs_attr_map_runlist_range(ntfs_attr *na, VCN from_vcn, VCN to_vcn) argument
616 ntfs_attr_map_whole_runlist(ntfs_attr *na) argument
739 ntfs_attr_vcn_to_lcn(ntfs_attr *na, const VCN vcn) argument
789 ntfs_attr_find_vcn(ntfs_attr *na, const VCN vcn) argument
866 ntfs_attr_pread(ntfs_attr *na, const s64 pos, s64 count, void *b) argument
1037 ntfs_attr_pwrite(ntfs_attr *na, const s64 pos, s64 count, const void *b) argument
1506 ntfs_attr_mst_pread(ntfs_attr *na, const s64 pos, const s64 bk_cnt, const u32 bk_size, void *dst) argument
1560 ntfs_attr_mst_pwrite(ntfs_attr *na, const s64 pos, s64 bk_cnt, const u32 bk_size, void *src) argument
3048 ntfs_attr *na; local
3266 ntfs_attr_rm(ntfs_attr *na) argument
3614 ntfs_attr_make_non_resident(ntfs_attr *na, ntfs_attr_search_ctx *ctx) argument
3793 ntfs_resident_attr_resize(ntfs_attr *na, const s64 newsize) argument
4033 ntfs_attr_make_resident(ntfs_attr *na, ntfs_attr_search_ctx *ctx) argument
4224 ntfs_attr_update_mapping_pairs(ntfs_attr *na, VCN from_vcn) argument
4745 ntfs_non_resident_attr_shrink(ntfs_attr *na, const s64 newsize) argument
4884 ntfs_non_resident_attr_expand(ntfs_attr *na, const s64 newsize, BOOL sparse) argument
5107 __ntfs_attr_truncate(ntfs_attr *na, const s64 newsize, BOOL sparse) argument
5159 ntfs_attr_truncate(ntfs_attr *na, const s64 newsize) argument
5187 ntfs_attr *na; local
[all...]
H A Dbitmap.c49 * @na: attribute containing the bitmap
55 * attribute @na to @value, where @value is either 0 or 1.
59 static int ntfs_bitmap_set_bits_in_run(ntfs_attr *na, s64 start_bit, argument
62 ntfs_volume *vol = na->ni->vol;
67 if (!na || start_bit < 0 || count < 0) {
93 br = ntfs_attr_pread(na, start_bit >> 3, 1, buf);
130 br = ntfs_attr_pread(na, (start_bit + left) >>
157 br = ntfs_attr_pwrite(na, tmp, bufsize, buf);
192 if (na == vol->mftbmp_na) {
198 if (na
226 ntfs_bitmap_set_run(ntfs_attr *na, s64 start_bit, s64 count) argument
242 ntfs_bitmap_clear_run(ntfs_attr *na, s64 start_bit, s64 count) argument
[all...]
H A Dattrlist.c110 ntfs_attr *na = NULL; local
206 na = ntfs_attr_open(ni, AT_ATTRIBUTE_LIST, AT_UNNAMED, 0);
207 if (!na) {
212 if (ntfs_attr_truncate(na, ni->attr_list_size + entry_len)) {
229 ntfs_attr_close(na);
232 if (na)
233 ntfs_attr_close(na);
252 ntfs_attr *na; local
289 na = ntfs_attr_open(base_ni, AT_ATTRIBUTE_LIST, AT_UNNAMED, 0);
290 if (!na) {
[all...]
H A Dvolume.c636 ntfs_attr *na = NULL; local
645 if ((na = ntfs_attr_open(ni, AT_DATA, AT_UNNAMED, 0)) == NULL) {
650 if (!ntfs_check_logfile(na, &rp) || !ntfs_is_logfile_clean(na, rp))
654 if (na)
655 ntfs_attr_close(na);
729 ntfs_attr *na = NULL; local
744 na = ntfs_attr_open(ni, AT_DATA, AT_UNNAMED, 0);
745 if (!na) {
750 bytes_read = ntfs_attr_pread(na,
897 ntfs_attr *na; local
1587 ntfs_attr *na; local
[all...]
H A Dcrypto.c1339 * @na: ntfs attribute to perform initialization for
1343 * successfully obtained FEK, then @na->crypto is allocated and FEK stored
1344 * inside. In the other case @na->crypto is set to NULL.
1348 int ntfs_crypto_attr_open(ntfs_attr *na) argument
1353 na->crypto = NULL;
1354 if (!na || !NAttrEncrypted(na)) {
1364 fek = ntfs_inode_fek_get(na->ni, ntfs_crypto_ctx.rsa_key[i]);
1366 na->crypto = ntfs_malloc(sizeof(ntfs_crypto_attr));
1367 if (!na
1386 ntfs_crypto_attr_close(ntfs_attr *na) argument
1408 ntfs_crypto_attr_pread(ntfs_attr *na, const s64 pos, s64 count, void *b) argument
1500 ntfs_crypto_attr_open(ntfs_attr *na) argument
1507 ntfs_crypto_attr_close(ntfs_attr *na) argument
1511 ntfs_crypto_attr_pread(ntfs_attr *na, const s64 pos, s64 count, void *b) argument
[all...]
/osnet-11/usr/src/lib/libast/common/misc/
H A Dsignal.c77 struct sigaction na; local
95 memzero(&na, sizeof(na));
96 na.sa_handler = fun;
114 na.sa_flags = SA_RESTART;
120 na.sa_flags = SA_INTERRUPT;
125 if (sigaction(sig, &na, &oa))
/osnet-11/usr/src/lib/libnisdb/
H A Dldap_scheme.c76 int na, i, nc; local
103 for (i = 0, na = 0; i < q->components.components_len; i++) {
124 a[na].zattr_ndx = col[index];
125 a[na].zattr_val.zattr_val_val = q->components.
127 a[na].zattr_val.zattr_val_len = q->components.
129 na++;
132 *numAttr = na;
/osnet-11/usr/src/lib/libslp/javalib/com/sun/slp/
H A DServiceType.java54 private String na = ""; // naming authority. field in class:ServiceType
105 return (na.length() <= 0);
139 return "service:" + type1 + (na.length() > 0 ? ("." + na):"");
153 return na;
219 na.equals(type.na);
230 (na.length() > 0 ? ("." + na) : "") +
240 na
[all...]
H A DCSrvTypeMsg.java108 CSrvTypeMsg(Locale locale, String na, Vector scopes) argument
118 String namingAuthority = na.toLowerCase();
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/rcache/
H A Drc_common.h36 struct authlist *na; member in struct:authlist
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Memoize/t/
H A Dtiefeatures.t29 sub na {} subroutine
31 memoize 'na', LIST_CACHE => FAULT;
34 eval { my ($a) = na() }; # Should fault
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/t/op/
H A Dsubst.t456 my($na, $nb) = ("\x{ff}", "\x{fe}");
459 ($b = $a) =~ s/--/$na/;
460 is($b, "$ua$na$ub", "s///: replace non-utf8 into utf8");
461 ($b = $a) =~ s/--/--$na--/;
462 is($b, "$ua--$na--$ub", "s///: replace long non-utf8 into utf8");
467 $a = "$na--$nb";
469 is($b, "$na$ua$nb", "s///: replace utf8 into non-utf8");
471 is($b, "$na--$ua--$nb", "s///: replace long utf8 into non-utf8");
475 ($b = $a) =~ s/-($ud)?-/$na/;
476 is($b, "$ua$na
[all...]
/osnet-11/usr/src/lib/libuutil/common/
H A Duu_avl.c139 uintptr_t *na = (uintptr_t *)np; local
157 na[0] = POOL_TO_MARKER(pp);
158 na[1] = 0;
164 uintptr_t *na = (uintptr_t *)np; local
167 if (na[0] == DEAD_MARKER && na[1] == DEAD_MARKER) {
172 if (na[0] != POOL_TO_MARKER(pp) || na[1] != 0) {
179 na[0] = DEAD_MARKER;
180 na[
425 uintptr_t *na = NODE_ARRAY(pp, elem); local
463 uintptr_t *na = NODE_ARRAY(pp, elem); local
497 uintptr_t *na = NODE_ARRAY(pp, elem); local
[all...]
/osnet-11/usr/src/cmd/hal/tools/
H A Dhal-storage-zpool.c113 int na; local
126 na = 0;
127 args[na++] = "/usr/sbin/zpool";
128 args[na++] = subcmd;
131 args[na++] = "-d";
132 args[na++] = "/dev/lofi";
134 args[na++] = (char *) pool;
135 args[na++] = NULL;
H A Dhal-storage-shared.c276 int na; local
450 na = 0;
451 args[na++] = UMOUNT;
453 args[na++] = "-l";
455 args[na++] = "-f";
456 args[na++] = (char *) device;
457 args[na++] = NULL;
547 int na; local
561 na = 0;
562 args[na
[all...]
/osnet-11/usr/src/cmd/ntfsprogs/
H A Dntfscp.c321 ntfs_attr *na; local
508 na = ntfs_attr_open(out, opts.attribute, attr_name, attr_name_len);
509 if (!na) {
520 na = ntfs_attr_open(out, opts.attribute, attr_name,
522 if (!na) {
530 ntfs_log_verbose("Old file size: %lld\n", na->data_size);
531 if (na->data_size != new_size) {
532 if (__ntfs_attr_truncate(na, new_size, FALSE)) {
557 bw = ntfs_attr_pwrite(na, offset, br, buf);
568 ntfs_attr_close(na);
[all...]
/osnet-11/usr/src/lib/libnsl/rpc/
H A Drpcb_clnt.c587 struct netbuf *na = NULL; local
597 na = uaddr2taddr(nconf, rmap->r_maddr);
601 if (!na)
608 return (na);
1059 struct netbuf *na; local
1061 if ((na = __rpcb_findaddr_timed(program, version,
1065 if (na->len > address->maxlen) {
1067 netdir_free((char *)na, ND_ADDR);
1071 (void) memcpy(address->buf, na->buf, (int)na
1168 struct netbuf *na; local
[all...]

Completed in 66 milliseconds

123