Lines Matching defs:smdr
100 * @param smdr pointer to the SMDR
102 static inline void __smdr_new(struct cvmx_shmem_smdr *smdr) {
104 if (smdr != NULL)
108 cvmx_spinlock_init (&smdr->lock);
109 cvmx_spinlock_lock (&smdr->lock);
113 smdr -> shmd[i].owner = CVMX_SHMEM_OWNER_NONE;
114 smdr -> shmd[i].is_named_block = 0;
115 smdr -> shmd[i].use_count = 0;
116 smdr -> shmd[i].name = NULL;
117 smdr -> shmd[i].vaddr = NULL;
118 smdr -> shmd[i].paddr = 0;
119 smdr -> shmd[i].size = 0;
120 smdr -> shmd[i].alignment = 0;
124 smdr->break64 = (void *)CVMX_SHMEM_VADDR64_START;
125 cvmx_spinlock_unlock (&smdr->lock);