Home
last modified time | relevance | path

Searched full:em (Results 1 – 25 of 167) sorted by relevance

1234567

/linux/fs/btrfs/tests/
H A Dinode-tests.c151 * We want to jack up disk_bytenr a little more so the em stuff doesn't in setup_file_extents()
223 struct extent_map *em = NULL; in test_btrfs_get_extent() local
261 em = btrfs_get_extent(BTRFS_I(inode), NULL, 0, sectorsize); in test_btrfs_get_extent()
262 if (IS_ERR(em)) { in test_btrfs_get_extent()
263 em = NULL; in test_btrfs_get_extent()
267 if (em->disk_bytenr != EXTENT_MAP_HOLE) { in test_btrfs_get_extent()
268 test_err("expected a hole, got %llu", em->disk_bytenr); in test_btrfs_get_extent()
271 btrfs_free_extent_map(em); in test_btrfs_get_extent()
281 em = btrfs_get_extent(BTRFS_I(inode), NULL, 0, (u64)-1); in test_btrfs_get_extent()
282 if (IS_ERR(em)) { in test_btrfs_get_extent()
[all …]
H A Dextent-map-tests.c17 struct extent_map *em; in free_extent_map_tree() local
24 em = rb_entry(node, struct extent_map, rb_node); in free_extent_map_tree()
25 btrfs_remove_extent_mapping(inode, em); in free_extent_map_tree()
28 if (refcount_read(&em->refs) != 1) { in free_extent_map_tree()
31 "em leak: em (start %llu len %llu disk_bytenr %llu disk_num_bytes %llu offset %llu) refs %d", in free_extent_map_tree()
32 em->start, em->len, em->disk_bytenr, in free_extent_map_tree()
33 em->disk_num_bytes, em->offset, in free_extent_map_tree()
34 refcount_read(&em->refs)); in free_extent_map_tree()
36 refcount_set(&em->refs, 1); in free_extent_map_tree()
39 btrfs_free_extent_map(em); in free_extent_map_tree()
[all …]
/linux/include/trace/events/
H A D9p.h11 EM( P9_TLERROR, "P9_TLERROR" ) \
12 EM( P9_RLERROR, "P9_RLERROR" ) \
13 EM( P9_TSTATFS, "P9_TSTATFS" ) \
14 EM( P9_RSTATFS, "P9_RSTATFS" ) \
15 EM( P9_TLOPEN, "P9_TLOPEN" ) \
16 EM( P9_RLOPEN, "P9_RLOPEN" ) \
17 EM( P9_TLCREATE, "P9_TLCREATE" ) \
18 EM( P9_RLCREATE, "P9_RLCREATE" ) \
19 EM( P9_TSYMLINK, "P9_TSYMLINK" ) \
20 EM( P9_RSYMLINK, "P9_RSYMLINK" ) \
[all …]
H A Dnetfs.h19 EM(netfs_read_trace_dio_read, "DIO-READ ") \
20 EM(netfs_read_trace_expanded, "EXPANDED ") \
21 EM(netfs_read_trace_readahead, "READAHEAD") \
22 EM(netfs_read_trace_readpage, "READPAGE ") \
23 EM(netfs_read_trace_read_gaps, "READ-GAPS") \
24 EM(netfs_read_trace_read_single, "READ-SNGL") \
25 EM(netfs_read_trace_prefetch_for_write, "PREFETCHW") \
29 EM(netfs_write_trace_copy_to_cache, "COPY2CACH") \
30 EM(netfs_write_trace_dio_write, "DIO-WRITE") \
31 EM(netfs_write_trace_unbuffered_write, "UNB-WRITE") \
[all …]
H A Dafs.h123 EM(afs_call_trace_alloc, "ALLOC") \
124 EM(afs_call_trace_async_abort, "ASYAB") \
125 EM(afs_call_trace_async_kill, "ASYKL") \
126 EM(afs_call_trace_free, "FREE ") \
127 EM(afs_call_trace_get, "GET ") \
128 EM(afs_call_trace_put, "PUT ") \
129 EM(afs_call_trace_wake, "WAKE ") \
133 EM(afs_server_trace_callback, "CALLBACK ") \
134 EM(afs_server_trace_destroy, "DESTROY ") \
135 EM(afs_server_trace_free, "FREE ") \
[all …]
H A Drxrpc.h21 EM(afs_abort_general_error, "afs-error") \
22 EM(afs_abort_interrupted, "afs-intr") \
23 EM(afs_abort_oom, "afs-oom") \
24 EM(afs_abort_op_not_supported, "afs-op-notsupp") \
25 EM(afs_abort_probeuuid_negative, "afs-probeuuid-neg") \
26 EM(afs_abort_send_data_error, "afs-send-data") \
27 EM(afs_abort_unmarshal_error, "afs-unmarshal") \
28 EM(afs_abort_unsupported_sec_class, "afs-unsup-sec-class") \
30 EM(rxperf_abort_general_error, "rxperf-error") \
31 EM(rxperf_abort_oom, "rxperf-oom") \
[all …]
H A Dfscache.h111 EM(fscache_cache_collision, "*COLLIDE*") \
112 EM(fscache_cache_get_acquire, "GET acq ") \
113 EM(fscache_cache_new_acquire, "NEW acq ") \
114 EM(fscache_cache_put_alloc_volume, "PUT alvol") \
115 EM(fscache_cache_put_cache, "PUT cache") \
116 EM(fscache_cache_put_prep_failed, "PUT pfail") \
117 EM(fscache_cache_put_relinquish, "PUT relnq") \
121 EM(fscache_volume_collision, "*COLLIDE*") \
122 EM(fscache_volume_get_cookie, "GET cook ") \
123 EM(fscache_volume_get_create_work, "GET creat") \
[all …]
H A Dhuge_memory.h11 EM( SCAN_FAIL, "failed") \
12 EM( SCAN_SUCCEED, "succeeded") \
13 EM( SCAN_PMD_NULL, "pmd_null") \
14 EM( SCAN_PMD_NONE, "pmd_none") \
15 EM( SCAN_PMD_MAPPED, "page_pmd_mapped") \
16 EM( SCAN_EXCEED_NONE_PTE, "exceed_none_pte") \
17 EM( SCAN_EXCEED_SWAP_PTE, "exceed_swap_pte") \
18 EM( SCAN_EXCEED_SHARED_PTE, "exceed_shared_pte") \
19 EM( SCAN_PTE_NON_PRESENT, "pte_non_present") \
20 EM( SCAN_PTE_UFFD_WP, "pte_uffd_wp") \
[all …]
H A Dcachefiles.h112 EM(FSCACHE_OBJECT_IS_STALE, "stale") \
113 EM(FSCACHE_OBJECT_IS_WEIRD, "weird") \
114 EM(FSCACHE_OBJECT_INVALIDATED, "inval") \
115 EM(FSCACHE_OBJECT_NO_SPACE, "no_space") \
116 EM(FSCACHE_OBJECT_WAS_RETIRED, "was_retired") \
117 EM(FSCACHE_OBJECT_WAS_CULLED, "was_culled") \
121 EM(cachefiles_obj_get_ioreq, "GET ioreq") \
122 EM(cachefiles_obj_new, "NEW obj") \
123 EM(cachefiles_obj_put_alloc_fail, "PUT alloc_fail") \
124 EM(cachefiles_obj_put_detach, "PUT detach") \
[all …]
H A Dv4l2.h12 #undef EM
14 #define EM(a, b) TRACE_DEFINE_ENUM(a); macro
21 EM( V4L2_BUF_TYPE_VIDEO_CAPTURE, "VIDEO_CAPTURE" ) \
22 EM( V4L2_BUF_TYPE_VIDEO_OUTPUT, "VIDEO_OUTPUT" ) \
23 EM( V4L2_BUF_TYPE_VIDEO_OVERLAY, "VIDEO_OVERLAY" ) \
24 EM( V4L2_BUF_TYPE_VBI_CAPTURE, "VBI_CAPTURE" ) \
25 EM( V4L2_BUF_TYPE_VBI_OUTPUT, "VBI_OUTPUT" ) \
26 EM( V4L2_BUF_TYPE_SLICED_VBI_CAPTURE, "SLICED_VBI_CAPTURE" ) \
27 EM( V4L2_BUF_TYPE_SLICED_VBI_OUTPUT, "SLICED_VBI_OUTPUT" ) \
28 EM( V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY, "VIDEO_OUTPUT_OVERLAY" ) \
[all …]
H A Dmmflags.h245 EM( COMPACT_SKIPPED, "skipped") \
246 EM( COMPACT_DEFERRED, "deferred") \
247 EM( COMPACT_CONTINUE, "continue") \
248 EM( COMPACT_SUCCESS, "success") \
249 EM( COMPACT_PARTIAL_SKIPPED, "partial_skipped") \
250 EM( COMPACT_COMPLETE, "complete") \
251 EM( COMPACT_NO_SUITABLE_PAGE, "no_suitable_page") \
252 EM( COMPACT_NOT_SUITABLE_ZONE, "not_suitable_zone") \
268 EM(COMPACTION_FAILED, "failed") \
269 EM(COMPACTION_WITHDRAWN, "withdrawn") \
[all …]
H A Dmigrate.h11 EM( MIGRATE_ASYNC, "MIGRATE_ASYNC") \
12 EM( MIGRATE_SYNC_LIGHT, "MIGRATE_SYNC_LIGHT") \
17 EM( MR_COMPACTION, "compaction") \
18 EM( MR_MEMORY_FAILURE, "memory_failure") \
19 EM( MR_MEMORY_HOTPLUG, "memory_hotplug") \
20 EM( MR_SYSCALL, "syscall_or_cpuset") \
21 EM( MR_MEMPOLICY_MBIND, "mempolicy_mbind") \
22 EM( MR_NUMA_MISPLACED, "numa_misplaced") \
23 EM( MR_CONTIG_RANGE, "contig_range") \
24 EM( MR_LONGTERM_PIN, "longterm_pin") \
[all …]
H A Dsock.h16 EM(AF_INET) \
21 EM(IPPROTO_TCP) \
22 EM(IPPROTO_SCTP) \
26 EM(TCP_ESTABLISHED) \
27 EM(TCP_SYN_SENT) \
28 EM(TCP_SYN_RECV) \
29 EM(TCP_FIN_WAIT1) \
30 EM(TCP_FIN_WAIT2) \
31 EM(TCP_TIME_WAIT) \
32 EM(TCP_CLOS
47 #define EM( global() macro
57 #define EM( global() macro
[all...]
H A Dtlb.h12 EM( TLB_FLUSH_ON_TASK_SWITCH, "flush on task switch" ) \
13 EM( TLB_REMOTE_SHOOTDOWN, "remote shootdown" ) \
14 EM( TLB_LOCAL_SHOOTDOWN, "local shootdown" ) \
15 EM( TLB_LOCAL_MM_SHOOTDOWN, "local mm shootdown" ) \
22 #undef EM
24 #define EM(a,b) TRACE_DEFINE_ENUM(a); macro
30 * Now redefine the EM() and EMe() macros to map the enums to the strings
33 #undef EM
35 #define EM(a,b) { a, b }, macro
/linux/fs/fuse/
H A Dfuse_trace.h11 EM( FUSE_LOOKUP, "FUSE_LOOKUP") \
12 EM( FUSE_FORGET, "FUSE_FORGET") \
13 EM( FUSE_GETATTR, "FUSE_GETATTR") \
14 EM( FUSE_SETATTR, "FUSE_SETATTR") \
15 EM( FUSE_READLINK, "FUSE_READLINK") \
16 EM( FUSE_SYMLINK, "FUSE_SYMLINK") \
17 EM( FUSE_MKNOD, "FUSE_MKNOD") \
18 EM( FUSE_MKDIR, "FUSE_MKDIR") \
19 EM( FUSE_UNLINK, "FUSE_UNLINK") \
20 EM( FUSE_RMDIR, "FUSE_RMDIR") \
[all …]
/linux/fs/btrfs/
H A Dextent_map.c47 struct extent_map *em; in btrfs_alloc_extent_map() local
48 em = kmem_cache_zalloc(extent_map_cache, GFP_NOFS); in btrfs_alloc_extent_map()
49 if (!em) in btrfs_alloc_extent_map()
51 RB_CLEAR_NODE(&em->rb_node); in btrfs_alloc_extent_map()
52 refcount_set(&em->refs, 1); in btrfs_alloc_extent_map()
53 INIT_LIST_HEAD(&em->list); in btrfs_alloc_extent_map()
54 return em; in btrfs_alloc_extent_map()
58 * Drop the reference out on @em by one and free the structure if the reference
61 void btrfs_free_extent_map(struct extent_map *em) in btrfs_free_extent_map() argument
63 if (!em) in btrfs_free_extent_map()
[all …]
H A Ddirect-io.c144 struct extent_map *em = NULL; in btrfs_create_dio_extent() local
148 em = btrfs_create_io_em(inode, start, file_extent, type); in btrfs_create_dio_extent()
149 if (IS_ERR(em)) in btrfs_create_dio_extent()
157 if (em) { in btrfs_create_dio_extent()
158 btrfs_free_extent_map(em); in btrfs_create_dio_extent()
162 em = ERR_CAST(ordered); in btrfs_create_dio_extent()
169 return em; in btrfs_create_dio_extent()
179 struct extent_map *em; in btrfs_new_extent_direct() local
203 em = btrfs_create_dio_extent(inode, dio_data, start, &file_extent, in btrfs_new_extent_direct()
206 if (IS_ERR(em)) in btrfs_new_extent_direct()
[all …]
H A Ddefrag.c602 * Return valid em if we find a file extent matching the requirement.
613 struct extent_map *em; in defrag_get_extent() local
618 em = btrfs_alloc_extent_map(); in defrag_get_extent()
619 if (!em) { in defrag_get_extent()
691 em->start = start; in defrag_get_extent()
692 em->disk_bytenr = EXTENT_MAP_HOLE; in defrag_get_extent()
693 em->disk_num_bytes = 0; in defrag_get_extent()
694 em->ram_bytes = 0; in defrag_get_extent()
695 em->offset = 0; in defrag_get_extent()
696 em->len = key.offset - start; in defrag_get_extent()
[all …]
/linux/Documentation/power/
H A Denergy-model.rst10 The Energy Model (EM) framework serves as an interface between drivers knowing
19 possible source of information on its own, the EM framework intervenes as an
24 Multiple subsystems might use the EM and it is up to the system integrator to
33 Kernel subsystems might implement automatic detection to check whether EM
34 registered devices have inconsistent scale (based on EM internal flag).
39 approach is applicable to any architecture) providing power costs to the EM
67 In case of CPU devices the EM framework manages power cost tables per
74 To better reflect power variation due to static power (leakage) the EM
76 RCU to free the modifiable EM perf_state table memory. Its user, the task
77 scheduler, also uses RCU to access this memory. The EM framework provides
[all …]
/linux/net/sched/
H A Dematch.c171 struct tcf_ematch *em, struct nlattr *nla, int idx) in tcf_em_validate() argument
202 em->data = ref; in tcf_em_validate()
212 em->ops = tcf_em_lookup(em_hdr->kind); in tcf_em_validate()
214 if (em->ops == NULL) { in tcf_em_validate()
220 em->ops = tcf_em_lookup(em_hdr->kind); in tcf_em_validate()
221 if (em->ops) { in tcf_em_validate()
226 module_put(em->ops->owner); in tcf_em_validate()
227 em->ops = NULL; in tcf_em_validate()
237 if (em->ops->datalen && data_len < em->ops->datalen) in tcf_em_validate()
240 if (em->ops->change) { in tcf_em_validate()
[all …]
H A Dem_ipset.c20 struct tcf_ematch *em) in em_ipset_change() argument
32 em->datalen = sizeof(*set); in em_ipset_change()
33 em->data = (unsigned long)kmemdup(data, em->datalen, GFP_KERNEL); in em_ipset_change()
34 if (em->data) in em_ipset_change()
41 static void em_ipset_destroy(struct tcf_ematch *em) in em_ipset_destroy() argument
43 const struct xt_set_info *set = (const void *) em->data; in em_ipset_destroy()
45 ip_set_nfnl_put(em->net, set->index); in em_ipset_destroy()
46 kfree((void *) em->data); in em_ipset_destroy()
50 static int em_ipset_match(struct sk_buff *skb, struct tcf_ematch *em, in em_ipset_match() argument
55 const struct xt_set_info *set = (const void *) em->data; in em_ipset_match()
[all …]
/linux/include/ras/
H A Dras_event.h353 EM ( MF_IGNORED, "Ignored" ) \
354 EM ( MF_FAILED, "Failed" ) \
355 EM ( MF_DELAYED, "Delayed" ) \
359 EM ( MF_MSG_KERNEL, "reserved kernel page" ) \
360 EM ( MF_MSG_KERNEL_HIGH_ORDER, "high-order kernel page" ) \
361 EM ( MF_MSG_HUGE, "huge page" ) \
362 EM ( MF_MSG_FREE_HUGE, "free huge page" ) \
363 EM ( MF_MSG_GET_HWPOISON, "get hwpoison page" ) \
364 EM ( MF_MSG_UNMAP_FAILED, "unmapping failed page" ) \
365 EM ( MF_MSG_DIRTY_SWAPCACHE, "dirty swapcache page" ) \
[all …]
/linux/kernel/power/
H A Denergy_model.c171 * em_table_free() - Handles safe free of the EM table when needed
172 * @table : EM table which is going to be freed
182 * em_table_alloc() - Allocate a new EM table
183 * @pd : EM performance domain for which this must be done
185 * Allocate a new EM table and initialize its kref to indicate that it
220 * boot time, but the EM will be updated a bit later with correct one. in em_init_performance()
247 dev_err(dev, "EM: invalid cost %lu %d\n", in em_compute_costs()
261 dev_dbg(dev, "EM: OPP:%lu is inefficient\n", in em_compute_costs()
272 * em_dev_compute_costs() - Calculate cost values for new runtime EM table
273 * @dev : Device for which the EM table is to be updated
[all …]
/linux/Documentation/sphinx/
H A Dkerneldoc-preamble.sty22 % Width of page number (\@pnumwidth): 1.55em -> 2.7em
23 % Width of chapter number: 1.5em -> 2.4em
24 % Indent of section number: 1.5em -> 2.4em
25 % Width of section number: 2.6em -> 3.2em
26 % Indent of subsection number: 4.1em -> 5.6em
27 % Width of subsection number: 3.5em -> 4.3em
34 \renewcommand*\@pnumwidth{2.7em}
39 \vskip 1.0em \@plus\p@
40 \setlength\@tempdima{2.4em}%
54 \renewcommand*\l@section{\@dottedtocline{1}{2.4em}{3.2em}}
[all …]
/linux/drivers/block/aoe/
H A Daoechr.c138 struct ErrMsg *em; in aoechr_error() local
146 em = emsgs + emsgs_tail_idx; in aoechr_error()
147 if ((em->flags & EMFL_VALID)) { in aoechr_error()
156 em->msg = mp; in aoechr_error()
157 em->flags |= EMFL_VALID; in aoechr_error()
158 em->len = n; in aoechr_error()
225 struct ErrMsg *em; in aoechr_read() local
236 em = emsgs + emsgs_head_idx; in aoechr_read()
237 if ((em->flags & EMFL_VALID) != 0) in aoechr_read()
258 if (em->len > cnt) { in aoechr_read()
[all …]

1234567