Lines Matching refs:pded
97 struct nubus_proc_pde_data *pded;
99 pded = kmalloc(sizeof(*pded), GFP_KERNEL);
100 if (!pded)
103 pded->res_ptr = ptr;
104 pded->res_size = size;
105 return pded;
111 struct nubus_proc_pde_data *pded;
113 pded = pde_data(inode);
114 if (!pded)
117 if (pded->res_size > m->size)
120 if (pded->res_size) {
128 ent.base = pded->res_ptr;
130 nubus_seq_write_rsrc_mem(m, &ent, pded->res_size);
132 unsigned int data = (unsigned int)pded->res_ptr;
158 struct nubus_proc_pde_data *pded;
165 pded = nubus_proc_alloc_pde_data(nubus_dirptr(ent), size);
167 pded = NULL;
170 &nubus_rsrc_proc_ops, pded);