/linux-master/fs/fat/ |
H A D | cache.c | 118 struct fat_cache_id *new) 123 /* Find the same part as "new" in cluster-chain. */ 124 if (p->fcluster == new->fcluster) { 125 BUG_ON(p->dcluster != new->dcluster); 126 if (new->nr_contig > p->nr_contig) 127 p->nr_contig = new->nr_contig; 134 static void fat_cache_add(struct inode *inode, struct fat_cache_id *new) argument 138 if (new->fcluster == -1) /* dummy cache */ 142 if (new->id != FAT_CACHE_VALID && 143 new 117 fat_cache_merge(struct inode *inode, struct fat_cache_id *new) argument [all...] |
/linux-master/security/selinux/ss/ |
H A D | ebitmap.c | 51 struct ebitmap_node *new, *prev; local 58 new = kmem_cache_zalloc(ebitmap_node_cachep, GFP_ATOMIC); 59 if (!new) { 63 new->startbit = n->startbit; 64 memcpy(new->maps, n->maps, EBITMAP_SIZE / 8); 65 new->next = NULL; 67 prev->next = new; 69 dst->node = new; 70 prev = new; 279 struct ebitmap_node *n, *prev, *new; local [all...] |
/linux-master/include/linux/atomic/ |
H A D | atomic-arch-fallback.h | 1901 * @new: int value to assign 1903 * Atomically updates @v to @new with full ordering. 1910 raw_atomic_xchg(atomic_t *v, int new) argument 1913 return arch_atomic_xchg(v, new); 1917 ret = arch_atomic_xchg_relaxed(v, new); 1921 return raw_xchg(&v->counter, new); 1928 * @new: int value to assign 1930 * Atomically updates @v to @new with acquire ordering. 1937 raw_atomic_xchg_acquire(atomic_t *v, int new) argument 1940 return arch_atomic_xchg_acquire(v, new); 1964 raw_atomic_xchg_release(atomic_t *v, int new) argument 1990 raw_atomic_xchg_relaxed(atomic_t *v, int new) argument 2015 raw_atomic_cmpxchg(atomic_t *v, int old, int new) argument 2044 raw_atomic_cmpxchg_acquire(atomic_t *v, int old, int new) argument 2073 raw_atomic_cmpxchg_release(atomic_t *v, int old, int new) argument 2101 raw_atomic_cmpxchg_relaxed(atomic_t *v, int old, int new) argument 2127 raw_atomic_try_cmpxchg(atomic_t *v, int *old, int new) argument 2161 raw_atomic_try_cmpxchg_acquire(atomic_t *v, int *old, int new) argument 2195 raw_atomic_try_cmpxchg_release(atomic_t *v, int *old, int new) argument 2228 raw_atomic_try_cmpxchg_relaxed(atomic_t *v, int *old, int new) argument 4036 raw_atomic64_xchg(atomic64_t *v, s64 new) argument 4063 raw_atomic64_xchg_acquire(atomic64_t *v, s64 new) argument 4090 raw_atomic64_xchg_release(atomic64_t *v, s64 new) argument 4116 raw_atomic64_xchg_relaxed(atomic64_t *v, s64 new) argument 4141 raw_atomic64_cmpxchg(atomic64_t *v, s64 old, s64 new) argument 4170 raw_atomic64_cmpxchg_acquire(atomic64_t *v, s64 old, s64 new) argument 4199 raw_atomic64_cmpxchg_release(atomic64_t *v, s64 old, s64 new) argument 4227 raw_atomic64_cmpxchg_relaxed(atomic64_t *v, s64 old, s64 new) argument 4253 raw_atomic64_try_cmpxchg(atomic64_t *v, s64 *old, s64 new) argument 4287 raw_atomic64_try_cmpxchg_acquire(atomic64_t *v, s64 *old, s64 new) argument 4321 raw_atomic64_try_cmpxchg_release(atomic64_t *v, s64 *old, s64 new) argument 4354 raw_atomic64_try_cmpxchg_relaxed(atomic64_t *v, s64 *old, s64 new) argument [all...] |
H A D | atomic-instrumented.h | 1107 * @new: int value to assign 1109 * Atomically updates @v to @new with full ordering. 1116 atomic_xchg(atomic_t *v, int new) argument 1120 return raw_atomic_xchg(v, new); 1126 * @new: int value to assign 1128 * Atomically updates @v to @new with acquire ordering. 1135 atomic_xchg_acquire(atomic_t *v, int new) argument 1138 return raw_atomic_xchg_acquire(v, new); 1144 * @new: int value to assign 1146 * Atomically updates @v to @new wit 1153 atomic_xchg_release(atomic_t *v, int new) argument 1172 atomic_xchg_relaxed(atomic_t *v, int new) argument 1192 atomic_cmpxchg(atomic_t *v, int old, int new) argument 1213 atomic_cmpxchg_acquire(atomic_t *v, int old, int new) argument 1233 atomic_cmpxchg_release(atomic_t *v, int old, int new) argument 1254 atomic_cmpxchg_relaxed(atomic_t *v, int old, int new) argument 1275 atomic_try_cmpxchg(atomic_t *v, int *old, int new) argument 1298 atomic_try_cmpxchg_acquire(atomic_t *v, int *old, int new) argument 1320 atomic_try_cmpxchg_release(atomic_t *v, int *old, int new) argument 1343 atomic_try_cmpxchg_relaxed(atomic_t *v, int *old, int new) argument 2694 atomic64_xchg(atomic64_t *v, s64 new) argument 2713 atomic64_xchg_acquire(atomic64_t *v, s64 new) argument 2731 atomic64_xchg_release(atomic64_t *v, s64 new) argument 2750 atomic64_xchg_relaxed(atomic64_t *v, s64 new) argument 2770 atomic64_cmpxchg(atomic64_t *v, s64 old, s64 new) argument 2791 atomic64_cmpxchg_acquire(atomic64_t *v, s64 old, s64 new) argument 2811 atomic64_cmpxchg_release(atomic64_t *v, s64 old, s64 new) argument 2832 atomic64_cmpxchg_relaxed(atomic64_t *v, s64 old, s64 new) argument 2853 atomic64_try_cmpxchg(atomic64_t *v, s64 *old, s64 new) argument 2876 atomic64_try_cmpxchg_acquire(atomic64_t *v, s64 *old, s64 new) argument 2898 atomic64_try_cmpxchg_release(atomic64_t *v, s64 *old, s64 new) argument 2921 atomic64_try_cmpxchg_relaxed(atomic64_t *v, s64 *old, s64 new) argument 4272 atomic_long_xchg(atomic_long_t *v, long new) argument 4291 atomic_long_xchg_acquire(atomic_long_t *v, long new) argument 4309 atomic_long_xchg_release(atomic_long_t *v, long new) argument 4328 atomic_long_xchg_relaxed(atomic_long_t *v, long new) argument 4348 atomic_long_cmpxchg(atomic_long_t *v, long old, long new) argument 4369 atomic_long_cmpxchg_acquire(atomic_long_t *v, long old, long new) argument 4389 atomic_long_cmpxchg_release(atomic_long_t *v, long old, long new) argument 4410 atomic_long_cmpxchg_relaxed(atomic_long_t *v, long old, long new) argument 4431 atomic_long_try_cmpxchg(atomic_long_t *v, long *old, long new) argument 4454 atomic_long_try_cmpxchg_acquire(atomic_long_t *v, long *old, long new) argument 4476 atomic_long_try_cmpxchg_release(atomic_long_t *v, long *old, long new) argument 4499 atomic_long_try_cmpxchg_relaxed(atomic_long_t *v, long *old, long new) argument [all...] |
/linux-master/kernel/ |
H A D | sys.c | 367 * equal to the real gid, then the saved gid is set to the new effective gid. 385 struct cred *new; local 397 new = prepare_creds(); 398 if (!new) 407 new->gid = krgid; 416 new->egid = kegid; 423 new->sgid = new->egid; 424 new->fsgid = new 451 struct cred *new; local 491 set_user(struct cred *new) argument 504 flag_nproc_exceeded(struct cred *new) argument 542 struct cred *new; local 623 struct cred *new; local 680 struct cred *new; local 782 struct cred *new; local 875 struct cred *new; local 919 struct cred *new; local 1698 struct rlimit old, new; local [all...] |
H A D | groups.c | 115 * @new: The newly prepared set of credentials to alter 118 void set_groups(struct cred *new, struct group_info *group_info) argument 120 put_group_info(new->group_info); 122 new->group_info = group_info; 136 struct cred *new; local 140 new = prepare_creds(); 141 if (!new) 146 set_groups(new, group_info); 148 retval = security_task_fix_setgroups(new, old); 152 return commit_creds(new); [all...] |
/linux-master/arch/hexagon/lib/ |
H A D | memset.S | 164 if (p0.new) jump:nt .L3 179 if (!p0.new) jump:nt .L8 191 if (!p0.new) jump:nt .L10 197 if (p0.new) jump:nt .L1 202 if (!p0.new) jump:nt .L12 208 if (p0.new) jump:nt .L1 213 if (!p0.new) jump:nt .L14 253 if (!p0.new) jump:nt .L28 266 if (!p0.new) jump:nt .L33 275 if (!p0.new) jum [all...] |
/linux-master/virt/kvm/ |
H A D | irqchip.c | 173 struct kvm_irq_routing_table *new, *old; local 186 new = kzalloc(struct_size(new, map, nr_rt_entries), GFP_KERNEL_ACCOUNT); 187 if (!new) 190 new->nr_rt_entries = nr_rt_entries; 193 new->chip[i][j] = -1; 212 r = setup_routing_entry(kvm, new, e, ue); 220 rcu_assign_pointer(kvm->irq_routing, new); 229 new = old; 236 free_irq_routing_table(new); [all...] |
/linux-master/net/sunrpc/ |
H A D | backchannel_rqst.c | 108 * when creating new sessions that use the same rpc_xprt. The 237 struct rpc_rqst *new) 243 if (!new) 247 list_add_tail(&new->rq_bc_pa_list, &xprt->bc_pa_list); 287 * may be reused by a new callback request. 326 struct rpc_rqst *req, *new = NULL; local 336 req = xprt_get_bc_request(xprt, xid, new); 339 if (new) { 340 if (req != new) 341 xprt_free_allocation(new); 236 xprt_get_bc_request(struct rpc_xprt *xprt, __be32 xid, struct rpc_rqst *new) argument [all...] |
/linux-master/tools/perf/util/ |
H A D | maps.c | 121 static void maps__set_maps_by_address(struct maps *maps, struct map **new) argument 123 RC_CHK_ACCESS(maps)->maps_by_address = new; 144 static void maps__set_maps_by_name(struct maps *maps, struct map **new) argument 146 RC_CHK_ACCESS(maps)->maps_by_name = new; 431 static int __maps__insert(struct maps *maps, struct map *new) argument 435 const struct dso *dso = map__dso(new); 442 maps_by_address = realloc(maps_by_address, nr_allocate * sizeof(new)); 448 maps_by_name = realloc(maps_by_name, nr_allocate * sizeof(new)); 461 maps_by_address[nr_maps] = map__get(new); 463 maps_by_name[nr_maps] = map__get(new); 742 __maps__fixup_overlap_and_insert(struct maps *maps, struct map *new) argument 859 maps__fixup_overlap_and_insert(struct maps *maps, struct map *new) argument 903 struct map *new = map__clone(pos); local 934 struct map *new = map__clone(pos); local [all...] |
/linux-master/arch/powerpc/platforms/pseries/ |
H A D | reconfig.c | 171 struct property *new = kzalloc(sizeof(*new), GFP_KERNEL); local 173 if (!new) 176 if (!(new->name = kstrdup(name, GFP_KERNEL))) 178 if (!(new->value = kmalloc(length + 1, GFP_KERNEL))) 181 memcpy(new->value, value, length); 182 *(((char *)new->value) + length) = 0; 183 new->length = length; 184 new->next = last; 185 return new; [all...] |
/linux-master/arch/mips/txx9/generic/ |
H A D | pci.c | 119 } *new = NULL; local 123 new = kzalloc(sizeof(*new), GFP_KERNEL); 124 if (!new) 126 new->r_mem[0].name = "PCI mem"; 127 new->r_mem[1].name = "PCI mmio"; 128 new->r_io.name = "PCI io"; 129 new->c.mem_resource = new->r_mem; 130 new [all...] |
/linux-master/fs/afs/ |
H A D | validation.c | 193 time64_t new = op->volsync.creation; local 196 _enter("%llx,%llx,%llx->%llx", volume->vid, cur, old, new); 199 volume->creation_time = new; 203 if (new == cur) 217 * the volume is updated to a new snapshot (eg. "vos release"). 222 if (new < old) 242 volume->creation_time = new; 248 volume->creation_time = new; 260 time64_t new = op->volsync.update; local 262 _enter("%llx,%llx,%llx->%llx", volume->vid, cur, old, new); [all...] |
/linux-master/arch/um/drivers/ |
H A D | chan_kern.c | 491 struct chan *new; local 508 new = parse_chan(line, in, device, opts, error_out); 509 if (new == NULL) 512 new->input = 1; 513 list_add(&new->list, chans); 514 line->chan_in = new; 516 new = parse_chan(line, out, device, opts, error_out); 517 if (new == NULL) 520 list_add(&new->list, chans); 521 new [all...] |
H A D | port_user.c | 170 int new, err; local 179 new = accept(fd, NULL, 0); 180 if (new < 0) 199 { .sock_fd = new, 207 return new; 215 close(new);
|
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_iext_tree.c | 464 struct xfs_iext_node *new = xfs_iext_alloc_node(NODE_SIZE); local 469 /* for sequential append operations just spill over into the new node */ 471 *nodep = new; 479 new->keys[i] = node->keys[nr_keep + i]; 480 new->ptrs[i] = node->ptrs[nr_keep + i]; 487 *nodep = new; 495 new->keys[i] = XFS_IEXT_KEY_INVALID; 496 return new; 506 struct xfs_iext_node *node, *new; local 513 new 552 struct xfs_iext_leaf *new = xfs_iext_alloc_node(NODE_SIZE); local 607 void *new; local 639 struct xfs_iext_leaf *new = NULL; local 995 xfs_iext_update_extent( struct xfs_inode *ip, int state, struct xfs_iext_cursor *cur, struct xfs_bmbt_irec *new) argument 1016 xfs_iext_set(cur_rec(cur), new); local [all...] |
/linux-master/net/openvswitch/ |
H A D | flow_table.c | 220 struct mask_array *new; local 223 new = kzalloc(struct_size(new, masks, size) + 225 if (!new) 228 new->masks_usage_zero_cntr = (u64 *)((u8 *)new + 229 struct_size(new, masks, size)); 231 new->masks_usage_stats = __alloc_percpu(sizeof(struct mask_array_stats) + 234 if (!new->masks_usage_stats) { 235 kfree(new); 248 struct mask_array *new; local 270 tbl_mask_array_add_mask(struct flow_table *tbl, struct sw_flow_mask *new) argument 362 struct mask_cache *new; local 392 struct mask_cache *new; local 576 flow_table_copy_flows(struct table_instance *old, struct table_instance *new, bool ufid) argument 1006 flow_mask_insert(struct flow_table *tbl, struct sw_flow *flow, const struct sw_flow_mask *new) argument 1109 struct mask_array *new; local [all...] |
/linux-master/net/mac80211/ |
H A D | key.c | 291 struct ieee80211_key *new) 293 struct ieee80211_local *local = new->local; 294 struct sta_info *sta = new->sta; 299 if (new->conf.flags & IEEE80211_KEY_FLAG_NO_AUTO_TX) { 307 * new Rx/Tx aggregation requests during rekey to 327 /* Stop Tx till we are on the new key */ 442 struct ieee80211_key *new) 453 /* caller must provide at least one old/new */ 454 if (WARN_ON(!new && !old)) 457 if (new) { 290 ieee80211_pairwise_rekey(struct ieee80211_key *old, struct ieee80211_key *new) argument 437 ieee80211_key_replace(struct ieee80211_sub_if_data *sdata, struct ieee80211_link_data *link, struct sta_info *sta, bool pairwise, struct ieee80211_key *old, struct ieee80211_key *new) argument 809 ieee80211_key_identical(struct ieee80211_sub_if_data *sdata, struct ieee80211_key *old, struct ieee80211_key *new) argument [all...] |
/linux-master/tools/include/linux/ |
H A D | list.h | 32 * Insert a new entry between two known consecutive entries. 38 static inline void __list_add(struct list_head *new, argument 42 next->prev = new; 43 new->next = next; 44 new->prev = prev; 45 prev->next = new; 48 extern void __list_add(struct list_head *new, 54 * list_add - add a new entry 55 * @new: new entr 61 list_add(struct list_head *new, struct list_head *head) argument 75 list_add_tail(struct list_head *new, struct list_head *head) argument 123 list_replace(struct list_head *old, struct list_head *new) argument 132 list_replace_init(struct list_head *old, struct list_head *new) argument 696 hlist_move_list(struct hlist_head *old, struct hlist_head *new) argument [all...] |
/linux-master/fs/notify/inotify/ |
H A D | inotify_fsnotify.c | 35 struct inotify_event_info *old, *new; local 38 new = INOTIFY_E(new_fsn); 41 if ((old->mask == new->mask) && 42 (old->wd == new->wd) && 43 (old->name_len == new->name_len) && 44 (!old->name_len || !strcmp(old->name, new->name)))
|
/linux-master/tools/objtool/ |
H A D | special.c | 23 unsigned char size, orig, new; member in struct:special_entry 36 .new = ALT_NEW_OFFSET, 45 .new = JUMP_NEW_OFFSET, 52 .new = EX_NEW_OFFSET, 106 new_reloc = find_reloc_by_dest(elf, sec, offset + entry->new); 108 WARN_FUNC("can't find new reloc", 109 sec, offset + entry->new);
|
/linux-master/include/linux/ |
H A D | llist.h | 240 * llist_add - add a new entry 241 * @new: new entry to be added 246 static inline bool llist_add(struct llist_node *new, struct llist_head *head) argument 248 return llist_add_batch(new, new, head); 251 static inline bool __llist_add(struct llist_node *new, struct llist_head *head) argument 253 return __llist_add_batch(new, new, head);
|
/linux-master/arch/mips/kernel/ |
H A D | syscall.c | 98 static inline int mips_atomic_set(unsigned long addr, unsigned long new) argument 116 " move %[tmp], %[new] \n" 134 [new] "r" (new), 145 " move %[tmp], %[new] \n" 164 [new] "r" (new), 175 err |= __put_user(new, (unsigned int *) addr);
|
/linux-master/drivers/gpu/drm/ |
H A D | drm_gem_atomic_helper.c | 163 struct dma_fence *new; local 170 ret = dma_resv_get_singleton(obj->resv, usage, &new); 174 if (new && fence) { 182 dma_fence_chain_init(chain, fence, new, 1); 185 } else if (new) { 186 fence = new; 207 * @new_shadow_plane_state: the new shadow-buffered plane state 238 * struct drm_shadow_plane_state and it allocates the new state to be of this 247 * A pointer to a new plane state on success, or NULL otherwise. 323 * of type struct drm_shadow_plane and it allocates the new stat [all...] |
/linux-master/arch/x86/include/asm/ |
H A D | atomic.h | 99 static __always_inline int arch_atomic_cmpxchg(atomic_t *v, int old, int new) argument 101 return arch_cmpxchg(&v->counter, old, new); 105 static __always_inline bool arch_atomic_try_cmpxchg(atomic_t *v, int *old, int new) argument 107 return arch_try_cmpxchg(&v->counter, old, new); 111 static __always_inline int arch_atomic_xchg(atomic_t *v, int new) argument 113 return arch_xchg(&v->counter, new);
|