Searched refs:ns (Results 1 - 25 of 248) sorted by relevance

12345678910

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dmnt_namespace.h19 extern void __put_mnt_ns(struct mnt_namespace *ns);
21 static inline void put_mnt_ns(struct mnt_namespace *ns) argument
23 if (atomic_dec_and_lock(&ns->count, &vfsmount_lock))
25 __put_mnt_ns(ns);
30 struct mnt_namespace *ns = p->nsproxy->mnt_ns; local
31 if (ns)
32 put_mnt_ns(ns);
35 static inline void get_mnt_ns(struct mnt_namespace *ns) argument
37 atomic_inc(&ns->count);
H A Duser_namespace.h22 static inline struct user_namespace *get_user_ns(struct user_namespace *ns) argument
24 if (ns)
25 kref_get(&ns->kref);
26 return ns;
33 static inline void put_user_ns(struct user_namespace *ns) argument
35 if (ns)
36 kref_put(&ns->kref, free_user_ns);
41 static inline struct user_namespace *get_user_ns(struct user_namespace *ns) argument
55 static inline void put_user_ns(struct user_namespace *ns) argument
H A Dipc.h94 #define INIT_IPC_NS(ns) .ns = &init_ipc_ns,
96 struct ipc_namespace *ns);
98 #define INIT_IPC_NS(ns)
100 struct ipc_namespace *ns)
102 return ns;
110 static inline struct ipc_namespace *get_ipc_ns(struct ipc_namespace *ns) argument
113 if (ns)
114 kref_get(&ns->kref);
116 return ns;
99 copy_ipcs(unsigned long flags, struct ipc_namespace *ns) argument
119 put_ipc_ns(struct ipc_namespace *ns) argument
[all...]
H A Dnsproxy.h37 void free_nsproxy(struct nsproxy *ns);
41 static inline void put_nsproxy(struct nsproxy *ns) argument
43 if (atomic_dec_and_test(&ns->count)) {
44 free_nsproxy(ns);
50 struct nsproxy *ns = p->nsproxy; local
51 if (ns) {
55 put_nsproxy(ns);
H A Dutsname.h46 static inline void get_uts_ns(struct uts_namespace *ns) argument
48 kref_get(&ns->kref);
52 extern struct uts_namespace *copy_utsname(int flags, struct uts_namespace *ns);
55 static inline void put_uts_ns(struct uts_namespace *ns) argument
57 kref_put(&ns->kref, free_uts_ns);
61 struct uts_namespace *ns)
63 return ns;
66 static inline void put_uts_ns(struct uts_namespace *ns) argument
60 copy_utsname(int flags, struct uts_namespace *ns) argument
H A Dpid_namespace.h27 static inline void get_pid_ns(struct pid_namespace *ns) argument
29 kref_get(&ns->kref);
32 extern struct pid_namespace *copy_pid_ns(int flags, struct pid_namespace *ns);
35 static inline void put_pid_ns(struct pid_namespace *ns) argument
37 kref_put(&ns->kref, free_pid_ns);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/nand/
H A Dnandsim.c181 #define NS_IS_INITIALIZED(ns) ((ns)->geom.totsz != 0)
184 #define NS_STATUS_OK(ns) (NAND_STATUS_READY | (NAND_STATUS_WP * ((ns)->lines.wp == 0)))
187 #define NS_STATUS_FAILED(ns) (NAND_STATUS_FAIL | NS_STATUS_OK(ns))
190 #define NS_RAW_OFFSET(ns) \
191 (((ns)->regs.row << (ns)->geom.pgshift) + ((ns)
421 alloc_device(struct nandsim *ns) argument
440 free_device(struct nandsim *ns) argument
468 struct nandsim *ns = (struct nandsim *)(chip->priv); local
613 free_nandsim(struct nandsim *ns) argument
621 parse_badblocks(struct nandsim *ns, struct mtd_info *mtd) argument
1025 accept_addr_byte(struct nandsim *ns, u_char bt) argument
1043 switch_to_ready_state(struct nandsim *ns, u_char status) argument
1102 find_operation(struct nandsim *ns, uint32_t flag) argument
1189 NS_GET_PAGE(struct nandsim *ns) argument
1197 NS_PAGE_BYTE_OFF(struct nandsim *ns) argument
1205 read_page(struct nandsim *ns, int num) argument
1245 erase_sector(struct nandsim *ns) argument
1264 prog_page(struct nandsim *ns, int num) argument
1293 do_state_action(struct nandsim *ns, uint32_t action) argument
1443 switch_state(struct nandsim *ns) argument
1586 struct nandsim *ns = (struct nandsim *)((struct nand_chip *)mtd->priv)->priv; local
1659 struct nandsim *ns = (struct nandsim *)((struct nand_chip *)mtd->priv)->priv; local
1810 struct nandsim *ns = ((struct nand_chip *)mtd->priv)->priv; local
1837 struct nandsim *ns = (struct nandsim *)((struct nand_chip *)mtd->priv)->priv; local
1864 struct nandsim *ns = (struct nandsim *)((struct nand_chip *)mtd->priv)->priv; local
2056 struct nandsim *ns = (struct nandsim *)(((struct nand_chip *)nsmtd->priv)->priv); local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/kernel/
H A Duser_namespace.c25 * Clone a new ns copying an original user ns, setting refcount to 1
27 * Return NULL on error (failure to kmalloc), new ns otherwise
31 struct user_namespace *ns; local
35 ns = kmalloc(sizeof(struct user_namespace), GFP_KERNEL);
36 if (!ns)
39 kref_init(&ns->kref);
42 INIT_HLIST_HEAD(ns->uidhash_table + n);
45 ns->root_user = alloc_uid(ns,
81 struct user_namespace *ns; local
[all...]
H A Dutsname.c18 * Clone a new ns copying an original utsname, setting refcount to 1
20 * Return NULL on error (failure to kmalloc), new ns otherwise
24 struct uts_namespace *ns; local
26 ns = kmalloc(sizeof(struct uts_namespace), GFP_KERNEL);
27 if (ns) {
28 memcpy(&ns->name, &old_ns->name, sizeof(ns->name));
29 kref_init(&ns->kref);
31 return ns;
58 struct uts_namespace *ns; local
[all...]
H A Dnsproxy.c29 static inline void get_nsproxy(struct nsproxy *ns) argument
31 atomic_inc(&ns->count);
36 struct nsproxy *ns = tsk->nsproxy; local
37 if (ns) {
38 get_nsproxy(ns);
47 struct nsproxy *ns; local
49 ns = kmem_cache_alloc(nsproxy_cachep, GFP_KERNEL);
50 if (ns) {
51 memcpy(ns, orig, sizeof(struct nsproxy));
52 atomic_set(&ns
156 free_nsproxy(struct nsproxy *ns) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/lib/
H A Descape.c83 char *ns; local
91 ns = malloc(alloc);
92 if(!ns)
101 ns[strindex++]=in;
107 testing_ptr = realloc(ns, alloc);
109 free( ns );
113 ns = testing_ptr;
120 free(ns);
124 snprintf(&ns[strindex], 4, "%%%02X", in);
130 ns[strinde
144 char *ns = malloc(alloc); local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/passdb/
H A Dpdb_xml.c45 static xmlNodePtr smbXmlNewChild(xmlNodePtr prnt, xmlNsPtr ns, const xmlChar *name, const char *content) argument
50 if(!content) return xmlNewChild(prnt, ns, name, NULL);
56 ret = xmlNewTextChild(prnt, ns, name, string_utf8);
71 static BOOL parsePass(xmlDocPtr doc, xmlNsPtr ns, xmlNodePtr cur, SAM_ACCOUNT * u) argument
100 static BOOL parseUser(xmlDocPtr doc, xmlNsPtr ns, xmlNodePtr cur, SAM_ACCOUNT * u) argument
114 if ((!strcmp(cur->name, "group")) && (cur->ns == ns)) {
122 else if ((!strcmp(cur->name, "domain")) && (cur->ns == ns))
127 else if (!strcmp(cur->name, "fullname") && cur->ns
260 xmlNsPtr ns; member in struct:pdb_xml
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/boot/
H A Daddnote.c96 int nnote, nnote2, ns; local
149 ns = ph + 2 * ps;
151 PUT_32BE(ph + PH_OFFSET, ns);
155 PUT_32BE(ns, strlen(arch) + 1);
156 PUT_32BE(ns + 4, N_DESCR * 4);
157 PUT_32BE(ns + 8, 0x1275);
158 strcpy((char *) &buf[ns + 12], arch);
159 ns += 12 + strlen(arch) + 1;
160 for (i = 0; i < N_DESCR; ++i, ns += 4)
161 PUT_32BE(ns, desc
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/expat-2.0.1/lib/
H A Dxmltok_ns.c11 return &ns(internal_utf8_encoding).enc;
18 return &ns(internal_little2_encoding).enc;
20 return &ns(internal_big2_encoding).enc;
24 ? &ns(internal_little2_encoding).enc
25 : &ns(internal_big2_encoding).enc);
30 &ns(latin1_encoding).enc,
31 &ns(ascii_encoding).enc,
32 &ns(utf8_encoding).enc,
33 &ns(big2_encoding).enc,
34 &ns(big2_encodin
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/ipc/
H A Dshm.c48 struct ipc_namespace *ns; member in struct:shm_file_data
60 #define shm_ids(ns) (*((ns)->ids[IPC_SHM_IDS]))
62 #define shm_lock(ns, id) \
63 ((struct shmid_kernel*)ipc_lock(&shm_ids(ns),id))
66 #define shm_get(ns, id) \
67 ((struct shmid_kernel*)ipc_get(&shm_ids(ns),id))
68 #define shm_buildid(ns, id, seq) \
69 ipc_buildid(&shm_ids(ns), id, seq)
71 static int newseg (struct ipc_namespace *ns, key_
80 __shm_init_ns(struct ipc_namespace *ns, struct ipc_ids *ids) argument
90 do_shm_rmid(struct ipc_namespace *ns, struct shmid_kernel *shp) argument
102 shm_init_ns(struct ipc_namespace *ns) argument
114 shm_exit_ns(struct ipc_namespace *ns) argument
143 shm_checkid(struct ipc_namespace *ns, struct shmid_kernel *s, int id) argument
151 shm_rmid(struct ipc_namespace *ns, int id) argument
156 shm_addid(struct ipc_namespace *ns, struct shmid_kernel *shp) argument
186 shm_destroy(struct ipc_namespace *ns, struct shmid_kernel *shp) argument
212 struct ipc_namespace *ns = sfd->ns; local
339 newseg(struct ipc_namespace *ns, key_t key, int shmflg, size_t size) argument
424 struct ipc_namespace *ns; local
549 shm_get_stat(struct ipc_namespace *ns, unsigned long *rss, unsigned long *swp) argument
585 struct ipc_namespace *ns; local
847 struct ipc_namespace *ns; local
[all...]
H A Dmsg.c74 #define msg_ids(ns) (*((ns)->ids[IPC_MSG_IDS]))
76 #define msg_lock(ns, id) ((struct msg_queue*)ipc_lock(&msg_ids(ns), id))
78 #define msg_rmid(ns, id) ((struct msg_queue*)ipc_rmid(&msg_ids(ns), id))
79 #define msg_checkid(ns, msq, msgid) \
80 ipc_checkid(&msg_ids(ns), &msq->q_perm, msgid)
81 #define msg_buildid(ns, id, seq) \
82 ipc_buildid(&msg_ids(ns), i
90 __msg_init_ns(struct ipc_namespace *ns, struct ipc_ids *ids) argument
100 msg_init_ns(struct ipc_namespace *ns) argument
112 msg_exit_ns(struct ipc_namespace *ns) argument
141 newque(struct ipc_namespace *ns, key_t key, int msgflg) argument
235 freeque(struct ipc_namespace *ns, struct msg_queue *msq, int id) argument
261 struct ipc_namespace *ns; local
393 struct ipc_namespace *ns; local
635 struct ipc_namespace *ns; local
758 struct ipc_namespace *ns; local
[all...]
H A Dsem.c89 #define sem_ids(ns) (*((ns)->ids[IPC_SEM_IDS]))
91 #define sem_lock(ns, id) ((struct sem_array*)ipc_lock(&sem_ids(ns), id))
93 #define sem_rmid(ns, id) ((struct sem_array*)ipc_rmid(&sem_ids(ns), id))
94 #define sem_checkid(ns, sma, semid) \
95 ipc_checkid(&sem_ids(ns),&sma->sem_perm,semid)
96 #define sem_buildid(ns, id, seq) \
97 ipc_buildid(&sem_ids(ns), i
124 __sem_init_ns(struct ipc_namespace *ns, struct ipc_ids *ids) argument
136 sem_init_ns(struct ipc_namespace *ns) argument
148 sem_exit_ns(struct ipc_namespace *ns) argument
211 newary(struct ipc_namespace *ns, key_t key, int nsems, int semflg) argument
264 struct ipc_namespace *ns; local
496 freeary(struct ipc_namespace *ns, struct sem_array *sma, int id) argument
555 semctl_nolock(struct ipc_namespace *ns, int semid, int semnum, int cmd, int version, union semun arg) argument
637 semctl_main(struct ipc_namespace *ns, int semid, int semnum, int cmd, int version, union semun arg) argument
856 semctl_down(struct ipc_namespace *ns, int semid, int semnum, int cmd, int version, union semun arg) argument
927 struct ipc_namespace *ns; local
1040 find_undo(struct ipc_namespace *ns, int semid) argument
1123 struct ipc_namespace *ns; local
1323 struct ipc_namespace *ns; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libxml2-2.7.2/python/tests/
H A Dbuild.py14 ns = root.newNs("http://example.com/doc", "my") variable
15 root.setNs(ns)
36 ns = root.ns() variable
37 if ns.name != "my" or ns.content != "http://example.com/doc":
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libxml2-2.7.2/example/
H A Dgjobread.c46 parsePerson(xmlDocPtr doc, xmlNsPtr ns, xmlNodePtr cur) { argument
65 (cur->ns == ns))
68 (cur->ns == ns))
109 parseJob(xmlDocPtr doc, xmlNsPtr ns, xmlNodePtr cur) { argument
128 (cur->ns == ns)) {
135 (cur->ns == ns))
184 xmlNsPtr ns; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/libxml/
H A Dc14n.c47 xmlNsPtr *nsTab; /* array of ns in no particular order */
75 xmlNsPtr ns,
83 xmlNsPtr ns);
85 xmlNsPtr ns,
253 xmlNs ns; local
255 memcpy(&ns, node, sizeof(ns));
259 ns.next = (xmlNsPtr)parent->parent;
261 ns.next = (xmlNsPtr)parent;
268 return(xmlXPathNodeSetContains(nodes, (xmlNodePtr)&ns));
307 xmlC14NVisibleNsStackAdd(xmlC14NVisibleNsStackPtr cur, xmlNsPtr ns, xmlNodePtr node) argument
406 xmlC14NVisibleNsStackFind(xmlC14NVisibleNsStackPtr cur, xmlNsPtr ns) argument
440 xmlExcC14NVisibleNsStackFind(xmlC14NVisibleNsStackPtr cur, xmlNsPtr ns, xmlC14NCtxPtr ctx) argument
491 xmlC14NIsXmlNs(xmlNsPtr ns) argument
534 xmlC14NPrintNamespaces(const xmlNsPtr ns, xmlC14NCtxPtr ctx) argument
599 xmlNsPtr ns, tmp; local
703 xmlNsPtr ns; local
1059 xmlNsPtr ns; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gnulib-local/lib/libxml/
H A Dc14n.c47 xmlNsPtr *nsTab; /* array of ns in no particular order */
75 xmlNsPtr ns,
83 xmlNsPtr ns);
85 xmlNsPtr ns,
253 xmlNs ns; local
255 memcpy(&ns, node, sizeof(ns));
259 ns.next = (xmlNsPtr)parent->parent;
261 ns.next = (xmlNsPtr)parent;
268 return(xmlXPathNodeSetContains(nodes, (xmlNodePtr)&ns));
307 xmlC14NVisibleNsStackAdd(xmlC14NVisibleNsStackPtr cur, xmlNsPtr ns, xmlNodePtr node) argument
406 xmlC14NVisibleNsStackFind(xmlC14NVisibleNsStackPtr cur, xmlNsPtr ns) argument
440 xmlExcC14NVisibleNsStackFind(xmlC14NVisibleNsStackPtr cur, xmlNsPtr ns, xmlC14NCtxPtr ctx) argument
491 xmlC14NIsXmlNs(xmlNsPtr ns) argument
534 xmlC14NPrintNamespaces(const xmlNsPtr ns, xmlC14NCtxPtr ctx) argument
599 xmlNsPtr ns, tmp; local
703 xmlNsPtr ns; local
1059 xmlNsPtr ns; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libxml2-2.7.2/
H A Dc14n.c47 xmlNsPtr *nsTab; /* array of ns in no particular order */
75 xmlNsPtr ns,
83 xmlNsPtr ns);
85 xmlNsPtr ns,
253 xmlNs ns; local
255 memcpy(&ns, node, sizeof(ns));
259 ns.next = (xmlNsPtr)parent->parent;
261 ns.next = (xmlNsPtr)parent;
268 return(xmlXPathNodeSetContains(nodes, (xmlNodePtr)&ns));
307 xmlC14NVisibleNsStackAdd(xmlC14NVisibleNsStackPtr cur, xmlNsPtr ns, xmlNodePtr node) argument
406 xmlC14NVisibleNsStackFind(xmlC14NVisibleNsStackPtr cur, xmlNsPtr ns) argument
440 xmlExcC14NVisibleNsStackFind(xmlC14NVisibleNsStackPtr cur, xmlNsPtr ns, xmlC14NCtxPtr ctx) argument
491 xmlC14NIsXmlNs(xmlNsPtr ns) argument
534 xmlC14NPrintNamespaces(const xmlNsPtr ns, xmlC14NCtxPtr ctx) argument
599 xmlNsPtr ns, tmp; local
703 xmlNsPtr ns; local
1059 xmlNsPtr ns; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/udev/extras/volume_id/lib/
H A Dntfs.c54 } PACKED *ns; variable in typeref:struct:ntfs_super_block
110 ns = (struct ntfs_super_block *) volume_id_get_buffer(id, off, 0x200);
111 if (ns == NULL)
114 if (memcmp(ns->oem_id, "NTFS", 4) != 0)
117 volume_id_set_uuid(id, ns->volume_serial, 0, UUID_64BIT_LE);
119 sector_size = le16_to_cpu(ns->bytes_per_sector);
120 cluster_size = ns->sectors_per_cluster * sector_size;
121 mft_cluster = le64_to_cpu(ns->mft_cluster_location);
124 if (ns->cluster_per_mft_record < 0)
126 mft_record_size = 1 << -ns
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-ppc/
H A Dmpc8260_pci9.h24 extern void insb(unsigned port, void *buf, int ns);
25 extern void insw(unsigned port, void *buf, int ns);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libxml2-2.7.2/doc/examples/
H A Dxpath1.c6 * usage: xpath1 <xml-file> <xpath-expr> [<known-ns-list>]
68 fprintf(stderr, "Usage: %s <xml-file> <xpath-expr> [<known-ns-list>]\n", name);
69 fprintf(stderr, "where <known-ns-list> is a list of known namespaces\n");
218 xmlNsPtr ns; local
220 ns = (xmlNsPtr)nodes->nodeTab[i];
221 cur = (xmlNodePtr)ns->next;
222 if(cur->ns) {
224 ns->prefix, ns->href, cur->ns
[all...]

Completed in 272 milliseconds

12345678910